Skip to content

Instantly share code, notes, and snippets.

@JustenRickert
Created August 27, 2019 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JustenRickert/a212aa5c309e55ad7bfff08f7b554edb to your computer and use it in GitHub Desktop.
Save JustenRickert/a212aa5c309e55ad7bfff08f7b554edb to your computer and use it in GitHub Desktop.
module.exports = {
'*.js': absolutePaths => {
return `jest ${absolutePaths.map(filename => filename.slice(0, -3) + '.test.js').join(' ')}`
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment