JSPM

mocha-css

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2005
  • Score
    100M100P100Q110115F
  • License MIT

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

Package Exports

  • mocha-css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mocha-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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" />