Skip to content

thornjad/emacs-jest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jest.el

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.

Overview

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 or describe 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.

About

A package to run jest inside emacs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project