budibase/packages/server/src/automations
Rory Powell fba7ef26ad 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
..
logging Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
steps Some fixes after re-running server tests. 2022-11-28 18:14:10 +00:00
tests Server and Worker tests (#8928) 2022-12-12 22:02:32 +00:00
triggerInfo Fixes based on server build so far. 2022-11-26 15:10:41 +00:00
unitTests Server and Worker tests (#8928) 2022-12-12 22:02:32 +00:00
actions.ts Fixes based on server build so far. 2022-11-26 15:10:41 +00:00
automationUtils.ts Server and Worker tests (#8928) 2022-12-12 22:02:32 +00:00
bullboard.ts Automation overhaul to Typescript, plus type updates. 2022-11-25 19:57:07 +00:00
index.ts Automation overhaul to Typescript, plus type updates. 2022-11-25 19:57:07 +00:00
triggers.ts Automation overhaul to Typescript, plus type updates. 2022-11-25 19:57:07 +00:00
utils.ts Typescript conversions - trying to get all of context/db layer into TS. 2022-11-11 11:57:50 +00:00