Skip to content

Commit 8e0c021

Browse files
committed
[Test] no-unused-modules add failing test case
1 parent 9b7a970 commit 8e0c021

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/src/rules/no-unused-modules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const unusedExportsOptions = [{
2222
// tests for missing exports
2323
ruleTester.run('no-unused-modules', rule, {
2424
valid: [
25+
test({ code: 'export default function noOptions() {}' }),
2526
test({ options: missingExportsOptions,
2627
code: 'export default () => 1'}),
2728
test({ options: missingExportsOptions,

0 commit comments

Comments
 (0)