test(upgrade): fix flaky tests (#44597)
test(upgrade): fix flaky tests (#44597)

Fixes a couple of tests that have been flaking our test runs. The two tests actually failed consistently when run in isolation, but they passed if at least one test ran before them. My understanding was that they failed, because they were running outside of the `NgZone` which meant that the errors being thrown inside of a `Promise` weren't being flushed.

PR Close #44597

manekinekko/angular,angular/angular,JiaLiPassion/angular,gkalpak/angular,manekinekko/angular,gkalpak/angular,ocombe/angular,gnomeontherun/angular,shairez/angular,angular/angular,gkalpak/angular,manekinekko/angular,JiaLiPassion/angular,manekinekko/angular,angular-indonesia/angular,shairez/angular,gnomeontherun/angular,angular/angular,manekinekko/angular,shairez/angular,angular/angular,JiaLiPassion/angular,angular-indonesia/angular,ocombe/angular,ocombe/angular,ocombe/angular,angular-indonesia/angular,manekinekko/angular,ocombe/angular,ocombe/angular,angular-indonesia/angular,gnomeontherun/angular,gnomeontherun/angular,gkalpak/angular,shairez/angular,shairez/angular,JiaLiPassion/angular