Skip to content

Commit b724db8

Browse files
committed
Fix old eslint tests
1 parent 86a87d3 commit b724db8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/src/rules/no-unused-modules.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ ruleTester.run('no-unused-modules', rule, {
230230

231231
describe('dynamic imports', () => {
232232
if (semver.satisfies(eslintPkg.version, '< 6')) {
233-
this.skip();
233+
beforeEach(function () {
234+
this.skip();
235+
});
234236
return;
235237
}
236238

0 commit comments

Comments
 (0)