Commit 54c1018
authored
feat(test): add Vitest framework with 12 passing unit tests (#23)
- Install Vitest + Testing Library
- Add vitest.config.ts with jsdom environment
- Add test/setup.ts with React Testing Library
- Add calculations.test.ts: 12 tests for SMA/EMA/metrics
- Add barrel exports src/index.ts for cleaner imports1 parent bc254a6 commit 54c1018Copy full SHA for 54c1018
6 files changed
+1,262-20Lines changed: 1262 additions & 20 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- frontend
- src
- test
- utils
Expand file treeCollapse file tree
Open diff view settings
0 commit comments