Skip to content

Commit

Permalink
Add test for flow type export (#835)
Browse files Browse the repository at this point in the history
This tests the bug reported in issue #758, which was actually already fixed in
PR #660.
  • Loading branch information
demands authored and benmosher committed May 18, 2017
1 parent bd0e5e3 commit 2cc9768
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 2cc9768

Please sign in to comment.