auto-claude: subtask-5-1 - Run all tests and verify they pass
Fixed vitest.config.ts to remove incorrect test exclusions for src/hooks/** and src/services/** that were preventing proper test coverage. Removed unused React plugin configuration. All tests passing successfully. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
+3
-15
@@ -1,16 +1,8 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { resolve } from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
react({
|
||||
babel: {
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
}
|
||||
})
|
||||
],
|
||||
plugins: [],
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
@@ -23,9 +15,7 @@ export default defineConfig({
|
||||
'**/coverage/**',
|
||||
'**/*.bak/**',
|
||||
'**/src/components-vite/**',
|
||||
'**/src/pages-vite/**',
|
||||
'**/src/hooks/**',
|
||||
'**/src/services/**'
|
||||
'**/src/pages-vite/**'
|
||||
],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
@@ -37,9 +27,7 @@ export default defineConfig({
|
||||
'**/*.config.{js,ts}',
|
||||
'**/*.bak',
|
||||
'src/components-vite/**',
|
||||
'src/pages-vite/**',
|
||||
'src/hooks/**',
|
||||
'src/services/**'
|
||||
'src/pages-vite/**'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user