DefinitelyTyped/types/jest
Nathan Shively-Sanders 6e845af246
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!
2020-02-10 09:16:10 -08:00
..
v16
index.d.ts fix(jest): issue #42067 (#42103) 2020-02-06 09:52:05 -08:00
jest-tests.ts Fix jest spyOn test for Promises (#42251) 2020-02-10 09:16:10 -08:00
package.json chore: use pretty-format types directly in jest typings (#41895) 2020-01-29 13:45:40 -08:00
tsconfig.json
tslint.json