Commit Graph

7 Commits

Author SHA1 Message Date
Rory Powell 744bb9690e Server flaky tests fixes - improving tenancy config 2023-02-23 13:43:27 +00:00
adrinr 2f74d62232 Improve automation tests 2023-02-03 17:49:21 +00:00
Adria Navarro Redo 48ee427178 Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
Rory Powell 0b2a445a9a
Replace ts-jest with swc/jest (#9289)
- 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
2023-01-11 09:37:37 +00:00
mike12345567 6f6d000cb8 Finally removing all usages of backend-core/ type imports from server, including some further typescript conversions. 2022-11-22 19:49:59 +00:00
Rory Powell 50e2d3c686 Test fixes 2022-04-26 15:26:56 +01:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00