Skip to content

Commit

Permalink
[Tests] skip failing test on eslint < 6 + node < 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 19, 2021
1 parent 64423e9 commit fd85369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/rules/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ context('TypeScript', function () {
`,
}, parserConfig)),

test({
...(semver.satisfies(process.version, '< 8') && semver.satisfies(eslintPkg.version, '< 6') ? [] : test({
...parserConfig,
code: `
export * from './module';
Expand All @@ -256,7 +256,7 @@ context('TypeScript', function () {
...parserConfig.settings,
'import/extensions': ['.js', '.ts', '.jsx'],
},
}),
})),
],
invalid: [
// type/value name clash
Expand Down

0 comments on commit fd85369

Please sign in to comment.