Fix jest spyOn test for Promises (#42251)
Fix jest spyOn test for Promises (#42251)

* Fix jest spyOn test for Promises

Before February 8, Typescript stopped issuing errors in long method
chains after it encountered one error. Now it continues to give errors
on subsequent methods. This found an error in the jest tests where
mockResolvedValue[Once] and moveRejectValue[Once] were being tested on a
non-promise target.

This PR adds a promise-specific test case to fix those errors.

* the linter sure does like semicolons!

georgemarshall/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped