Skip to content

Conversation

notoriousmango
Copy link
Contributor

Summary

closes #15752

Test plan

unit test

Copy link

netlify bot commented Jul 30, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e1df5fd
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/68897b821b1b2600082aa939
😎 Deploy Preview https://deploy-preview-15754--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cpojer
Copy link
Member

cpojer commented Aug 27, 2025

Thanks for the contribution, it's nice. I do not think we need to add these shorthands. They would be used rarely and expand the surface area of the mocking API with two methods. The "long" version is not really any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: mockThrowValue[Once] (like mockRejectedValue[Once] but sync)
2 participants