Skip to content

rexk/mocha-mix-jsdom-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocha-mix-jsdom-3

mocha-mix plugin to enable global window and document objects for server-side testing. This plugin particularly uses jsdom@3.x, so that it can be run on node versions like 0.12.x, 0.10.x, ...and so on.

Usage

npm install mocha-mix mocha-mix-jsdom-3 --save-dev
var MochaMix = require('mocha-mix');
var JsdomPlugin = require('mocha-mix-jsom');

MochaMix.use(JsdomPlugin());

// or

JsdomPlugin();

About

mocha-mix plugin for jsdom@3

Resources

Stars

Watchers

Forks

Packages

No packages published