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

added toMatchMultipleSvgSnapshot #2

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

ShiboSoftwareDev
Copy link
Contributor

@anas-sarkez try this out

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

See notes, otherwise looks good

await expect(testSvgs).toMatchMultipleSvgSnapshot(import.meta.path, svgNames)
})

// test("toMatchSvgSnapshot detects differences", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ghost code

@@ -0,0 +1,728 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bun project, no package lock needed

index.ts Outdated
})
}
if (failed.length === 0) {
let messages = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

Just declare this once, its currently declared twice which isnt necessary

Prefer the name "aggregatedMessage", messages is plural so people would think its an array

@ShiboSoftwareDev ShiboSoftwareDev merged commit 22e8380 into tscircuit:main Sep 3, 2024
1 of 2 checks passed
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.

2 participants