Skip to content

Commit

Permalink
configure ESLint for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Aug 25, 2023
1 parent 869eef7 commit 9b92550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

module.exports = {
plugins: ['jest'],
plugins: ['jest', 'jest-extended'],
env: {
'jest/globals': true,
},
Expand All @@ -24,7 +24,7 @@ module.exports = {
version: require('jest/package.json').version,
},
},
extends: ['plugin:jest/recommended', 'plugin:jest/style'],
extends: ['plugin:jest/recommended', 'plugin:jest/style', 'plugin:jest-extended/all'],
rules: {
/* The rule list: https://github.com/jest-community/eslint-plugin-jest#rules */
'jest/prefer-expect-resolves': 'warn',
Expand Down

0 comments on commit 9b92550

Please sign in to comment.