Top "Zone.js" questions

A Zone is an execution context that persists across async tasks.

Karma + Jasmine: Cannot read property 'getComponentFromError'

I am following this tutorial: https://angular.io/guide/testing#component-test-scenarios for karma+jasmine unit testing. Here my code: import { …

angular unit-testing jasmine karma-runner zone.js
How to stop errors generated by zone.js in browser console?

Here is my code in the httpService.ts public HttpPost(url: string, data: any): Observable<Response> { let headers = …

angular typescript zone.js
Rejecting a promise throws "Uncaught (in promise)"

I'm using promises to handle to handle a modal dialog: resolved when the user press the OK button, rejected when …

javascript angular promise zone.js
Zones in angular

What are zones? How are angular ngZone differ from zone.js? When should they be used? Can someone help with …

angular zone.js
Testing | Cannot read property 'assertPresent' of undefined at resetFakeAsyncZone

I have a problem with karma v1.4. testing framework. All my unit tests are now failing with error Cannot read …

angular testing karma-runner zone.js