test(upgrade): remove `setTimeout` from lifecycle hook tests  (#13027)
test(upgrade): remove `setTimeout` from lifecycle hook tests  (#13027)

* test(upgrade): remove unnecessary NO_ERRORS_SCHEMA

* test(upgrade): remove `setTimeout` from lifecycle hook tests

Closes #13019

kara/angular,asnowwolf/angular,petebacondarwin/angular,angularbrasil/angular,snaptech/angular,kegluneq/angular,petebacondarwin/angular,mdegoo/angular,kwalrath/angular,StephenFluin/angular,shairez/angular,kylecordes/angular,cironunes/angular,SaltyDH/angular,IdeaBlade/angular,ValtoFrameworks/Angular-2,kegluneq/angular,vikerman/angular,Brocco/angular,Mathou54/angular,mprobst/angular,petebacondarwin/angular,trshafer/angular,kylecordes/angular,vamsivarikuti/angular,JiaLiPassion/angular,kwalrath/angular,Toxicable/angular,chuckjaz/angular,ValtoFrameworks/Angular-2,ocombe/angular,juleskremer/angular,vsavkin/angular,not-for-me/angular,Mathou54/angular,vicb/angular,ValtoFrameworks/Angular-2,chalin/angular,LucasSloan/angular,brandonroberts/angular,SaltyDH/angular,jesperronn/angular,mhevery/angular,heathkit/angular,sarunint/angular,gdi2290/angular,LucasSloan/angular,itamark/angular,NathanWalker/angular,ValtoFrameworks/Angular-2,rjamet/angular,itamark/angular,sarunint/angular,juristr/angular,mgol/angular,chuckjaz/angular,royling/angular,tolemac/angular,kegluneq/angular,dejour/angular,dtoroshin/n2oDoc,vandres/angular,pk-karthik/framework-js-angular,smartm0use/angular,gjungb/angular,vandres/angular,jonrimmer/angular,tolemac/angular,chrisse27/angular,IgorMinar/angular,chuckjaz/angular,souvikbasu/angular,trshafer/angular,blesh/angular,kegluneq/angular,ultrasonicsoft/angular,gdi2290/angular,vicb/angular,dsebastien/angular,robwormald/angular,kwalrath/angular,angular-indonesia/angular,mlaval/angular,angular-indonesia/angular,not-for-me/angular,wKoza/angular,jesperronn/angular,mdegoo/angular,meeroslav/angular,mdegoo/angular,IgorMinar/angular,heathkit/angular,blesh/angular,Mathou54/angular,rkirov/angular,matsko/angular,sarunint/angular,mprobst/angular,manekinekko/angular,jasonaden/angular,alexeagle/angular,juristr/angular,ghetolay/angular,mdegoo/angular,brandonroberts/angular,rkirov/angular,ollie314/angular,gkalpak/angular,cironunes/angular,blesh/angular,mikeybyker/angular,robwormald/angular,mgol/angular,cexbrayat/angular,jonrimmer/angular,vsavkin/angular,matsko/angular,e-hein/angular,dtoroshin/n2oDoc,filipesilva/angular,Toxicable/angular,jasonaden/angular,gnomeontherun/angular,xcaliber-tech/angular,ultrasonicsoft/angular,manekinekko/angular,LucasSloan/angular,mgol/angular,ocombe/angular,panuruj/angular,ultrasonicsoft/angular,mzgol/angular,xcaliber-tech/angular,wKoza/angular,ghetolay/angular,mgechev/angular,juleskremer/angular,xcaliber-tech/angular,Brocco/angular,Mathou54/angular,kegluneq/angular,mdegoo/angular,jonrimmer/angular,mgechev/angular,robwormald/angular,blesh/angular,diestrin/angular,hansl/angular,mlaval/angular,jesperronn/angular,wKoza/angular,mikeybyker/angular,asnowwolf/angular,kwalrath/angular,sarunint/angular,alxhub/angular,graveto/angular,ghetolay/angular,angularbrasil/angular,filipesilva/angular,brandonroberts/angular,mprobst/angular,vikerman/angular,chrisse27/angular,angularbrasil/angular,ollie314/angular,vikerman/angular,vikerman/angular,vandres/angular,diestrin/angular,juristr/angular,gnomeontherun/angular,ollie314/angular,StephenFluin/angular,nosovk/angular,vandres/angular,hansl/angular,aboveyou00/angular,manekinekko/angular,dtoroshin/n2oDoc,vicb/angular,e-hein/angular,jonrimmer/angular,IdeaBlade/angular,robwormald/angular,kara/angular,mhevery/angular,Toxicable/angular,graveto/angular,angularbrasil/angular,mgol/angular,souvikbasu/angular,hansl/angular,alxhub/angular,kylecordes/angular,cironunes/angular,JSMike/angular,jasonaden/angular,dejour/angular,kwalrath/angular,JSMike/angular,IdeaBlade/angular,Brocco/angular,meeroslav/angular,heathkit/angular,xcaliber-tech/angular,mprobst/angular,IdeaBlade/angular,mgechev/angular,mikeybyker/angular,alxhub/angular,vamsivarikuti/angular,pkozlowski-opensource/angular,chuckjaz/angular,NathanWalker/angular,jesperronn/angular,StephenFluin/angular,gkalpak/angular,snaptech/angular,ocombe/angular,brandonroberts/angular,dejour/angular,tolemac/angular,hansl/angular,asnowwolf/angular,manekinekko/angular,cexbrayat/angular,royling/angular,JSMike/angular,sjtrimble/angular,nosovk/angular,sarunint/angular,cironunes/angular,alxhub/angular,chrisse27/angular,e-hein/angular,vsavkin/angular,vamsivarikuti/angular,gjungb/angular,diestrin/angular,smartm0use/angular,asnowwolf/angular,trshafer/angular,graveto/angular,juleskremer/angular,ultrasonicsoft/angular,jasonaden/angular,ValtoFrameworks/Angular-2,jasonaden/angular,dsebastien/angular,mprobst/angular,shairez/angular,chuckjaz/angular,pk-karthik/framework-js-angular,pk-karthik/framework-js-angular,kylecordes/angular,jasonaden/angular,NathanWalker/angular,mgiambalvo/angular,mgiambalvo/angular,aboveyou00/angular,tbosch/angular,ollie314/angular,ultrasonicsoft/angular,SaltyDH/angular,vicb/angular,gnomeontherun/angular,pkozlowski-opensource/angular,panuruj/angular,mprobst/angular,shairez/angular,pk-karthik/framework-js-angular,IgorMinar/angular,e-hein/angular,gdi2290/angular,manekinekko/angular,kara/angular,alexeagle/angular,cironunes/angular,graveto/angular,mgiambalvo/angular,vsavkin/angular,rjamet/angular,LucasSloan/angular,angular/angular,diestrin/angular,mzgol/angular,rjamet/angular,gjungb/angular,snaptech/angular,mgechev/angular,panuruj/angular,meeroslav/angular,angularbrasil/angular,Brocco/angular,e-hein/angular,gkalpak/angular,kara/angular,graveto/angular,dtoroshin/n2oDoc,dejour/angular,souvikbasu/angular,heathkit/angular,smartm0use/angular,Toxicable/angular,matsko/angular,ocombe/angular,StephenFluin/angular,dsebastien/angular,Brocco/angular,petebacondarwin/angular,JSMike/angular,royling/angular,aboveyou00/angular,filipesilva/angular,gkalpak/angular,chalin/angular,mhevery/angular,mdegoo/angular,Brocco/angular,tbosch/angular,wKoza/angular,StephenFluin/angular,dejour/angular,shairez/angular,rjamet/angular,IgorMinar/angular,chalin/angular,gdi2290/angular,gdi2290/angular,mlaval/angular,angular/angular,pkozlowski-opensource/angular,brandonroberts/angular,JiaLiPassion/angular,gdi2290/angular,angular/angular,mlaval/angular,robwormald/angular,cironunes/angular,IdeaBlade/angular,souvikbasu/angular,IgorMinar/angular,kara/angular,vamsivarikuti/angular,cexbrayat/angular,mzgol/angular,gjungb/angular,aboveyou00/angular,mgol/angular,chalin/angular,mikeybyker/angular,ocombe/angular,dsebastien/angular,angular/angular,itamark/angular,petebacondarwin/angular,cexbrayat/angular,royling/angular,itamark/angular,juleskremer/angular,trshafer/angular,tbosch/angular,cexbrayat/angular,kylecordes/angular,tolemac/angular,mlaval/angular,alexeagle/angular,LucasSloan/angular,JiaLiPassion/angular,smartm0use/angular,juristr/angular,mgiambalvo/angular,LucasSloan/angular,aboveyou00/angular,gnomeontherun/angular,meeroslav/angular,ghetolay/angular,JSMike/angular,souvikbasu/angular,chrisse27/angular,not-for-me/angular,NathanWalker/angular,snaptech/angular,heathkit/angular,ultrasonicsoft/angular,tbosch/angular,vsavkin/angular,Mathou54/angular,panuruj/angular,wKoza/angular,shairez/angular,vicb/angular,kylecordes/angular,xcaliber-tech/angular,mzgol/angular,rkirov/angular,vikerman/angular,rkirov/angular,angularbrasil/angular,angular-indonesia/angular,trshafer/angular,aboveyou00/angular,rkirov/angular,hansl/angular,nosovk/angular,nosovk/angular,vandres/angular,jonrimmer/angular,pk-karthik/framework-js-angular,not-for-me/angular,NathanWalker/angular,sarunint/angular,graveto/angular,dtoroshin/n2oDoc,mzgol/angular,filipesilva/angular,royling/angular,snaptech/angular,kara/angular,tolemac/angular,not-for-me/angular,dsebastien/angular,dsebastien/angular,chrisse27/angular,wKoza/angular,chuckjaz/angular,IgorMinar/angular,filipesilva/angular,Toxicable/angular,vicb/angular,tbosch/angular,mhevery/angular,blesh/angular,nosovk/angular,matsko/angular,juristr/angular,mhevery/angular,mgechev/angular,juleskremer/angular,ollie314/angular,vikerman/angular,SaltyDH/angular,pkozlowski-opensource/angular,sjtrimble/angular,sjtrimble/angular,jonrimmer/angular,ocombe/angular,mgiambalvo/angular,sjtrimble/angular,snaptech/angular,heathkit/angular,brandonroberts/angular,trshafer/angular,jesperronn/angular,rkirov/angular,matsko/angular,NathanWalker/angular,petebacondarwin/angular,tolemac/angular,alxhub/angular,mhevery/angular,JiaLiPassion/angular,alexeagle/angular,meeroslav/angular,asnowwolf/angular,juristr/angular,sjtrimble/angular,itamark/angular,smartm0use/angular,ghetolay/angular,mikeybyker/angular,angular-indonesia/angular,hansl/angular,Toxicable/angular,alexeagle/angular,manekinekko/angular,SaltyDH/angular,alexeagle/angular,pkozlowski-opensource/angular,panuruj/angular,mzgol/angular,kegluneq/angular,mgol/angular,robwormald/angular,vamsivarikuti/angular,gjungb/angular