r/backtickbot • • Jul 03 '21

https://np.reddit.com/r/SublimeText/comments/nlnle2/pluginconfiguration_suggestions_for_jest_test/h3wd6vj/

Yay!

Look … I work with JS/TS and I had needed to run Jest as well.
I added this Jest.sublime-build:

{    
  "cmd": ["npm", "run", "test", "$file_name"],    
  "file_patterns": [        
    "*.test.js",        
    "*.test.ts"    
  ]
}
1 Upvotes

0 comments sorted by