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 { defineConfig } from 'vitest/config';
|
||||||
import react from '@vitejs/plugin-react';
|
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [],
|
||||||
react({
|
|
||||||
babel: {
|
|
||||||
babelrc: false,
|
|
||||||
configFile: false,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
@@ -23,9 +15,7 @@ export default defineConfig({
|
|||||||
'**/coverage/**',
|
'**/coverage/**',
|
||||||
'**/*.bak/**',
|
'**/*.bak/**',
|
||||||
'**/src/components-vite/**',
|
'**/src/components-vite/**',
|
||||||
'**/src/pages-vite/**',
|
'**/src/pages-vite/**'
|
||||||
'**/src/hooks/**',
|
|
||||||
'**/src/services/**'
|
|
||||||
],
|
],
|
||||||
coverage: {
|
coverage: {
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
@@ -37,9 +27,7 @@ export default defineConfig({
|
|||||||
'**/*.config.{js,ts}',
|
'**/*.config.{js,ts}',
|
||||||
'**/*.bak',
|
'**/*.bak',
|
||||||
'src/components-vite/**',
|
'src/components-vite/**',
|
||||||
'src/pages-vite/**',
|
'src/pages-vite/**'
|
||||||
'src/hooks/**',
|
|
||||||
'src/services/**'
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user