Skip to content

Commit

Permalink
fixup: [Tests] export: skip export * as tests in eslint < 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 23, 2020
1 parent 7ceae48 commit 36a535b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/rules/export.js
Expand Up @@ -203,15 +203,15 @@ context('TypeScript', function () {
filename: testFilePath('typescript-d-ts/file-2.ts'),
}, parserConfig)),

...(semver.satisfies(eslintPkg.version, '< 6' ? [] : [
...(semver.satisfies(eslintPkg.version, '< 6') ? [] : [
test({
code: `
export * as A from './named-export-collision/a';
export * as B from './named-export-collision/b';
`,
parser: parser,
}),
])),
]),
],
invalid: [
// type/value name clash
Expand Down

0 comments on commit 36a535b

Please sign in to comment.