Sha256: 35e51e0dd3e0de5a74a71e82d36c4f4c58a8aed8dcc3d067e55a7d8d8dd0bed1
Contents?: true
Size: 563 Bytes
Versions: 16
Compression:
Stored size: 563 Bytes
Contents
#!/usr/bin/env node var buildSuite = require('./buildSuite'), exec = require('child_process').exec, phantomJSBin = './node_modules/mocha-phantomjs/bin/mocha-phantomjs'; function runSpecs() { var suitePath = buildSuite(); exec(phantomJSBin + ' ' + suitePath, function (error, stdout, stderr) { logIfAnything(stdout); logIfAnything(stderr); if (error !== null) { console.error('Error running specs: ' + error); } }); } function logIfAnything(output) { if (('' + output) !== "") { console.log(output); } } runSpecs();
Version data entries
16 entries across 16 versions & 1 rubygems