Vimux plugin for running jest tests. Similar to vimux-ruby-test, vimux-nose-test, etc.
Honestly, this is basically vimux-nose-test with s/nose/jest
😉.
- vim
- vimux (0.3.0 or greater)
It's pathogen compliant, so just drop in your bundle directory. E.g.:
cd ~/.vim/bundle
git clone git@github.com:tyewang/vimux-jest-test.git
- RunJest - runs all the tests
- RunJestOnBuffer - runs all the tests in the current file
- RunJestFocused - runs the current test under the cursor
- This plugin does not run any tests that would not be normally run by jest, e.g.
test.skip
, etc - Because of limitations with jest, running focused tests may run multiple tests if they have the same name