From 326fb58aee4648523a88d94a60926e551dc56270 Mon Sep 17 00:00:00 2001 From: Michael Cousins Date: Thu, 6 Jun 2024 09:38:41 -0400 Subject: [PATCH] chore(deps): update vite-plugin-svelte to disable `hmr` in test (#378) --- package.json | 2 +- vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b67db89..a82fa78 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@sveltejs/vite-plugin-svelte": "^3.0.2", + "@sveltejs/vite-plugin-svelte": "^3.1.1", "@testing-library/jest-dom": "^6.3.0", "@testing-library/user-event": "^14.5.2", "@typescript-eslint/eslint-plugin": "7.8.0", diff --git a/vite.config.js b/vite.config.js index 293d426..b18c504 100644 --- a/vite.config.js +++ b/vite.config.js @@ -20,7 +20,7 @@ const alias = [ // https://vitejs.dev/config/ export default defineConfig({ - plugins: [svelte({ hot: false }), svelteTesting()], + plugins: [svelte(), svelteTesting()], test: { alias, environment: 'jsdom',