Skip to content

Commit

Permalink
Satisfy eslint warnings about jest
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Oct 3, 2023
1 parent bf644be commit 09587ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ module.exports = {
"env": {
"browser": true,
"jquery": true,
"es6": true
"es6": true,
"jest/globals": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
}
},
"plugins": [
"jest"
]
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"babel-loader": "^9.1.2",
"css-loader": "^6.7.3",
"eslint": "^8.38.0",
"eslint-plugin-jest": "^27.4.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.5",
Expand Down

0 comments on commit 09587ff

Please sign in to comment.