Skip to content

Commit

Permalink
fix: assertNotInAngularZone should act as a noop (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt authored Apr 19, 2024
1 parent 3fc4fa6 commit 7e64123
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/single-spa-angular/src/single-spa-angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ async function bootstrap(options: BootstrappedSingleSpaAngularOptions): Promise<
// is being executed or under which application, making it difficult to assert whether this
// app is running under its zone.
options.NgZone.assertInAngularZone = () => {};
options.NgZone.assertNotInAngularZone = () => {};

options.routingEventListener = () => {
options.bootstrappedNgZone!.run(() => {
Expand Down

0 comments on commit 7e64123

Please sign in to comment.