A multi-line reporter for mocha
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
index.js
license
package.json
readme.md

readme.md

multiline-reporter

A multi-line reporter for mocha, based on the dot-reporter from mocha.

The purpose of this reporter is to make error-messages containing significant whitespace more readable.

If given a string such as Expected "abc\ndefgh\ni" to equal "abc\ndefgh\nij", it will print something like this:

Expected | abc   | to equal | abc   |
         | defgh |          | defgh |
         | i     |          | ij    |