LogoClawIndex
CasesSkillsAbout
LogoClawIndex

vitest-migration - Migrate Nx package tests from Jest to Vitest

Migrates an Nx package’s unit tests from Jest to Vitest 4 using the repository’s shared setup, source resolver, and package-specific configuration.

Tags

Updated: 2026-11-06
NxVitestJestunit testingtest migrationTypeScript

Capabilities

Survey Jest configurationRecord baseline test resultsCreate Vitest configurationReuse shared Vitest setup

Typical Inputs

Nx repositoryPackage nameJest configuration

Typical Outputs

Vitest configuration fileMigrated unit testsMigration notes file

What this skill does

  • Survey Jest configuration
  • Record baseline test results
  • Create Vitest configuration
  • Reuse shared Vitest setup
  • Adapt module resolution
  • Handle native bindings
  • Migrate Jest test APIs
  • Run parity tests

Inputs

  • Nx repository
  • Package name
  • Jest configuration
  • Package source tests
  • Shared Vitest files

Outputs

  • Vitest configuration file
  • Migrated unit tests
  • Migration notes file
  • Removed Jest configuration
  • Test results

Requirements

  • Nx workspace
  • Vitest 4
  • @nx/vitest plugin
  • pnpm and Nx commands
  • Repository file access

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.