From 9bc22de0ffd30e569afebb866b62fe8172f14cd2 Mon Sep 17 00:00:00 2001 From: Volha Chamlai Date: Tue, 26 Nov 2024 09:37:47 +0100 Subject: [PATCH] thc-387: error for prefer-screen-queries, no-render-in-lifecycle --- 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,