From 05d7c3cfb72d7122b106f00de3c0784ab99db08c Mon Sep 17 00:00:00 2001 From: Chamlai <31847168+VeiveHata@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:26:48 +0100 Subject: [PATCH] Error for prefer-screen-queries, no-render-in-lifecycle [THC-387] (#26) --- configs/generalTestFilesConfig.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/generalTestFilesConfig.cjs b/configs/generalTestFilesConfig.cjs index 9d73ef6..97815c2 100644 --- a/configs/generalTestFilesConfig.cjs +++ b/configs/generalTestFilesConfig.cjs @@ -5,8 +5,8 @@ module.exports = { files: TEST_FILES_PATTERNS, rules: { - 'testing-library/prefer-screen-queries': OFF, - 'testing-library/no-render-in-lifecycle': OFF, + 'testing-library/prefer-screen-queries': ERROR, + 'testing-library/no-render-in-lifecycle': ERROR, 'testing-library/no-node-access': OFF, 'testing-library/no-container': OFF, 'testing-library/prefer-presence-queries': OFF,