diff --git a/.eslintrc.js b/.eslintrc.js index 08b5558a0..2965aabf7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -24,6 +24,12 @@ module.exports = { assertFunctionNames: ['expect', 'request.**.expect'], }, ], + 'jest/no-standalone-expect': [ + 'error', + { + additionalTestBlockFunctions: ['afterEach', 'beforeAll'], + }, + ], }, }, ],