The best way to control Claude Code, Codex and more from any computer or phone

main
md 13 lines 617 Bytes
Rendered Raw
1 # Runtime Tests
2
3 - Use `it.effect` for Effect-returning tests and regular `it` for pure
4 synchronous tests.
5 - `it.effect` and `it.live` provide and close a `Scope`; return scoped effects
6 directly instead of wrapping the body in `Effect.scoped`.
7 - Use `assert` from `@effect/vitest`, not Vitest's `expect`.
8 - Use `TestClock` for time-dependent behavior.
9 - Keep `Effect.runSync` out of unit tests; runnable documentation follows the
10 root JSDoc validation rules.
11
12 Inspect nearby tests for imports and structure. This branch is complete when
13 every changed behavior has focused coverage and its targeted test passes.