# inverse-dot

> A Mocha reporter made for people

Latest version **0.1.3** (published 2017-07-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install inverse-dot
pnpm add inverse-dot
yarn add inverse-dot
bun add inverse-dot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-07-05 |
| First published | 2017-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shaine Hatch |
| Maintainers | shaine |

## Links

- npm: https://www.npmjs.com/package/inverse-dot
- Repository: https://github.com/shaine/inverse-dot
- npm.io page: https://npm.io/package/inverse-dot

## Recent versions

- 0.1.3 (latest) — 2017-07-05
- 0.1.2 — 2017-07-05
- 0.1.1 — 2017-07-05
- 0.1.0 — 2017-07-05
- 0.0.1 — 2017-06-30

## README

# Inverse Dot Reporter for Mocha

## Features
- **Inverts the error printout** - if a unit test failure cascades across many
tests, it's unreasonable to have to scroll several pages up to see the originating
test. Reversing the ouput allows a user to read the first failure immediately
- **Remove lib stack trace** - It's not generally useful to see the stack trace
of other libs in a unit test failure, so those lines are filtered out.
- **Remove webpack cruft** - Removes webpack's contribution to the stack trace.

![inverse-dot-demo](https://user-images.githubusercontent.com/204734/27875667-53567a34-6171-11e7-8fb4-a04cf95462ca.png)

## Installation

```
$ yarn add inverse-dot --dev
```

## Usage

Use with Mocha like any other Mocha reporter.

```
$ mocha --reporter inverse-dot test.js
```

If using Karma, it is recommended that inverse-dot be used in conjunction with
`[karma-mocha-own-reporter](https://www.npmjs.com/package/karma-mocha-own-reporter)`.
This plugin cedes control of reporting back to Mocha rather than requiring a
separate Karma-specific reporting plugin. inverse-dot is built to handle Webpack/Karma
integration if run in this context.

---
_Source: https://npm.io/package/inverse-dot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
