Skip to content

Commit 4e5b318

Browse files
authored
fix(): update Integration test enabling index when not necessary (medusajs#13904)
* fix(): update Integration test enabling index when not necessary * fix
1 parent 0fd9f27 commit 4e5b318

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

integration-tests/modules/__tests__/modules/crud.methods.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import { medusaIntegrationTestRunner } from "@medusajs/test-utils"
22

33
jest.setTimeout(100000)
44

5-
process.env.ENABLE_INDEX_MODULE = "true"
6-
75
medusaIntegrationTestRunner({
86
testSuite: ({ getContainer, dbConnection, api, dbConfig }) => {
97
let appContainer
@@ -12,10 +10,6 @@ medusaIntegrationTestRunner({
1210
appContainer = getContainer()
1311
})
1412

15-
afterAll(() => {
16-
process.env.ENABLE_INDEX_MODULE = "false"
17-
})
18-
1913
describe("auto-generated CRUD methods", () => {
2014
it("should create brands", async () => {
2115
const brandModule = appContainer.resolve("brand")

integration-tests/modules/medusa-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ module.exports = defineConfig({
188188
{
189189
key: "brand",
190190
resolve: "src/modules/brand",
191-
disable: process.env.ENABLE_INDEX_MODULE !== "true",
192191
},
193192
],
194193
})

0 commit comments

Comments
 (0)