budibase/packages/worker
Rory Powell 79bec7d86d Add force exit, -e flag and streaming to tests (#10151)
* 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>
2023-03-31 10:32:13 +01:00
..
.vscode
__mocks__ Fix worker tests 2023-01-27 17:59:14 +00:00
scripts Add force exit, -e flag and streaming to tests (#10151) 2023-03-31 10:32:13 +01:00
src Add force exit, -e flag and streaming to tests (#10151) 2023-03-31 10:32:13 +01:00
.dockerignore cherry pick new ui from develop 2022-06-30 12:52:07 +01:00
.gitignore Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
.yarnrc Updating dockerfile to be friendly to volume usage, as well as pre-filling with uuids rather than static secrets. 2022-07-08 18:33:07 +01:00
Dockerfile Updated default feature flags to include onboarding by default. Added tenant overrides to allow exclusion from global features 2023-02-01 14:12:43 +00:00
LICENSE
docker_run.sh updating worker script to run as sh 2022-05-27 12:22:55 +01:00
jest-testcontainers-config.js Remove redundant env from jestTestcontainersConfigGenerator 2023-02-01 11:49:25 +00:00
jest.config.ts Trying to measure coverage from backend-core from server/worker. 2023-02-27 17:07:52 +00:00
nodemon.json
package.json Update pro version to 2.4.42 2023-03-30 11:40:28 +00:00
pm2.config.js Fixing issue that refactoring file caused (some strings renamed to ts rather than js). 2022-09-22 15:18:10 +01:00
tsconfig.build.json Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
tsconfig.json Use swc option with ts-node (#9447) 2023-01-27 09:33:04 +00:00
yarn.lock Update pro version to 2.4.42 2023-03-30 11:40:28 +00:00