Skip to content

Conversation

@Mrazator
Copy link
Member

@Mrazator Mrazator commented May 22, 2024

Screenshot 2024-05-22 at 13 52 53

@vercel
Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview May 22, 2024 3:00pm
excalidraw-package-example ✅ Ready (Inspect) Visit Preview May 22, 2024 3:00pm
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview May 22, 2024 3:00pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview May 22, 2024 3:00pm

@github-actions
Copy link

github-actions bot commented May 22, 2024

Coverage Report

Status Category Percentage Covered / Total
🔴 Lines 65.59% (🎯 70%) 51311 / 78222
🔴 Statements 65.59% (🎯 70%) 51311 / 78222
🔴 Functions 66.68% (🎯 68%) 1565 / 2347
🟢 Branches 80.97% (🎯 70%) 6295 / 7774
File CoverageNo changed files found.
Generated in workflow #2548

@Mrazator Mrazator requested a review from dwelle May 22, 2024 14:51
},
test(val) {
return (
typeof val === "number" && !Number.isNaN(val) && !Number.isInteger(val)
Copy link
Member

@dwelle dwelle May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
typeof val === "number" && !Number.isNaN(val) && !Number.isInteger(val)
typeof val === "number" && !Number.isNaN(val) && !Number.isInteger(val) && Number.isFinite(val)

Infinity

(line length won't lint)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Although
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, tho that's a different type

@Mrazator Mrazator merged commit 661d6a4 into master May 23, 2024
@Mrazator Mrazator deleted the mrazator/fix-flaky-snapshot-tests-precisio branch May 23, 2024 09:51
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.

3 participants