Testing Node TS

Write and validate Node/TypeScript tests (unit/integration/e2e) Use when this capability is needed.

tomevault-io 54ad101 2 files · 1.3 KB Updated

File contents

Testing Node/TS

Process

  1. Identify the behavior change (expected inputs/outputs).
  2. Choose the right level: unit vs integration vs e2e.
  3. Add edge cases and regression coverage.
  4. Run npm test and fix failures.

Notes

  • Prefer deterministic tests.
  • Avoid mocking internals unless necessary.

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/saikus08--opencode-workbench--testing-node-ts commit 54ad101fc6

Frequently asked questions

npx skillmds@latest add tomevault-io/testing-node-ts