chore: Cleanup medusa test utils (#7464)
* chore: Cleanup medusa test utils * update yarn * cleanup * fix key * cleanup * fixes * fixes * fixes * fixes * fix runners * fix bootstrap * naming * Improve runners options * Improve runners options * Improve runners options * cleanup * fix tests
This commit is contained in:
@@ -58,6 +58,8 @@ export async function initModules({
|
||||
|
||||
async function shutdown() {
|
||||
if (shouldDestroyConnectionAutomatically) {
|
||||
await medusaApp.onApplicationPrepareShutdown()
|
||||
|
||||
await promiseAll([
|
||||
(sharedPgConnection as any).context?.destroy(),
|
||||
(sharedPgConnection as any).destroy(),
|
||||
|
||||
Reference in New Issue
Block a user