Skip to content

Commit 6128248

Browse files
committed
fix: lint
1 parent 1e9b745 commit 6128248

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

eslint.config.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export default defineConfig([
2626
languageOptions: {
2727
globals: {
2828
...globals.browser,
29+
...globals.jest,
30+
...globals.node,
2931
},
3032
parser: babelParser,
3133
sourceType: "module",
@@ -50,9 +52,4 @@ export default defineConfig([
5052
"max-len": 0,
5153
},
5254
},
53-
{
54-
env: {
55-
jest: true,
56-
}
57-
}
5855
]);

tests/setupTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const puppeteer = require('puppeteer');
2-
const { toExist } = require('./helpers');
2+
const { toExist } = require('./helpers.js');
33

44

55
let browser;

0 commit comments

Comments
 (0)