budibase/packages/server/__mocks__
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
..
@elastic Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
@google-cloud firebase tests complete 2022-04-28 22:59:25 +01:00
@sendgrid Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
mysql2 Updating test case to handle new promise library. 2022-03-03 23:50:46 +00:00
airtable.ts Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
arangojs.ts run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
aws-sdk.ts Fix issues with parallel tests and self/cloud modes 2023-01-26 18:20:21 +00:00
mongodb.ts Fix types 2022-10-03 19:10:01 +01:00
mssql.ts run prettier + lint over typescript files as well 2022-01-20 09:17:08 +01:00
mysql2.ts fix tests 2021-10-21 18:05:18 +01:00
node-fetch.ts Add force exit, -e flag and streaming to tests (#10151) 2023-03-31 10:32:13 +01:00
oracledb.ts Tests 2021-11-18 12:05:30 +00:00
pg.ts Fixing mock. 2022-05-20 18:08:48 +01:00