Commit d1ae7a2
fix: add setMyCommands mock to telegram tests; fix husky hook to restage formatted files
- telegram.test.ts: add setMyCommands vi.fn() to the mock bot api so connect() doesn't throw
- .husky/pre-commit: add 'git add -u' after format:fix so prettier-reformatted files are
included in the commit rather than left as unstaged changes (was causing CI format checks to fail)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1d55a21 commit d1ae7a2
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments