* Add force exit, -e flag and streaming to tests
* Temp remove script usage from worker tests
* Revert "Temp remove script usage from worker tests"
This reverts commit 5e0ed2e92d.
* Always fail test
* Ignore server test package from coverage report
* Unscope server only
* Run all server tests again
* Update backend core test script to fail when any command fails and force exit
* Don't try to require client in test
* Port memory limit fix from develop
* Remove always failing test and commented out block for client require
* Fixing some issues with test cases.
* Revert assertions in internalSearch.spec.js
---------
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
* Parallel CI
* Add build to integration test
* Add checkout to top of each run
* Revert branch update for ci job
* Experiment with --runInBand for CI
* Fix intermittent backend-core migration test failure
* Fix hanging worker redis connection
* Update naming from reset to newTenant
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error