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

@ -30,8 +30,10 @@ npx nx run twenty-server:lint # pass --fix to fix lint errors
### Test
```
npx nx run twenty-server:test:unit
npx nx run twenty-server:test:unit # run unit tests
npx nx run twenty-server:test:integration # run integration tests
```
Note : you can run `npx nx run twenty-server:test:integration:with-db-reset` in case you need to reset the database before running the integration tests.
### Resetting the database