Frontend tests improvements (#13115)

Fix warnings and lower coverage by 0.1%
This commit is contained in:
Félix Malfait
2025-07-09 09:23:26 +02:00
committed by GitHub
parent 6057bdd389
commit 6ba6860e1c
29 changed files with 435 additions and 237 deletions

View File

@ -21,7 +21,7 @@ const jestConfig: JestConfigWithTsJest = {
// Prettier v3 should be supported in jest v30 https://github.com/jestjs/jest/releases/tag/v30.0.0-alpha.1
prettierPath: null,
silent: false,
verbose: true,
errorOnDeprecated: true,
moduleFileExtensions: ['js', 'json', 'ts'],
rootDir: '.',
testEnvironment: 'node',

View File

@ -4,6 +4,7 @@ const jestConfig = {
prettierPath: null,
// to enable logs, comment out the following line
silent: true,
errorOnDeprecated: true,
clearMocks: true,
displayName: 'twenty-server',
rootDir: './',