chore: fix module test (#4693)
This commit is contained in:
1 parent
8af55aed87
commit
1260b1a806
1 file changed
+3
@@ -5,7 +5,10 @@ import { ProductRepository } from "../__fixtures__/module"
|
|||||||
import { createProductAndTags } from "../__fixtures__/product"
|
import { createProductAndTags } from "../__fixtures__/product"
|
||||||
import { productsData } from "../__fixtures__/product/data"
|
import { productsData } from "../__fixtures__/product/data"
|
||||||
import { DB_URL, TestDatabase } from "../utils"
|
import { DB_URL, TestDatabase } from "../utils"
|
||||||
|
import { buildProductAndRelationsData } from "../__fixtures__/product/data/create-product"
|
||||||
|
|
||||||
import { IProductModuleService } from "@medusajs/types"
|
import { IProductModuleService } from "@medusajs/types"
|
||||||
|
import { kebabCase } from "@medusajs/utils"
|
||||||
|
|
||||||
const beforeEach_ = async () => {
|
const beforeEach_ = async () => {
|
||||||
await TestDatabase.setupDatabase()
|
await TestDatabase.setupDatabase()
|
||||||
|
|||||||
Reference in new issue
Block a user