From 36a535b6a6628545ef76eb46fcf2cf515a65e7b9 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 23 Jun 2020 14:44:18 -0700 Subject: [PATCH] fixup: [Tests] `export`: skip `export * as` tests in eslint < 6 --- tests/src/rules/export.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/rules/export.js b/tests/src/rules/export.js index 43711ffae..f21da9b70 100644 --- a/tests/src/rules/export.js +++ b/tests/src/rules/export.js @@ -203,7 +203,7 @@ 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'; @@ -211,7 +211,7 @@ context('TypeScript', function () { `, parser: parser, }), - ])), + ]), ], invalid: [ // type/value name clash