Skip to content

Commit

Permalink
Fix old eslint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi authored and ljharb committed Aug 30, 2021
1 parent 3663a2b commit 3d8cc76
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 3d8cc76

Please sign in to comment.