@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
md 617 Bytes

Runtime Tests

  • Use it.effect for Effect-returning tests and regular it for pure synchronous tests.
  • it.effect and it.live provide and close a Scope; return scoped effects directly instead of wrapping the body in Effect.scoped.
  • Use assert from @effect/vitest, not Vitest's expect.
  • Use TestClock for time-dependent behavior.
  • Keep Effect.runSync out of unit tests; runnable documentation follows the root JSDoc validation rules.

Inspect nearby tests for imports and structure. This branch is complete when every changed behavior has focused coverage and its targeted test passes.