roginfarrer / neotest-jest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neotest-jest

This plugin provides a jest adapter for the Neotest framework. It is currently a work in progress. It will be transferred to the official neotest organisation (once it's been created).

Installation

Using packer:

use({
  'rcarriga/neotest',
  requires = {
    ...,
    'haydenmeade/neotest-jest',
  }
  config = function()
    require('neotest').setup({
      ...,
      adapters = {
        require('neotest-jest')({
          jestCommand = "npm test --"
        }),
      }
    })
  end
})

Usage

See neotest's documentation for more information on how to run tests.

Feature requests

Please do note that I do not intend to implement feature requests, this repo is an initial starting point for the nvim js/ts/jest community. Hopefully once it is more stable users will be able to contribute to the project_. For my own part I only intend to implement functionality that I use in daily workflow.

Bug Reports

Please file any bug reports and I might take a look if time permits otherwise please submit a PR, this plugin is intended to be by the community for the community.

About


Languages

Language:Lua 100.0%