-
Notifications
You must be signed in to change notification settings - Fork 408
Error: Missing: SyncTestZoneSpec #407
Comments
regression to v.0.6.12 is ok but v.0.6.14 give me this to. |
0.6.13 was also ok. I'm getting the same error with 0.6.14. We are using angular2-webapack-starter |
I have the same problem. 0.6.13 is OK, 0.6.14 throws the error when running karma tests. Steps to reproduce: git clone https://github.com/angular/quickstart.git
cd quickstart
npm install
npm test The problem seems to have been introduced with PR #402. @jelbourn even comments the corresponding lines in the PR. |
Due to unlikely errors like angular/zone.js#407 raised by minor version differences.
This appears to be the same problem (i.e. duplicate), you are right. Having to update the imports is a breaking change, though. But I guess as zone.js still major version 0, this is semver compliant. OK. |
Also having problem with Angular 2 RC6, I found this problem when trying to unit test under karma and jasmine ? |
@HeavenlyHost have a look at #404 |
had to change my code to fro rc6:
|
Adding the following testing.TestBed.initTestEnvironment( helped... I think the confusing part is that I think others are using webpack where as I am still using system :-( Also can I just say that for my testing I am using... Karma: 1.2.0 is there somewhere on the web that provides a descent example of how to build a test environment using these tools with Angular 2 rc6 ? |
awesome! Managed to get mine working with webpack and RC6 by using the following config taken from the angular2-webpack-starter project |
@monkeychops solutions works great for me. |
@monkeychops also worked for me |
I got this error again in |
tests are failing webpack:///~/zone.js/dist/jasmine-patch.js:66:0
The text was updated successfully, but these errors were encountered: