Fix 0.12 tests

This commit is contained in:
typicode
2016-10-12 23:14:53 +02:00
parent 20f8b93303
commit ad61997145
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ const middlewareFiles = {
function cli (args) {
const bin = path.join(__dirname, '../../src/cli/bin')
return cp.spawn('node', [bin, '-p', PORT].concat(args), {
return cp.spawn('babel-node', ['--', bin, '-p', PORT].concat(args), {
cwd: __dirname,
stdio: ['pipe', process.stdout, process.stderr]
})