🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

mocha-quickfix-reporter

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-quickfix-reporter

mocha-quickfix-reporter =======================

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

mocha-quickfix-reporter

Use mocha test results in vim's quickfix.

Usage

To run tests and spawn vim with the quickfix list populated:

mocha --reporter mocha-quickfix-reporter ...standard args...

If there are no test failures, vim will not open.

Additional Options

APPLY_ONLIES

Setting the APPLY_ONLIES env var will change it( calls to it.only( for tests which failed.

Example:

APPLY_ONLIES=1 mocha --reporter mocha-quickfix-reporter ...standard args...

NO_VIM

Setting the NO_VIM env var will prevent VIM being launched when the tests finish.

Example:

NO_VIM=1 mocha --reporter mocha-quickfix-reporter ...standard args...

Development

To set up:

yarn

To dogfood this custom mocha reporter:

yarn test:quickfix

Keywords

mocha

FAQs

Package last updated on 23 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts