An open API service indexing awesome lists of open source software.

https://github.com/thornjad/emacs-jest

A package to run jest inside emacs
https://github.com/thornjad/emacs-jest

emacs emacs-package jest testing

Last synced: about 1 month ago
JSON representation

A package to run jest inside emacs

Awesome Lists containing this project

README

          

#+TITLE: jest.el

This package provides helpers to run jest.

This package is based on [[https://github.com/edmundmiller/emacs-jest][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

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

---

Found this useful? [Buy me a coffee!](https://buymeacoffee.com/jademichaelthornton)