Coc Jest Save

Like VSCode-Jest, but for Vim

Project README

coc-inline-jest

Best Jest plugin for coc.nvim.

Screenshot of the tool

Features

  • Starts Jest automatically when you're in a root folder project with Jest installed.
  • Display failed test cases on gitter.
  • Highlights the errors next to the expect functions.
  • Navigate between list of failed test cases. (Using :CocList diagnostics)
  • 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:

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

Open Source Agenda is not affiliated with "Coc Jest" Project. README Source: khanghoang/coc-jest
Stars
51
Open Issues
21
Last Commit
1 year ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating