Skip to content

Commit

Permalink
Merge pull request #197 from konecty/test/fix-tests
Browse files Browse the repository at this point in the history
test: fix tests
  • Loading branch information
7sete7 authored Dec 17, 2024
2 parents 2bf5e24 + 0c9bd61 commit 5cc6122
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions __test__/metadata/Product/updateProduct.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ describe('Update Product', () => {
ids: [
{
_id: product?._id,
_updatedAt: product?._updatedAt,
_updatedAt: {
$date: product?._updatedAt,
},
},
],
};
Expand Down Expand Up @@ -230,7 +232,9 @@ describe('Update Product', () => {
ids: [
{
_id: product?._id,
_updatedAt: new Date(product?._updatedAt as string),
_updatedAt: {
$date: new Date(product?._updatedAt as string),
},
},
],
};
Expand Down

0 comments on commit 5cc6122

Please sign in to comment.