Setup & Installation
npx skills add https://github.com/LambdaTest/agent-skills --skill jasmine-skill
https://github.com/LambdaTest/agent-skills/tree/main/jasmine-skill
View on GitHubWhat This Skill Does
Generates Jasmine test files for JavaScript and TypeScript projects. Covers BDD-style specs, spy creation, async patterns, and custom matchers out of the box.
Produces ready-to-run Jasmine specs with correct spy wiring and async handling instead of you copying boilerplate from the docs each time.
When to use it
- Writing BDD-style specs for a new JavaScript module from scratch
- Stubbing API calls with jasmine.createSpyObj in service tests
- Testing async functions with promise matchers and clock control
- Setting up Jasmine with TypeScript and spec reporters for CI pipelines
- Replacing ad-hoc console.log checks with structured Jasmine assertions