vitest-e2e-playwright-coverage

Community

Enforce 75% frontend test coverage with Vitest.

AuthorJaimeJunr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Frontend teams often struggle to maintain reliable test coverage across unit and end-to-end layers, leading to flaky tests and hidden regressions.

Core Features & Use Cases

  • Integrates Vitest unit tests with Playwright end-to-end tests to enforce a minimum coverage threshold.
  • Guides configuration for vitest.config.ts and playwright.config.ts, supports jsdom/happy-dom, and aligns with Testing Library usage to improve reliability.
  • Enables CI integration with coverage reporting (html, json-summary) and clear success/failure criteria.

Quick Start

Use Vitest and Playwright to run unit and end-to-end tests and enforce a minimum 75% test coverage across the codebase.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: vitest-e2e-playwright-coverage
Download link: https://github.com/JaimeJunr/context-mode/archive/main.zip#vitest-e2e-playwright-coverage

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.