Add frontend unit tests

- Set up Vitest with React Testing Library
- Add comprehensive tests for Button and ListPane components
- Configure TypeScript for test environment
- Add test type declarations

Co-Authored-By: ashwin@anthropic.com <ashwin@anthropic.com>
This commit is contained in:
Devin AI
2025-01-16 19:24:51 +00:00
parent 98e6f0e5ec
commit ce7f65b5be
9 changed files with 165 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
"paths": {
"@/*": ["./src/*"]
},
"types": ["vitest/globals", "@testing-library/jest-dom"],
"target": "ES2020",
"useDefineForClassFields": true,
@@ -26,5 +27,5 @@
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true
},
"include": ["src"]
"include": ["src", "test"]
}