Skip to content

Commit fd85369

Browse files
committed
[Tests] skip failing test on eslint < 6 + node < 8
1 parent 64423e9 commit fd85369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/rules/export.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ context('TypeScript', function () {
246246
`,
247247
}, parserConfig)),
248248

249-
test({
249+
...(semver.satisfies(process.version, '< 8') && semver.satisfies(eslintPkg.version, '< 6') ? [] : test({
250250
...parserConfig,
251251
code: `
252252
export * from './module';
@@ -256,7 +256,7 @@ context('TypeScript', function () {
256256
...parserConfig.settings,
257257
'import/extensions': ['.js', '.ts', '.jsx'],
258258
},
259-
}),
259+
})),
260260
],
261261
invalid: [
262262
// type/value name clash

0 commit comments

Comments
 (0)