Skip to content

tyewang/vimux-jest-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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 😉.

Requirements

  • vim
  • vimux (0.3.0 or greater)

Installation

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

Commands

  • RunJest - runs all the tests
  • RunJestOnBuffer - runs all the tests in the current file
  • RunJestFocused - runs the current test under the cursor

Notes

  • 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

Releases

No releases published

Packages

No packages published