fix: failing integration tests

This commit is contained in:
Sebastian Rindom
2021-10-15 19:14:44 +02:00
parent 1a37b27ca0
commit 9c72acda40
4 changed files with 28 additions and 11 deletions
@@ -19,12 +19,12 @@ Object {
"mid_code": null,
"options": Array [
Object {
"created_at": "2021-10-13T08:02:41.668Z",
"created_at": Any<String>,
"deleted_at": null,
"id": "test-variant-option",
"metadata": null,
"option_id": "test-option",
"updated_at": "2021-10-13T08:02:41.668Z",
"updated_at": Any<String>,
"value": "Default variant",
"variant_id": "test-variant",
},
@@ -75,12 +75,12 @@ Object {
"mid_code": null,
"options": Array [
Object {
"created_at": "2021-10-13T08:02:41.493Z",
"created_at": Any<String>,
"deleted_at": null,
"id": "test-variant-option",
"metadata": null,
"option_id": "test-option",
"updated_at": "2021-10-13T08:02:41.493Z",
"updated_at": Any<String>,
"value": "Default variant",
"variant_id": "test-variant",
},
@@ -65,6 +65,12 @@ describe("/store/variants", () => {
updated_at: expect.any(String),
weight: null,
width: null,
options: [
{
created_at: expect.any(String),
updated_at: expect.any(String),
},
],
prices: [
{
created_at: expect.any(String),
@@ -113,6 +119,12 @@ describe("/store/variants", () => {
updated_at: expect.any(String),
weight: null,
width: null,
options: [
{
created_at: expect.any(String),
updated_at: expect.any(String),
},
],
prices: [
{
created_at: expect.any(String),