mirror of
https://github.com/acedanger/finance.git
synced 2025-12-06 07:00:13 -08:00
feat: add testing infrastructure and improve component feedback
- Added React testing setup with JSDOM - Added component tests for AddTransactionForm and TransactionTable - Improved error handling and success messages in components - Updated test configuration and dependencies - Added CSS for error and success states
This commit is contained in:
@@ -13,11 +13,8 @@ export default defineConfig({
|
||||
}),
|
||||
integrations: [react()],
|
||||
vite: {
|
||||
resolve: {
|
||||
alias: {
|
||||
'react-dom/server': 'react-dom/server',
|
||||
'react-dom/server.browser': 'react-dom/server',
|
||||
},
|
||||
ssr: {
|
||||
noExternal: ['react-dom/server', 'react-dom/server.browser'],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user