week-7: add jest global to eslint config
This commit is contained in:
@@ -23,6 +23,7 @@ module.exports = [
|
||||
files: ["**/*.test.js"],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
jest: "readonly",
|
||||
describe: "readonly",
|
||||
it: "readonly",
|
||||
expect: "readonly",
|
||||
@@ -33,4 +34,4 @@ module.exports = [
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user