fix: integration tests modules 2 (#6599)

Currently, if the v2 flag is not enabled it can lead to issues if the modules are part of the medusa config as they will get loaded anyway leading to issues if the migrations did not ran
This commit is contained in:
Adrien de Peretti
2024-03-06 14:26:42 +01:00
committed by GitHub
parent f0ef0a8784
commit 0c9018eddc
4 changed files with 214 additions and 173 deletions

View File

@@ -3,6 +3,7 @@ import { medusaIntegrationTestRunner } from "medusa-test-utils"
jest.setTimeout(30000)
medusaIntegrationTestRunner({
force_modules_migration: true,
testSuite: ({ dbConnection }) => {
describe("Standalone Modules", () => {
beforeAll(async () => {