Skip to content

Instantly share code, notes, and snippets.

@wojtekmaj
wojtekmaj / jest-to-vitest.sh
Last active March 27, 2025 15:05
Automatically migrate Jest project to Vitest
#!/bin/bash
# Ensure we're working on the latest version of the main branch
git switch main
git fetch
git pull
# Create a new branch
git switch -c vitest