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:
Adrien de Peretti
2024-05-27 14:14:32 +02:00
committed by GitHub
parent ab2e8fcd45
commit e275e01d85
19 changed files with 172 additions and 412 deletions
@@ -5,14 +5,13 @@ import { medusaIntegrationTestRunner } from "medusa-test-utils/dist"
jest.setTimeout(5000000)
medusaIntegrationTestRunner({
force_modules_migration: true,
testSuite: ({ dbConnection, getContainer }) => {
testSuite: ({ getContainer, dbConfig: { clientUrl } }) => {
let DB_URL
let container
let links
beforeAll(async () => {
DB_URL = dbConnection.manager.connection.options.url
DB_URL = clientUrl
container = getContainer()
const linkDefinition: ModuleJoinerConfig[] = [