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:
@@ -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"
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user