chore(compiler): Run compiler_cli tests in new CI.

Also update docs/peer deps, display errors from running jasmine, use the right location of cjs-jasmine
This commit is contained in:
Alex Eagle
2016-05-02 15:52:47 -06:00
parent ba62fe974b
commit de978229b2
5 changed files with 11 additions and 11 deletions

View File

@ -105,7 +105,7 @@ function runJasmineTests(globs, done) {
var fork = require('child_process').fork;
var args = ['--'].concat(globs);
fork('./tools/cjs-jasmine', args, {stdio: 'inherit'})
fork('./dist/tools/cjs-jasmine', args, {stdio: 'inherit'})
.on('close', function jasmineCloseHandler(exitCode) {
if (exitCode && treatTestErrorsAsFatal) {
var err = new Error('Jasmine tests failed');
@ -1068,7 +1068,7 @@ gulp.task('!test.compiler_cli.codegen', function(done) {
require('./dist/tools/compiler_cli/main')
.main("tools/compiler_cli/test")
.then(done)
.catch(function(rej) { done(new Error(rej)); });
.catch(function(rej) { done(rej); });
} catch (err) {
done(err);
}