chore(medusa,orchestration,link-modules,modules-sdk): internal services as modules (#4925)
This commit is contained in:
committed by
GitHub
parent
85fa90d9c6
commit
a4906d0ac0
@@ -317,13 +317,13 @@ describe("RemoteJoiner", () => {
|
||||
|
||||
expect(serviceMock.productService).toHaveBeenCalledTimes(2)
|
||||
expect(serviceMock.productService).toHaveBeenNthCalledWith(1, {
|
||||
fields: ["name", "id"],
|
||||
options: { id: expect.arrayContaining([103, 102]) },
|
||||
})
|
||||
|
||||
expect(serviceMock.productService).toHaveBeenNthCalledWith(2, {
|
||||
fields: ["handler", "id"],
|
||||
options: { id: expect.arrayContaining([101, 103]) },
|
||||
})
|
||||
|
||||
expect(serviceMock.productService).toHaveBeenNthCalledWith(2, {
|
||||
fields: ["name", "id"],
|
||||
options: { id: expect.arrayContaining([103, 102]) },
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user