Skip to content

Instantly share code, notes, and snippets.

@pyykkis
Last active December 15, 2015 10:09
Show Gist options
  • Select an option

  • Save pyykkis/5243608 to your computer and use it in GitHub Desktop.

Select an option

Save pyykkis/5243608 to your computer and use it in GitHub Desktop.
Test runner with James.js
var phantom = require('james-phantomjs'),
mocha = require('james-mocha'),
dotReporter = require('james-dot-reporter');
mocha(james.list('test/*Helper.js', 'test/*Spec.js'))
.transform(phantom)
.transform(dotReporter);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment