Skip to content

Commit

Permalink
Revert "[Tests] Assert error is reported on offending identifier"
Browse files Browse the repository at this point in the history
This reverts commit 1cbce97.
  • Loading branch information
Chamion committed Jul 26, 2023
1 parent 6c1eca9 commit c486801
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions tests/src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,27 +179,9 @@ ruleTester.run('no-unused-modules', rule, {
import s from './file-s'`,
filename: testFilePath('./no-unused-modules/file-0.js'),
errors: [
{
message: `exported declaration 'default' not used within other modules`,
line: 11,
column: 21,
endLine: 11,
endColumn: 28,
},
{
message: `exported declaration 'o0' not used within other modules`,
line: 11,
column: 30,
endLine: 11,
endColumn: 32,
},
{
message: `exported declaration 'o3' not used within other modules`,
line: 11,
column: 34,
endLine: 11,
endColumn: 36,
},
error(`exported declaration 'default' not used within other modules`),
error(`exported declaration 'o0' not used within other modules`),
error(`exported declaration 'o3' not used within other modules`),
error(`exported declaration 'p' not used within other modules`),
],
}),
Expand Down

0 comments on commit c486801

Please sign in to comment.