Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/khanghoang/coc-jest

Like VSCode-Jest, but for Vim
https://github.com/khanghoang/coc-jest

coc-nvim neovim vim-plugin

Last synced: about 1 month ago
JSON representation

Like VSCode-Jest, but for Vim

Awesome Lists containing this project

README

        

# coc-inline-jest

Best Jest plugin for [coc.nvim](https://github.com/khanghoang/coc.nvim).

Screenshot of the tool

## Features

* [x] Starts Jest automatically when you're in a root folder project with Jest installed.
* [x] Display failed test cases on gitter.
* [x] Highlights the errors next to the expect functions.
* [x] Navigate between list of failed test cases. (Using :CocList diagnostics)
* [x] Work with Create React App out-of-the-box.
* [ ] Customized icons.
* [ ] Display passed test cases on gitter.
* [ ] Zero configuration.
* [ ] A one button update for failed snapshots.
* [ ] Show coverage information in files being tested. (requires coverage to be collected by your jest config)

## Installation

In your vim/neovim, run the command:

```vim
:CocInstall coc-inline-jest
```

## Usage

- TBD

## Configuration

- `inlineJest.enabled`: Enable or disable the plugin, default is `true`.
- `inlineJest.pathToJest`: Path to Jest binary, default `./node_modules/.bin/jest`.
- `inlineJest.pathToConfig`: Path to Jest config file, default `./jest.config.js`.
- `inlineJest.pathToRoot`: Path to project root, default `./`.

## LICENSE

License what? Just kidding, it's MIT.