This package provides helpers to run jest.
This package is based on Edmund Miller’s jest.el package, with significant fixes and changes that allow it to actually work in the repositories I need it in. Because this is a personal fork, I don’t really bother writing new tests and fixes are aimed toward Typescript primarily. Please log issues and open pull requests if you find any problems.
The main command is jest-popup, which will show a dispatcher menu, making it easy to change various options and switches, and then run jest using one of the actions.
- jest-file (current file)
- jest-test (the nearest
it
,test
ordescribe
to where the pointer is now) - jest-last-failed (rerun previous failures)
- jest-repeat (repeat last invocation)
Each of these commands (except jest-repeat) also has an inspection version, jest-file-inspect, etc. which enable Node inspect-brk mode.
A prefix argument causes the generated command line to be offered for editing, and various customization options influence how some of the commands work. information.