chore(medusa,orchestration,link-modules,modules-sdk): internal services as modules (#4925)

This commit is contained in:
Carlos R. L. Rodrigues
2023-09-04 11:36:05 -03:00
committed by GitHub
parent 85fa90d9c6
commit a4906d0ac0
15 changed files with 348 additions and 110 deletions
@@ -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]) },
})
})
})