Skip to content

chore: refactor toMatchSnapshot implementation#12206

Merged
aslushnikov merged 6 commits into
microsoft:mainfrom
aslushnikov:refactor-to-match-snapshot
Feb 18, 2022
Merged

chore: refactor toMatchSnapshot implementation#12206
aslushnikov merged 6 commits into
microsoft:mainfrom
aslushnikov:refactor-to-match-snapshot

Conversation

@aslushnikov
Copy link
Copy Markdown
Contributor

@aslushnikov aslushnikov commented Feb 18, 2022

This patch prepares for the toHaveScreenshot implementation
by splitting common parts from toMatchSnapshot.

Drive-by: fix default extension generation from .bin to .dat
for unknown buffers.

References #9938

This patch prepares for the `toHaveScreenshot` implementation
by splitting common parts from `toMatchSnapshot`.

Drive-by: fix default extension generation from `.bin` to `.dat`
for unknown buffers.
@aslushnikov aslushnikov force-pushed the refactor-to-match-snapshot branch from 972bfba to dda1ed2 Compare February 18, 2022 08:09
Comment thread packages/playwright-test/src/matchers/toMatchSnapshot.ts Outdated
Comment thread packages/playwright-test/src/matchers/toMatchSnapshot.ts Outdated
Comment thread packages/playwright-test/src/matchers/toMatchSnapshot.ts
Comment thread packages/playwright-test/src/matchers/toMatchSnapshot.ts
@aslushnikov aslushnikov merged commit b9e86b7 into microsoft:main Feb 18, 2022
@aslushnikov aslushnikov deleted the refactor-to-match-snapshot branch February 18, 2022 19:21
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