1
0
Fork 0
mirror of synced 2024-07-08 07:46:10 +12:00
budibase/packages/backend-core
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
..
__mocks__ File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
scripts Add force exit, -e flag and streaming to tests (#10151) 2023-03-31 10:32:13 +01:00
src Merge pull request #9949 from Budibase/fix/blacklist 2023-03-20 10:33:11 +00:00
tests Add force exit, -e flag and streaming to tests (#10151) 2023-03-31 10:32:13 +01:00
.gitignore Merge develop 2022-09-28 08:56:45 +01:00
jest-testcontainers-config.js Remove redundant env from jestTestcontainersConfigGenerator 2023-02-01 11:49:25 +00:00
jest.config.ts Run CI steps in parallel (#9760) 2023-02-21 17:13:24 +00:00
LICENSE Changing directory. 2022-01-10 19:30:35 +00:00
package.json v2.4.42 2023-03-30 11:37:03 +00:00
plugins.ts Fix for budibase plugin skeleton, which utilises the old import style. 2022-12-12 12:31:32 +00:00
README.md Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
tsconfig.build.json Correlation id's and log context (#7232) 2023-01-11 20:39:33 +00:00
tsconfig.json Removing pro from backend-core. 2023-02-15 13:49:30 +00:00
yarn.lock Updating dependencies. 2023-03-02 19:30:24 +00:00

Budibase Core backend library

This library contains core functionality, like auth and security features which are shared between backend services.

Note about top level JS files

For the purposes of being able to do say require("@budibase/backend-core/permissions") we need to specify the exports at the top-level of the module.

For these files they should be limited to a single require of the file that should be exported and then a single module.exports = ... to export the file in commonJS.