Commit 61a6d97
test: add unit tests with vitest
- Add vitest configuration
- Add tests for types (Zod schemas validation)
- Add tests for inputs (parsing and validation)
- Add tests for utils (lock file detection)
- Update CI workflow to run unit tests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 8e6f2e1 commit 61a6d97
7 files changed
Lines changed: 1289 additions & 2 deletions
File tree
- .github/workflows
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
0 commit comments