Skip to content

Commit

Permalink
[Test] no-unused-modules add failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 15, 2019
1 parent 9b7a970 commit 8e0c021
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const unusedExportsOptions = [{
// tests for missing exports
ruleTester.run('no-unused-modules', rule, {
valid: [
test({ code: 'export default function noOptions() {}' }),
test({ options: missingExportsOptions,
code: 'export default () => 1'}),
test({ options: missingExportsOptions,
Expand Down

0 comments on commit 8e0c021

Please sign in to comment.