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