Files
zeekayandHanzo Dev 0e551af5a0 test(id): unify on vitest — one runner, 12/12 files, 127 tests green (0.2.8)
The connect crypto/connector suites (bitcoin, ton, xrp, caip122, verify,
connectors — 6 files, 71 tests) imported `vitest` but vitest was never
installed and connect had no `test` script: they had never run. The auth /
shared / onboarding suites ran green under three separate per-package
`node --test --experimental-strip-types` scripts — a divergent second runner.

Decomplect to ONE runner:
- add vitest 3.2.7 (built for the repo's vite 7) as the sole test dep + root
  `vitest.config.ts` (include pkgs/**/src/**/*.test.ts, node env)
- root `test` = `vitest run`; drop the three per-package node:test scripts
- swap `import { test } from 'node:test'` -> `'vitest'` in the 6 node:test
  files; node:assert/strict assertions kept verbatim (real assertions, no
  rewrites)
- add pkgs/connect/tsconfig.json (matching siblings) so `pnpm tc` is green —
  connect had no tsconfig, so its typecheck errored out entirely

Result: `pnpm test` 12 files / 127 tests pass; `pnpm tc` green across all 6
projects.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-19 19:53:40 -07:00

10 lines
170 B
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "dist",
"noEmit": true
},
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
}