@mihon/spacejam
Version:
Run your meteor package tinytests and mocha tests from the command line with phantomjs.
18 lines (11 loc) • 373 B
JavaScript
// Generated by CoffeeScript 1.8.0
(function() {
var page, system;
page = require('webpage').create();
system = require('system');
console.log("phantomjs: Running tests at " + system.env.ROOT_URL + " using test-in-velocity");
page.onConsoleMessage = function(message) {
return console.log(message);
};
page.open(system.env.ROOT_URL);
}).call(this);