Skip to content

cwebster2/mocha-runner.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Better docs Coming soon

Install with packer:

use {
  "cwebster2/mocha-runner.nvim",
  config = function() require("mocha-runner").setup(options) end,
}

Where options is a table that accepts the following keys

options = {
  mocha_args = "",
  mocha_bin = "mocha",
  pass_message = " ✓ Test Passed",
  fail_message = " Test Failed",
}

You can customize the look of the pass and fail messages with the highlight groups MochaRunnerSuccess and MochaRunnerFailure.

Using it

Run :MochaRunner in a buffer that has mocha tests in it, and it will run them and annotate their pass/fail status and update it on every write of that file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages