From 90587cb1635eb464667002155c7cfe4197398f34 Mon Sep 17 00:00:00 2001 From: Toni <2703233+toniengelhardt@users.noreply.github.com> Date: Tue, 21 Feb 2023 14:48:11 +0000 Subject: [PATCH] fix: set testing environment to jsdom --- vitest.config.mjs => vitest.config.ts | 1 + 1 file changed, 1 insertion(+) rename vitest.config.mjs => vitest.config.ts (88%) diff --git a/vitest.config.mjs b/vitest.config.ts similarity index 88% rename from vitest.config.mjs rename to vitest.config.ts index c0572ec..c72a738 100644 --- a/vitest.config.mjs +++ b/vitest.config.ts @@ -5,5 +5,6 @@ import { defineVitestConfig } from 'nuxt-vitest/config' export default defineVitestConfig({ define: { 'process.test': 'true', + environment: 'jsdom', }, })