From fd0e10c9365795c1b2949e1974847b2103a68519 Mon Sep 17 00:00:00 2001 From: Nick DeJesus Date: Wed, 29 Nov 2023 18:33:12 -0500 Subject: [PATCH] add timestamps to mock data --- use-shopping-cart/core/slice.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/use-shopping-cart/core/slice.test.js b/use-shopping-cart/core/slice.test.js index 02fab9f2..8065f130 100644 --- a/use-shopping-cart/core/slice.test.js +++ b/use-shopping-cart/core/slice.test.js @@ -27,6 +27,7 @@ function mockCartDetails(overrides1, overrides2) { formattedValue: '$8.00', price_data: {}, product_data: {}, + timestamp: new Date().toISOString(), ...overrides1 }, [`id_efg${counter}`]: { @@ -41,6 +42,7 @@ function mockCartDetails(overrides1, overrides2) { formattedValue: '$10.00', price_data: {}, product_data: {}, + timestamp: new Date().toISOString(), ...overrides2 } }