/coc-jest

Like VSCode-Jest, but for Vim

Primary LanguageTypeScript

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.