mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Add mockReturnValue(), mockResolvedValue() and mockRejectedValue() to MockFunctionContext as shorthands for common mockImplementation() patterns. Signed-off-by: Guilherme Araújo <arauujogui@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66631 Reviewed-By: Chemi Atlow <chemi@atlow.co.il>