Add testing frameworks

This commit is contained in:
2026-01-11 12:06:06 +01:00
parent 36a16bf87b
commit 7302b8c1ba
6 changed files with 335 additions and 27 deletions

View File

@ -1,7 +1,12 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"target": "ES2022",
"lib": [
"ES2023",
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -19,8 +24,15 @@
}
],
"paths": {
"@/*": ["./src/*"]
}
"@/*": [
"./src/*"
]
},
"types": [
"vitest/globals",
"@testing-library/jest-dom",
"node"
]
},
"include": [
"next-env.d.ts",
@ -30,5 +42,8 @@
".next/dev/types/**/*.ts",
"**/*.mts"
],
"exclude": ["node_modules"]
}
"exclude": [
"node_modules",
"tests/e2e/**"
]
}