Add jsdom lib for testing DOM related functionality

This commit is contained in:
Dmitriy Dubson
2023-10-08 11:19:20 -04:00
parent 05e2186882
commit 2779b4787c
3 changed files with 632 additions and 62 deletions

8
vite.config.ts Normal file
View File

@@ -0,0 +1,8 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite';
export default defineConfig({
test: {
environment: 'jsdom'
}
});