1.0.0 • Published 8 years ago
mocha-image-compiler v1.0.0
Mocha Image Compiler
Compiler for Mocha to allow for webpack-like importing of images, i.e
var image = require('../images/logo.png');
Install
npm install --save-dev mocha-image-compiler
Usage
mocha --compilers .:mocha-image-compiler
if using babel as well, you can specify multiple compilers
mocha --compilers js:babel/register,.:mocha-image-compiler
1.0.0
8 years ago