Integration test : Sync mode + db reset option + cleaning (#8376)

Run the CI integrationin sync mode
and add the option to run it without db reset
cleaning all the useless integration test

---------

Co-authored-by: guillim <guillaume@twenty.com>
This commit is contained in:
Guillim
2024-11-07 17:22:47 +01:00
committed by GitHub
parent ac233b771c
commit d9c0530dd3
27 changed files with 16 additions and 9524 deletions

View File

@ -14,6 +14,7 @@ const jestConfig: JestConfigWithTsJest = {
globalSetup: '<rootDir>/test/integration/utils/setup-test.ts',
globalTeardown: '<rootDir>/test/integration/utils/teardown-test.ts',
testTimeout: 15000,
maxWorkers: 1,
moduleNameMapper: {
...pathsToModuleNameMapper(tsConfig.compilerOptions.paths, {
prefix: '<rootDir>/../..',