chore(toPromise): replace deprecated types and use prettier (#6166)
chore(toPromise): replace deprecated types and use prettier (#6166)

* chore(toPromise): update deprecated mocha types in toPromise tests

* chore(toPromise): format toPromise tests with prettier
ReactiveX/rxjs,benlesh/RxJS,martinsik/rxjs,ReactiveX/rxjs,benlesh/RxJS,ReactiveX/rxjs,ReactiveX/rxjs,benlesh/RxJS,ReactiveX/RxJS,benlesh/RxJS,martinsik/rxjs,ReactiveX/RxJS,martinsik/rxjs,ReactiveX/RxJS,ReactiveX/RxJS,martinsik/rxjs