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:
GitHub Copilot
2025-05-05 17:41:39 +00:00
parent d3855aa7e4
commit 7e5ed585f7
19 changed files with 1299 additions and 1096 deletions

View File

@@ -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'],
},
},
});