Refactor IdMap test helper to medusa-test-utils package
This commit is contained in:
1 parent
edce88c34b
commit
a912b81426
18 files changed
+2529
-11
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import IdMap from "../../helpers/id-map"
|
||||
import { IdMap } from "medusa-test-utils"
|
||||
|
||||
export const carts = {
|
||||
emptyCart: {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import IdMap from "../../helpers/id-map"
|
||||
import { IdMap } from "medusa-test-utils"
|
||||
|
||||
export const ProductVariantModelMock = {
|
||||
create: jest.fn().mockReturnValue(Promise.resolve()),
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import IdMap from "../../helpers/id-map"
|
||||
import { IdMap } from "medusa-test-utils"
|
||||
|
||||
export const ProductModelMock = {
|
||||
create: jest.fn().mockReturnValue(Promise.resolve()),
|
||||
|
||||
Reference in new issue
Block a user