feat: switch from jest to vitest

This commit is contained in:
Igor Klepacki 2025-08-04 15:18:06 +02:00
parent 8ae7083326
commit 22e3c1dc11
9 changed files with 1043 additions and 407 deletions

View file

@ -18,13 +18,13 @@
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"types": ["node", "jest", "@testing-library/jest-dom"],
"types": ["node", "vitest/globals", "@testing-library/jest-dom"],
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.mjs", "jest.config.js", ".next/types/**/*.ts", "eslint.config.mjs"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.mjs", "vitest.config.ts", ".next/types/**/*.ts", "eslint.config.mjs"],
"exclude": ["node_modules"]
}