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

fix: dumpDiffToConsole base64 string output #183

Merged
merged 3 commits into from
Mar 17, 2020
Merged

fix: dumpDiffToConsole base64 string output #183

merged 3 commits into from
Mar 17, 2020

Conversation

bstst
Copy link
Contributor

@bstst bstst commented Feb 27, 2020

Closes #182

@bstst bstst requested a review from a team as a code owner February 27, 2020 06:07
@@ -213,7 +213,7 @@ function diffImageToSnapshot(options) {
diffOutputPath,
diffRatio,
diffPixelCount,
Copy link
Member

Choose a reason for hiding this comment

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

Can we add an integration test for this?

Copy link
Contributor Author

@bstst bstst Mar 2, 2020

Choose a reason for hiding this comment

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

An existing spec was actually doing this incorrectly (or rather incompletely), so I fixed it.

@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@anescobar1991 anescobar1991 requested a review from a team March 15, 2020 03:15
@anescobar1991 anescobar1991 merged commit f73079f into americanexpress:master Mar 17, 2020
@bstst bstst deleted the fix/dump-diff-to-console branch March 18, 2020 06:56
@shaodahong
Copy link

@bstst
Copy link
Contributor Author

bstst commented Mar 21, 2020 via email

@shaodahong
Copy link

shaodahong commented Mar 21, 2020

@bstst Thanks for your reply, I view release commit, it contains this pr

v2.12.0...master

@shaodahong
Copy link

@anescobar1991 Is there a plan for a new release? thanks

@anescobar1991
Copy link
Member

Yes, once #179 is merged we will then have everything publish on merge.

oneamexbot added a commit that referenced this pull request Mar 24, 2020
# [3.0.0](v2.12.0...v3.0.0) (2020-03-24)

### Bug Fixes

* **diff:** small default maxBuffer ([df713f6](df713f6))
* **diff-snapshot:** dumpDiffToConsole base64 string output ([#183](#183)) ([f73079f](f73079f))

### chore

* **packages:** updating jest to 25.1 for perf improvements ([#170](#170)) ([eb3dfa6](eb3dfa6))
* **packages:** upgrade from pixelmatch 4.x to 5.x, and pngjs to 3.4 ([#186](#186)) ([1edc9a3](1edc9a3))
* **travis:** remove node 6 from travis config ([ce2b757](ce2b757))

### Features

* **diff:** increase the maxBuffer to 10MB for the diff process ([#167](#167)) ([0927826](0927826))

### BREAKING CHANGES

* **packages:** pixelmatch is being major version bumped and so image diffs may be difference
* **packages:** Node min version is now 8
* **travis:** drop support for node 6
@oneamexbot
Copy link
Contributor

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
goverdhan07 pushed a commit to goverdhan07/jest-image-snapshot that referenced this pull request Jul 23, 2023
# [3.0.0](americanexpress/jest-image-snapshot@v2.12.0...v3.0.0) (2020-03-24)

### Bug Fixes

* **diff:** small default maxBuffer ([df713f6](americanexpress@df713f6))
* **diff-snapshot:** dumpDiffToConsole base64 string output ([americanexpress#183](americanexpress#183)) ([f73079f](americanexpress@f73079f))

### chore

* **packages:** updating jest to 25.1 for perf improvements ([americanexpress#170](americanexpress#170)) ([eb3dfa6](americanexpress@eb3dfa6))
* **packages:** upgrade from pixelmatch 4.x to 5.x, and pngjs to 3.4 ([americanexpress#186](americanexpress#186)) ([1edc9a3](americanexpress@1edc9a3))
* **travis:** remove node 6 from travis config ([ce2b757](americanexpress@ce2b757))

### Features

* **diff:** increase the maxBuffer to 10MB for the diff process ([americanexpress#167](americanexpress#167)) ([0927826](americanexpress@0927826))

### BREAKING CHANGES

* **packages:** pixelmatch is being major version bumped and so image diffs may be difference
* **packages:** Node min version is now 8
* **travis:** drop support for node 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dumpDiffToConsole not base64 string
6 participants