Skip to content

Instantly share code, notes, and snippets.

@uladkasach
Created July 27, 2021 10:37
Show Gist options
  • Save uladkasach/a225f60d1fa02036b8622b4a3339dd74 to your computer and use it in GitHub Desktop.
Save uladkasach/a225f60d1fa02036b8622b4a3339dd74 to your computer and use it in GitHub Desktop.
*.test.integration.ts -> *.integration.test.ts
for f in **/*.test.integration.ts; do mv -- "$f" "${f%.test.integration.ts}.integration.test.ts"; done
@uladkasach
Copy link
Author

for use with

  testMatch: ['**/*.test.ts', '!**/*.integration.test.ts'],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment