1
mirror of https://github.com/jakejarvis/hoot.git synced 2025-10-18 14:24:26 -04:00

Update TypeScript configuration for Vitest and adjust Vitest settings

This commit is contained in:
2025-10-07 18:55:56 -04:00
parent c8173b4ff2
commit a937f095e8
2 changed files with 3 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
@@ -13,6 +14,7 @@
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"types": ["@testing-library/jest-dom", "vitest/globals"],
"plugins": [
{
"name": "next"

View File

@@ -9,6 +9,7 @@ export default defineConfig({
setupFiles: ["./vitest.setup.ts"],
css: true,
globals: true,
silent: "passed-only",
exclude: ["**/node_modules/**", "**/dist/**", "**/.next/**"],
coverage: {
provider: "v8",