preboot/angular-webpack

run test doesn't work

Closed this issue · 2 comments

Just checkout the project and npm run test doesn't work. I got this error:

12 12 2016 12:30:47.353:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket /#Psyu-kt6O5gGB5g6AAAA with id 44234526
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  SyntaxError: Functions cannot be declared in a nested block in strict mode
  at webpack:///~/@angular/compiler/src/jit/compiler.js:265:0 <- karma-shim.js:42156

tyescript version: 2.0.6

It is that