From 73d79002fe6018ab12457b37bdaeb76ff2800213 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 9 Nov 2025 15:23:49 -0500 Subject: Update (most) Node dependencies. The `jsdom` upgrade entails upgrading Node, as something changed internally to jsdom in how it imports other modules. Upgrading vitest caused the details of some of our test cases to change, but the semantics of the affected tests are the same. They also split resetting mocks from resetting mocks' behaviours, which required a small config change to preserve our tests' correctness. --- vite.config.js | 1 + 1 file changed, 1 insertion(+) (limited to 'vite.config.js') diff --git a/vite.config.js b/vite.config.js index a825b5c..643e78c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -10,6 +10,7 @@ export default defineConfig({ // If not all your files should have this environment, you can use a // `// @vitest-environment jsdom` comment at the top of the test files instead. environment: 'jsdom', + clearMocks: true, restoreMocks: true, coverage: { thresholds: { -- cgit v1.2.3