Feat(medusa-test-utils, utils, pricing, product, link-modules): upgrade mikro orm version to latest (#5985)
* update mikro-orm version * add changeset * update product tests * add optional number serializer util * upgrade cart mikro-orm versions * clean up test
This commit is contained in:
1 parent
925feea04a
commit
d16d10619d
15 files changed
+181
-131
No files matched your search
@@ -181,8 +181,10 @@ describe("Product module", function () {
|
||||
|
||||
it("should have a connection that is the shared connection", async () => {
|
||||
expect(
|
||||
(module as any).baseRepository_.manager_.getConnection().client
|
||||
).toEqual(sharedPgConnection)
|
||||
JSON.stringify(
|
||||
(module as any).baseRepository_.manager_.getConnection().client
|
||||
)
|
||||
).toEqual(JSON.stringify(sharedPgConnection))
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
+2
-2
@@ -265,8 +265,8 @@ describe("ProductModuleService products", function () {
|
||||
sku: createdVariant.sku,
|
||||
allow_backorder: false,
|
||||
manage_inventory: true,
|
||||
inventory_quantity: "100",
|
||||
variant_rank: "0",
|
||||
inventory_quantity: 100,
|
||||
variant_rank: 0,
|
||||
options: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
id: expect.any(String),
|
||||
|
||||
Reference in new issue
Block a user