بنقرة واحدة
vitest-migration
Migrate a Jest test suite to Vitest — config, globals, and mock API differences.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Migrate a Jest test suite to Vitest — config, globals, and mock API differences.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Find the commit that introduced a regression automatically with git bisect run.
Configure Jest for a TypeScript project — ts-jest, module mapping, and coverage thresholds.
Diagnose a slow Postgres query and add the right index using EXPLAIN ANALYZE.
Test React components with Testing Library — render, query by role, and assert on user-visible behavior.
Fix TypeScript ES module import errors by adding .js extensions to relative imports.
Comprehensive guide for creating high-quality skills for Claude. Use when building a new skill, writing a SKILL.md, designing skill frontmatter, planning skill structure, debugging trigger issues, or reviewing an existing skill for improvements. Covers standalone skills, MCP-enhanced skills, and skill-tree programmatic skills.
| name | vitest-migration |
| description | Migrate a Jest test suite to Vitest — config, globals, and mock API differences. |
| version | 1.1.0 |
| tags | ["vitest","testing","migration"] |
| status | active |
vitest and create vitest.config.ts (reuse your Vite config if you have one).globals: true to keep describe/it/expect without imports.jest.fn() → vi.fn(), jest.mock() → vi.mock(), jest.spyOn → vi.spyOn.jest.config timers/fake-timers with vi.useFakeTimers().vitest run in CI; drop ts-jest once green.