Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mocha-css

posva391MIT1.0.1

A mocha stylesheet for the HTML reporter that let you append visual tests

css, tests, tdd, bdd, visual, test, mocha, mocha.css, mocha-css

readme

mocha-css

A mocha stylesheet for the HTML reporter that let you append visual tests

CircleCI npm license

mocha-css

In the screenshot below the h1 element doesn't have the original mocha.css style applied

Installation

NPM

npm install --save-dev mocha-css

Usage

Simply replace the mocha.css file you're importing with this one

Webpack

// es6
import 'mocha-css'
// commonjs
require('mocha-css')

CDN

<link href="https://unpkg.com/mocha-css" rel="stylesheet" />