Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Testing Typescript?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/landonschropp-testing-typescript)
---
name: testing-typescript
description: Use when writing tests for TypeScript or JavaScript code in frameworks such as Jest, Vitest, Bun, etc.
---
Read:
- [Better Tests](references/better-tests.md)
- [Personal Preferences](references/personal-preferences.md)
## 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` |