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 4cb5f10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,10 @@ describe('parser ignores prefixes like BOM and hashbang', () => {
});
});

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

0 comments on commit 4cb5f10

Please sign in to comment.