Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

scaffold-tests

Étoiles84
Forks3
Mis à jour7 mai 2026 à 07:03

Scaffold Vitest unit/integration tests for pracht routes, loaders, and middleware. Asks the user once whether to use vitest browser mode with `vitest-browser-preact` (real DOM, real events) or classic JSDOM-based tests with `@testing-library/preact`. Wires `vitest.config.ts`, mocks `LoaderArgs`, and emits ready-to-run files. Use when asked to "scaffold tests", "set up Vitest", "add unit tests", "test this loader", or "test this route".

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly