Skip to content

Commit

Permalink
add failing test for #1446
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Aug 7, 2019
1 parent 35a12f9 commit 1e62911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/files/re-export-node_modules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'eslint'
1 change: 1 addition & 0 deletions tests/src/rules/named.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +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 {RuleTester} from "./re-export-node_modules"'}),

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

0 comments on commit 1e62911

Please sign in to comment.