update testing instructions

This commit is contained in:
dakkar 2024-08-02 13:48:09 +01:00
parent 72758a2dbf
commit c0fc6ce8cd

View file

@ -611,10 +611,14 @@ seems to do a decent job)
after every change, re-build the frontend and check again, until
there are no more `ti-*` classes in the built files
* run tests `pnpm test` and fix as much as you can
* right now `megalodon` doesn't pass its tests, you probably need to
run `pnpm --filter=backend test` (requires a test database, [see
above](#testing)) and `pnpm --filter=frontend test`
commit!
* double-check the new migration, that they won't conflict with our db
changes: `git diff develop -- packages/backend/migration/`
* `pnpm clean; pnpm build`
* run tests `pnpm --filter='!megalodon' test` (requires a test
database, [see above](#testing)) and fix as much as you can
* right now `megalodon` doesn't pass its tests, so we skip them
* run lint `pnpm --filter=backend lint` + `pnpm --filter=frontend
eslint` and fix as much as you can