From 58b5b024af95325585359eafce5cf0f76808164b Mon Sep 17 00:00:00 2001 From: redbugz Date: Thu, 12 Dec 2019 02:26:26 -0700 Subject: [PATCH] fix tests broken while cleaning up code --- tests/files/re-export-common-star.js | 1 + tests/src/rules/named.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/files/re-export-common-star.js diff --git a/tests/files/re-export-common-star.js b/tests/files/re-export-common-star.js new file mode 100644 index 0000000000..89a3196b12 --- /dev/null +++ b/tests/files/re-export-common-star.js @@ -0,0 +1 @@ +export * from './common' diff --git a/tests/src/rules/named.js b/tests/src/rules/named.js index a911c84e57..e28fab7582 100644 --- a/tests/src/rules/named.js +++ b/tests/src/rules/named.js @@ -26,7 +26,7 @@ ruleTester.run('named', rule, { test({code: 'import { destructingRenamedAssign } from "./named-exports"'}), test({code: 'import { ActionTypes } from "./qc"'}), test({code: 'import {a, b, c, d} from "./re-export"'}), - test({code: 'import {a, b, c} from "./re-export-common"'}), + test({code: 'import {a, b, c} from "./re-export-common-star"'}), test({code: 'import {RuleTester} from "./re-export-node_modules"'}), test({ code: 'import { jsxFoo } from "./jsx/AnotherComponent"'