angularjs-unit-testing

Automate AngularJS unit testing with Jasmine and Jest templates.

13|1|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/greedychipmunk/agent-skills --skill angularjs-unit-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angularjs-unit-testing
Source: https://github.com/greedychipmunk/agent-skills/tree/main/angularjs-unit-test
Command: npx skills add https://github.com/greedychipmunk/agent-skills --skill angularjs-unit-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a ready-to-use framework and resources for testing AngularJS applications with Jasmine and Jest, reducing setup time and improving test quality.

Core Features & Use Cases

  • Dual-framework guidance for Jasmine (Karma) and Jest workflows with dual templates and best practices.
  • Pre-built templates for common AngularJS components (controllers, services, directives, filters) to accelerate test creation.
  • Resource references including testing patterns, HTTP mocking, and Jest migration guides to support maintenance and upgrades.
  • Automation scripts and a copy-paste friendly structure to streamline test execution and CI integration.
  • Use cases: writing unit tests for controllers, services, and directives in existing AngularJS projects; migrating tests to Jest; adding coverage and testing patterns.

Quick Start

  • Read the skill overview in skill.md, pick a framework (Jasmine or Jest), and start with the templates in templates/ or the references in resources/

Frequently Asked Questions about angularjs-unit-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write unit tests for AngularJS controllers and services?

AngularJS unit testing for controllers and services relies on pre-built Jasmine and Jest templates that provide copy-paste friendly structures for mocking dependencies and validating component behavior.

What is the best way to migrate AngularJS unit tests from Karma to Jest?

Migrating AngularJS unit tests from Karma to Jest is streamlined using included reference guides and Jest-specific templates, which provide testing patterns and configuration references for the transition.

Does this support HTTP mocking for AngularJS directives and filters?

Yes, HTTP mocking for AngularJS directives and filters is supported through included resource references and pre-built templates, covering HTTP interactions and testing patterns for real projects.

Can I generate test coverage reports for AngularJS with Jest?

Yes, you can generate test coverage reports for AngularJS with Jest using the provided automation scripts, which streamline test execution and coverage generation for continuous integration workflows.

Jasmine vs Jest for AngularJS unit testing: which workflow should I choose?

Choosing between Jasmine and Jest for AngularJS unit testing depends on your project needs; this provides dual-framework guidance with templates and best practices for both Karma and Jest workflows.