Add testing infrastructure with vitest (#67)

- Add vitest as dev dependency
- Add test scripts: `npm test` (watch) and `npm run test:run` (CI)
- Add initial unit tests for pure utility functions:
  - src/utils/phone.test.ts (10 tests)
  - src/utils/server.test.ts (10 tests)
  - src/channels/attachments.test.ts (6 tests)

All 26 tests passing.

Written by Cameron ◯ Letta Code
This commit is contained in:
Cameron
2026-02-01 22:38:25 -08:00
committed by GitHub
parent 67f0550bd3
commit f3e619cd7b
5 changed files with 1567 additions and 2 deletions

1431
package-lock.json generated

File diff suppressed because it is too large Load Diff