Skip to content

Commit

Permalink
Add test for flow type export
Browse files Browse the repository at this point in the history
This tests the bug reported in issue import-js#758, which was actually already fixed in
PR import-js#660.
  • Loading branch information
Max Edmands committed May 17, 2017
1 parent bd0e5e3 commit b4dcd43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/rules/no-mutable-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ ruleTester.run('no-mutable-exports', rule, {
parser: 'babel-eslint',
code: 'export Something from "./something";',
}),
test({
parser: 'babel-eslint',
code: 'type Foo = {}\nexport type {Foo}',
}),
],
invalid: [
test({
Expand Down

0 comments on commit b4dcd43

Please sign in to comment.