From 2622f81204aa9d9921bf0ba75ab7e6bd4928ca0b Mon Sep 17 00:00:00 2001 From: stdavis Date: Wed, 30 Oct 2024 15:49:16 -0600 Subject: [PATCH] chore: use jsdom for tests --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 32c57b8..9138683 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,4 +5,7 @@ import { defineConfig } from 'vitest/config'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react(), loadVersion()], + test: { + environment: 'jsdom', + }, });