From dd2d01bea36ecb97140039371a4991aa965e7b6e Mon Sep 17 00:00:00 2001 From: mmarkelov Date: Fri, 7 Aug 2020 14:33:22 +0300 Subject: [PATCH] Add rules for helper functions --- index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/index.js b/index.js index 377a5fc..6ffca16 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,18 @@ module.exports = { 'shared-node-browser': true, jest: true, }, + rules: { + 'jest/no-standalone-expect': [ + 'error', + { 'additionalTestBlockFunctions': + ['test.jestPlaywrightDebug', + 'it.jestPlaywrightDebug', + 'test.jestPlaywrightSkip', + 'it.jestPlaywrightSkip', + 'test.jestPlaywrightConfig', + 'it.jestPlaywrightConfig'] + } + ]}, globals: { browserName: true, deviceName: true,