Skip to content
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

docs: toBeCloseTo calculation #15403

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

themaxgross
Copy link

Summary

The docs for the toBeCloseTo() matcher caused confusion for my team, as it wasn't entirely clear how the delta was calculated.

Proposing this additional sentence to clarify how the matcher works, and remove some ambiguity around about how 2 is filled in with the example.

Test plan

I will confess that I did absolutely no testing. :P

The docs for the `toBeCloseTo()` matcher caused confusion for my team, as it wasn't entirely clear how the delta was calculated.

Proposing this additional sentence to clarify how the matcher works, and remove some ambiguity around about how `2` is filled in with the example.
Copy link

linux-foundation-easycla bot commented Dec 6, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link

netlify bot commented Dec 6, 2024

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d220d7f
🔍 Latest deploy log https://app.netlify.com/sites/jestjs/deploys/6753405f984abe0008a5ee07
😎 Deploy Preview https://deploy-preview-15403--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 site configuration.

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.

1 participant