Skip to content

Commit cc5bde5

Browse files
Kent C. Doddsljharb
Kent C. Dodds
authored andcommitted
[Tests] named: add failing test for #1446
1 parent aff3a46 commit cc5bde5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/files/re-export-node_modules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from 'eslint'

tests/src/rules/named.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ruleTester.run('named', rule, {
2626
test({code: 'import { destructingRenamedAssign } from "./named-exports"'}),
2727
test({code: 'import { ActionTypes } from "./qc"'}),
2828
test({code: 'import {a, b, c, d} from "./re-export"'}),
29+
test({code: 'import {RuleTester} from "./re-export-node_modules"'}),
2930

3031
test({ code: 'import { jsxFoo } from "./jsx/AnotherComponent"'
3132
, settings: { 'import/resolve': { 'extensions': ['.js', '.jsx'] } } }),

0 commit comments

Comments
 (0)