diff --git a/tests/stores/allMapData.test.js b/tests/stores/allMapData.test.js index 6075680..bdab44c 100644 --- a/tests/stores/allMapData.test.js +++ b/tests/stores/allMapData.test.js @@ -237,7 +237,7 @@ describe("allMapDataStore", () => { { type: "date", min: originalDate, max: "2023-12-31T23:59:00Z" }, ]; // Access the getter once - store.filterAttrs; + const _accessed = store.filterAttrs; // The original state should still contain the ISO date, not a formatted string expect(store.allFilterAttrs[0].min).toBe(originalDate); }); diff --git a/tests/stores/conformance.test.js b/tests/stores/conformance.test.js index fbef69e..962281b 100644 --- a/tests/stores/conformance.test.js +++ b/tests/stores/conformance.test.js @@ -204,7 +204,7 @@ describe("conformanceStore", () => { attributes: [], }, ]; - store.cases; + const _accessed = store.cases; // Original state should still contain the ISO date expect(store.allCases[0].started_at).toBe(originalDate); });