Replace @testing-library/jest-dom with built-in vitest browser assertions

This commit is contained in:
Alejandro Celaya
2026-08-16 19:32:41 +02:00
parent ba73644871
commit 585d7c6f63
30 changed files with 305 additions and 429 deletions

View File

@@ -39,6 +39,9 @@ export default defineConfig({
// Vitest config
test: {
globals: true,
clearMocks: true,
// Run tests in an actual browser
browser: {
provider: playwright({
@@ -50,8 +53,6 @@ export default defineConfig({
screenshotFailures: false,
instances: [{ browser: 'chromium' }],
},
globals: true,
setupFiles: './config/test/setupTests.ts',
coverage: {
provider: 'v8',
reporter: ['text', 'text-summary', 'html', 'clover'],