Browse Source

Revert phantom test runner.

pull/519/head
Adi Roiban 7 years ago
parent
commit
6f16d2f99f
  1. 3
      tests/test.js

3
tests/test.js

@ -8,9 +8,8 @@ var server = connect().use(serveStatic(path.join(__dirname, '/..'))).listen(8071 @@ -8,9 +8,8 @@ var server = connect().use(serveStatic(path.join(__dirname, '/..'))).listen(8071
if (process.argv.indexOf('--phantomjs') !== -1) {
childProcess.spawn('node_modules/.bin/mocha-phantomjs', ['http://localhost:8071/tests/tests.html'], {
stdio: 'inherit'
}).on('exit', function(code) {
}).on('exit', function() {
server.close();
process.exit(code); // eslint-disable-line no-process-exit
});
} else {

Loading…
Cancel
Save