moar unit test !
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 6m9s
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 6m9s
This commit is contained in:
@@ -63,14 +63,21 @@ export default defineConfig({
|
||||
reportOnFailure: true, // This ensures the report generates even if tests fail
|
||||
include: ['src/**/*.{ts,tsx}'],
|
||||
// Refine exclusions to be more comprehensive
|
||||
// By excluding scripts, setup files, and type definitions, we get a more accurate
|
||||
// picture of the test coverage for the actual application logic.
|
||||
exclude: [
|
||||
'src/main.tsx',
|
||||
'src/index.tsx', // Application entry point
|
||||
'src/main.tsx', // A common alternative entry point name
|
||||
'src/types.ts',
|
||||
'src/tests/**', // Exclude all test setup and helper files
|
||||
'src/vitest.setup.ts', // Global test setup config
|
||||
'src/**/*.test.{ts,tsx}', // Exclude test files themselves
|
||||
'src/**/*.stories.{ts,tsx}', // Exclude Storybook stories
|
||||
'src/**/*.d.ts', // Exclude type definition files
|
||||
'src/components/icons/**', // Exclude icon components if they are simple wrappers
|
||||
'src/db/seed.ts', // Database seeding script
|
||||
'src/db/seed_admin_account.ts', // Database seeding script
|
||||
'src/db/backup_user.ts', // Database backup script
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user