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

@ -16,10 +16,18 @@
"options": {
"cwd": "packages/twenty-server",
"commands": [
"NODE_ENV=test nx database:reset > reset-logs.log && NODE_ENV=test nx jest --config ./jest-integration.config.ts"
"NODE_ENV=test nx jest --config ./jest-integration.config.ts"
]
},
"parallel": false
"parallel": false,
"configurations": {
"with-db-reset": {
"cwd": "packages/twenty-server",
"commands": [
"NODE_ENV=test nx database:reset > reset-logs.log && NODE_ENV=test nx jest --config ./jest-integration.config.ts"
]
}
}
},
"build:packageJson": {
"executor": "@nx/js:tsc",