Skip to content

Minimal Reproduction test app to show macroTask counts after failed http request

Notifications You must be signed in to change notification settings

wfairclough/AngularHttpMacroTaskMinimalReproduction

Repository files navigation

AngularHttpMacroTaskMinimalReproduction

Run npm install

Run with npx ng serve

Open Chrome Browser to http://localhost:4200

Reproduce Bug

  1. Click Button Make Successful Request and see successul response.
  2. Click Button Check Task Counts and see the open micro and macro task counts in the ngZone.
  3. Click Button Make Failed Request and see the error response.
  4. Click Button Check Task Counts again and notice that the macroTask count is now 1.
  5. Repeat failed requests as many times as you like and the marcroTask count will just keep increasing.

About

Minimal Reproduction test app to show macroTask counts after failed http request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published