Testing Typescript

Use when writing tests for TypeScript or JavaScript code in frameworks such as Jest, Vitest, Bun, etc.

LandonSchropp Updated 1 repo stars

File contents

Read:

  • Better Tests
  • Personal Preferences

Framework-Specific Conventions

After reading the references above, invoke the skill matching the project's test framework.

How to detect Skill to invoke
Imports from bun:test, or a bunfig.toml / bun.lock ls-typescript:testing-bun

Renderer-Specific Conventions

These apply on top of the framework skill above, based on what you're testing.

What you're testing Skill to invoke
A React hook ls-typescript:testing-react
An Ink (terminal UI) component ls-typescript:testing-ink

LandonSchropp/agent-toolkit/tree/main/plugins/ls-typescript/skills/testing-typescript commit b0c15810df

Frequently asked questions

npx skillmds@latest add landonschropp/testing-typescript