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: support the changed field names #3

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

DudaGod
Copy link
Member

@DudaGod DudaGod commented Nov 20, 2018

  • "refImagePath" -> "refImg.path"
  • "currentImagePath" -> "currImg.path"

* "refImagePath" -> "refImg.path"
* "currentImagePath" -> "currImg.path"
@@ -4,10 +4,10 @@ const compareImages = require('@gemini-testing/resemblejs/compareImages');
const util = require('util');
const debug = require('debug')('hermione-reassert-view');

exports.compareImages = async function({refImagePath, currentImagePath, maxDiffSize}) {
exports.compareImages = async function({refImgPath, currImgPath, maxDiffSize}) {
Copy link
Member

Choose a reason for hiding this comment

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

для чего ты поменял названия ключей самого плагина? оно бы и без этих изменений работало

Copy link
Member Author

Choose a reason for hiding this comment

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

поменял для консистентности

@DudaGod DudaGod merged commit 63e5088 into master Nov 29, 2018
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.

None yet

3 participants