chore: move v2 api behind ff (#6213)

This commit is contained in:
Sebastian Rindom
2024-01-25 14:39:22 +00:00
committed by GitHub
parent 4c4c0f655b
commit 4ad761788b
31 changed files with 78 additions and 41 deletions
@@ -7,6 +7,8 @@ import { getContainer } from "../../../../environment-helpers/use-container"
import { initDb, useDb } from "../../../../environment-helpers/use-db"
import adminSeeder from "../../../../helpers/admin-seeder"
jest.setTimeout(50000)
const env = { MEDUSA_FF_MEDUSA_V2: true }
const adminHeaders = {
headers: { "x-medusa-access-token": "test_token" },