test: configure Vitest testing framework

- Add vitest, @testing-library/react, @vitest/ui, jsdom dependencies
- Create vitest.config.ts with jsdom environment and coverage settings
- Add tests/setup.ts with localStorage mock and crypto mock
- Add tests/gateway/ws-client.test.ts for GatewayClient unit tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-12 00:48:58 +08:00
parent b8a83b5a26
commit 1d831fb286
5 changed files with 1400 additions and 3 deletions

1187
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff