fix: make module test runner configurable (#6803)

* fix: make module test runner configurable

* Create blue-pumas-promise.md
This commit is contained in:
Sebastian Rindom authored and GitHub committed 2024-03-23 10:01:16 +01:00
1 parent 2ae8eaa779
commit 0168c819da
2 files changed
+7 -1

No files matched your search

@@ -39,7 +39,7 @@ export function moduleIntegrationTestRunner({
}) {
process.env.LOG_LEVEL = "error"
moduleModels = Object.values(require(`${process.cwd()}/src/models`))
moduleModels ??= Object.values(require(`${process.cwd()}/src/models`))
// migrationPath ??= process.cwd() + "/src/migrations/!(*.d).{js,ts,cjs}"
const tempName = parseInt(process.env.JEST_WORKER_ID || "1")