New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(@jest/mock): Add withImplementation #13281
Commits on Sep 19, 2022
-
feat(@jest/mock): Add withImplementation
For temporarily overriding mock implementations.
Commits on Sep 20, 2022
-
-
-
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
-
Commits on Sep 21, 2022
-
Update packages/jest-mock/__typetests__/mock-functions.test.ts
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
Commits on Sep 23, 2022
-
Update docs/MockFunctionAPI.md
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
-
Update packages/jest-mock/README.md
Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
-
Update packages/jest-mock/src/__tests__/index.test.ts
Remove redundant `async` Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
-
Update packages/jest-mock/src/index.ts
Change promise detection expression to bail out earlier for `null` and `undefined` Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
-
-
-
-
-