Vitest migration
Version control and evolution for AI agent skills — versioned storage, dynamic serving/loadouts, multi-agent git sync, and cross-repo federation.
npx -y skills add alexngai/skill-tree --skill vitest-migrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Migrate a Jest test suite to Vitest — config, globals, and mock API differences.
SKILL.md
0.6 KB, as published. Nobody here has run it
Migrate Jest → Vitest
- Add
vitestand createvitest.config.ts(reuse your Vite config if you have one). - Enable
globals: trueto keepdescribe/it/expectwithout imports. - Swap
jest.fn()→vi.fn(),jest.mock()→vi.mock(),jest.spyOn→vi.spyOn. - Replace
jest.configtimers/fake-timers withvi.useFakeTimers(). - Run
vitest runin CI; dropts-jestonce green.