From cc16beca20ef57fcbefdc10ed22914c7e1fa2766 Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Tue, 30 Apr 2024 11:24:51 +0200 Subject: [PATCH] disable rules --- .eslintrc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e202a32a5..94eed734c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -53,8 +53,14 @@ module.exports = { rules: { 'jest/no-mocks-import': 0, - // Might be fixed with "@testing-library/dom" v10 but it requires node 18 or above + // Act warning -> should be fixed with "@testing-library/dom" v10 but it requires node 18 or above 'testing-library/no-unnecessary-act': 0, + + // For testing View components which renders other components -> implementation tests ? + 'testing-library/no-container': 0, + + // Allows checking classes on containers -> could be fixed + 'testing-library/no-node-access': 0, }, }, ], -- GitLab