test-development

Test development. Use when adding or changing runtime Vitest coverage or Tstyche contracts for behavior, inference, assignability, or displayed public types.

Install
npx skills add 'https://github.com/Effect-TS/effect/tree/main/.agents/skills/test-development'
Download bundle ↓
main · 90695b0Scanned 2026-09-15

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗
View on GitHub
← Back to SKILL.md

Type Tests

Inspect nearby .tst.ts files and use their imports and assertion style. Use ordinary Tstyche assertions such as toBe for structural equality and choose a specific assertion for the inference or assignability contract under test.

Structural equality does not verify editor quick-info rendering. For internal aliases, unsimplified intersections, or other displayed-type regressions, read displayed-types.md.

Run targeted pnpm test-types <filename>; the root command covers every configured TypeScript version. For a regression fix, confirm the assertion fails against the pre-fix type. This branch is complete when the assertion proves the intended contract and the target passes.

Referenced from SKILL.md