Skip to content

Commit

Permalink
Fix old eslint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Aug 30, 2021
1 parent 86a87d3 commit b724db8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ ruleTester.run('no-unused-modules', rule, {

describe('dynamic imports', () => {
if (semver.satisfies(eslintPkg.version, '< 6')) {
this.skip();
beforeEach(function () {
this.skip();
});
return;
}

Expand Down

0 comments on commit b724db8

Please sign in to comment.