1
0
Fork 0
mirror of synced 2024-09-13 07:53:31 +12:00
budibase/packages/backend-core
Peter Clement 1d300c2577
Remove aws sdk global mock and update tests (#13637)
* Remove aws sdk global mock and update tests

* add awaits

* Minio healthcheck in tests.

* Bind to 127.0.0.1 instead of 0.0.0.0

* Fix port fetching for minio container.

* Actually fix port mapping this time.

* Pull minio container before running tests.

* Enable testcontainers debug logging.

* Promote minio container to always running in tests, like CouchDB.

* Remove testcontainers debug logging.

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
..
__mocks__ Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
scripts Making progress on getting the eslint-jest plugin working. 2024-03-19 10:46:59 +00:00
src Remove aws sdk global mock and update tests (#13637) 2024-05-08 14:08:34 +01:00
tests Remove aws sdk global mock and update tests (#13637) 2024-05-08 14:08:34 +01:00
.gitignore
.npmignore
jest.config.ts Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
LICENSE
package.json Cherry-pick 6b8422df01 2024-03-25 15:25:30 +00:00
README.md
tsconfig.build.json
tsconfig.json

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.