Add jsdom and set environment to jsdom for future browser based testing
All checks were successful
JavaScriptUtilsVitest / ci-tests (push) Successful in 18s

This commit is contained in:
2025-03-10 20:05:26 +09:00
parent a629482a20
commit 0968085084
3 changed files with 752 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'jsdom',
include: [
'tests/**/*.{test,spec}.?(c|m)[jt]s?(x)'
],