fix(): update Integration test enabling index when not necessary (#13904)

* fix(): update Integration test enabling index when not necessary

* fix
This commit is contained in:
Adrien de Peretti
2025-10-31 15:51:26 +01:00
committed by GitHub
parent 0fd9f27ca5
commit 4e5b318583
2 changed files with 0 additions and 7 deletions

View File

@@ -2,8 +2,6 @@ import { medusaIntegrationTestRunner } from "@medusajs/test-utils"
jest.setTimeout(100000) jest.setTimeout(100000)
process.env.ENABLE_INDEX_MODULE = "true"
medusaIntegrationTestRunner({ medusaIntegrationTestRunner({
testSuite: ({ getContainer, dbConnection, api, dbConfig }) => { testSuite: ({ getContainer, dbConnection, api, dbConfig }) => {
let appContainer let appContainer
@@ -12,10 +10,6 @@ medusaIntegrationTestRunner({
appContainer = getContainer() appContainer = getContainer()
}) })
afterAll(() => {
process.env.ENABLE_INDEX_MODULE = "false"
})
describe("auto-generated CRUD methods", () => { describe("auto-generated CRUD methods", () => {
it("should create brands", async () => { it("should create brands", async () => {
const brandModule = appContainer.resolve("brand") const brandModule = appContainer.resolve("brand")

View File

@@ -188,7 +188,6 @@ module.exports = defineConfig({
{ {
key: "brand", key: "brand",
resolve: "src/modules/brand", resolve: "src/modules/brand",
disable: process.env.ENABLE_INDEX_MODULE !== "true",
}, },
], ],
}) })