-
Notifications
You must be signed in to change notification settings - Fork 406
zone is not defined ( Uncaught ReferenceError: Zone is not defined ) #776
Comments
@AnkitaChavan , any detail? |
This is my login.spec.ts
after ng test, It shows following error : Uncaught ReferenceError: Zone is not defined Please help. |
@AnkitaChavan , you can try add this line before
|
@AnkitaChavan , can you post your repo? maybe you didn't load zone.js to your polyfill |
@AnkitaChavan , yes, it seems you didn't load |
@JiaLiPassion ,Still receiving same error.. |
@AnkitaChavan , could you provide your repo? |
I had the same issue. It was because I had moved some of the files (such as karma.conf) to it's own folder. To fix, I updated the 'base' config property as follows... module.exports = function (config) { i.e. changed this from '' to '../' It was then able to locate the zone.js files. |
@DerekB20 , thank you for the information. |
No description provided.
The text was updated successfully, but these errors were encountered: