Last active
October 24, 2025 16:27
-
-
Save danielrose7/fe1f578b5aa1c50be8aea4cc1c3717b9 to your computer and use it in GitHub Desktop.
alias to run jest test files in current git status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add to runs tests for both modified and untracked files ending in .test.ts extension | |
| alias jestdiff="git status --porcelain | grep -E '\.test\.ts$' | awk '{print \$2}' | xargs pnpm jest" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment