Skip to content

Commit

Permalink
[Tests] no-unused-modules: enable flat config test
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Jul 27, 2023
1 parent df53572 commit a2c841d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ describe('parser ignores prefixes like BOM and hashbang', () => {
});
});

describe('supports flat eslint', { skip: !FlatRuleTester }, () => {
(FlatRuleTester ? describe : describe.skip)('supports flat eslint', () => {
const flatRuleTester = new FlatRuleTester();
flatRuleTester.run('no-unused-modules', rule, {
valid: [{
Expand Down

0 comments on commit a2c841d

Please sign in to comment.