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:
committed by
GitHub
parent
0fd9f27ca5
commit
4e5b318583
@@ -2,8 +2,6 @@ import { medusaIntegrationTestRunner } from "@medusajs/test-utils"
|
||||
|
||||
jest.setTimeout(100000)
|
||||
|
||||
process.env.ENABLE_INDEX_MODULE = "true"
|
||||
|
||||
medusaIntegrationTestRunner({
|
||||
testSuite: ({ getContainer, dbConnection, api, dbConfig }) => {
|
||||
let appContainer
|
||||
@@ -12,10 +10,6 @@ medusaIntegrationTestRunner({
|
||||
appContainer = getContainer()
|
||||
})
|
||||
|
||||
afterAll(() => {
|
||||
process.env.ENABLE_INDEX_MODULE = "false"
|
||||
})
|
||||
|
||||
describe("auto-generated CRUD methods", () => {
|
||||
it("should create brands", async () => {
|
||||
const brandModule = appContainer.resolve("brand")
|
||||
|
||||
@@ -188,7 +188,6 @@ module.exports = defineConfig({
|
||||
{
|
||||
key: "brand",
|
||||
resolve: "src/modules/brand",
|
||||
disable: process.env.ENABLE_INDEX_MODULE !== "true",
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user