mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-10-17 03:04:08 +00:00
Replace @testing-library/jest-dom with built-in vitest browser assertions
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user