Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Vitest

Skill Verifiziert Aktiv

Vitest - Modern TypeScript testing framework with Vite-native performance, ESM support, and TypeScript-first design

Zweck

To equip users with the knowledge and examples needed to effectively set up and utilize Vitest for fast, TypeScript-first testing in modern JavaScript/TypeScript projects.

Funktionen

  • Vitest setup and configuration
  • TypeScript-first testing patterns
  • Mocking and spying with vi
  • React and Vue component testing integration
  • Async testing and promise handling
  • Snapshot testing capabilities
  • Coverage reporting with v8
  • Migration guide from Jest
  • Advanced testing patterns (concurrent, context, custom matchers)

Anwendungsfälle

  • Testing TypeScript/JavaScript projects with Vitest
  • Setting up Vitest for React and Vue component testing
  • Migrating existing Jest test suites to Vitest
  • Implementing fast and efficient unit and integration tests
  • Configuring code coverage reports

Nicht-Ziele

  • Providing a testing framework itself
  • Replacing Vitest with direct CLI commands
  • Covering every possible edge case of every JavaScript/TypeScript library

Trust

  • info:Issues AttentionOpen issues: 4, Closed issues (last 90d): 0. The closure rate is 0%, and the number of open issues is relatively low, suggesting maintenance is active but issues may not be addressed quickly.

Installation

npx skills add bobmatnyc/claude-mpm-skills

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
97 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit29 days ago
Sterne44
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Vue Testing Best Practices

100

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Skill
hyf0

Setup Tailwind Typescript

100

Configure Tailwind CSS with TypeScript in a Next.js or React project. Covers installation, configuration, custom theme extensions, component patterns, and type-safe styling utilities. Use when adding Tailwind CSS to an existing TypeScript project, customizing the Tailwind theme for a project's design system, setting up type-safe component styling patterns, or configuring Tailwind plugins and extensions.

Skill
pjt222

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

Skill
getsentry

Testing Clickup Cli

100

Führen Sie Tests für clickup-cli aus und verwalten Sie diese. Umfasst Unit-Tests, E2E-Tests gegen einen echten ClickUp-Workspace und die Einrichtung von Testdaten. Verwenden Sie dies beim Ausführen von Tests, Hinzufügen von Testabdeckung, Debuggen von Testfehlern oder Einrichten von Test-Fixtures.

Skill
krodak

Playwright Best Practices

100

Verwenden Sie dies beim Schreiben von Playwright-Tests, Beheben von flackernden Tests, Debuggen von Fehlern, Implementieren des Page Object Model, Konfigurieren von CI/CD, Optimieren der Leistung, Mocken von APIs, Verwalten von Authentifizierung oder OAuth, Testen der Barrierefreiheit (axe-core), Hoch- und Herunterladen von Dateien, Mocken von Datums-/Uhrzeitangaben, WebSockets, Geolokalisierung, Berechtigungen, Multi-Tab-/Popup-Flows, mobilen/responsiven Layouts, Touch-Gesten, GraphQL, Fehlerbehandlung, Offline-Modus, Multi-User-Kollaboration, Drittanbieterdiensten (Zahlungen, E-Mail-Verifizierung), Überwachung von Konsolenfehlern, globalem Setup/Teardown, Testannotationen (skip, fixme, slow), Test-Tags (@smoke, @fast, @critical, Filterung mit --grep), Projekt­abhängigkeiten, Sicherheitstests (XSS, CSRF, Auth), Leistungsbudgets (Web Vitals, Lighthouse), iFrames, Komponententests, Canvas/WebGL, Service Workers/PWA, Testabdeckung, i18n/Lokalisierung, Electron-Apps oder Tests für Browser­erweiterungen. Deckt E2E-, Komponenten-, API-, visuelle, Barrierefreiheits-, Sicherheits-, Electron- und Erweiterungstests ab.

Skill
currents-dev

Senior Backend Engineer

100

Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.

Skill
alirezarezvani