umbraco-msw-testing

Official

Mock Umbraco APIs for robust testing.

Authorumbraco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables efficient and reliable testing of Umbraco backoffice extensions by allowing you to mock API responses, isolating your tests from backend dependencies and enabling the simulation of various network conditions and error states.

Core Features & Use Cases

  • API Mocking: Intercept and mock HTTP requests made by your Umbraco extension.
  • State Simulation: Test loading spinners, error messages, and edge cases without a live Umbraco instance.
  • Use Case: You are developing a new content editing component that fetches data from a Umbraco API. Use this Skill to mock the API response, ensuring your component displays data correctly and handles potential network errors gracefully, all before deploying to a live Umbraco environment.

Quick Start

Use the umbraco-msw-testing skill to set up Mock Service Worker handlers for your Umbraco extension's API calls.

Dependency Matrix

Required Modules

@open-wc/testing@web/test-runnermsw

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: umbraco-msw-testing
Download link: https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills/archive/main.zip#umbraco-msw-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.