unit tests fixin
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 36s

This commit is contained in:
2025-11-22 00:30:11 -08:00
parent a4c19ce864
commit ca792048d0
3 changed files with 19 additions and 18 deletions

View File

@@ -29,8 +29,13 @@ export default defineConfig({
environment: 'jsdom',
globalSetup: './src/tests/setup/global-setup.ts',
setupFiles: ['./src/vitest.setup.ts'],
// Exclude integration tests, which are handled by a separate project.
exclude: ['**/*.integration.test.ts', '**/node_modules/**'],
// Exclude integration tests and other non-test files from the unit test runner.
exclude: [
'**/node_modules/**',
'**/dist/**',
'**/*.integration.test.ts',
'**/*.e2e.test.ts'
],
coverage: {
provider: 'v8',
reporter: ['text', 'html'],