Skip to content

Conversation

@jpmschuler
Copy link
Contributor

see #95

I really just changed the Mochaweseome calls, couldn't figure how to fix the .json, too. But this way no harm done and no regressions to expect.

Copy link

@davidfou davidfou left a comment

Choose a reason for hiding this comment

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

Thanks for proposing a fix! I have the same problem and I was happy to see someone proposed a solution already.

I'm not a maintainer of the library, feel free to ignore my review

index.js Outdated
return folderPath;
}

resolveRelativePath(folderPath) {

Choose a reason for hiding this comment

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

suggestion: I don't think this function is meant to be public, that's why given how this file is written, it might be great to prepend a _.

Copy link
Member

Choose a reason for hiding this comment

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

@jpmschuler could you please make the change @davidfou suggested, they are right.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@puneet0191 puneet0191 changed the base branch from master to 1.9.5 October 28, 2021 05:35
@puneet0191 puneet0191 merged commit 774ecd1 into codeceptjs:1.9.5 Nov 2, 2021
puneet0191 added a commit that referenced this pull request Nov 6, 2021
* Fixed optional param in JSDoc and generated TS definition (#99) * [TASK] fix relative paths for Mochawesome context screenshots (#97) * [TASK] fix relative paths for Mochawesome context screenshots * [TASK] improve relative path generation for cases where report is not in default folder * [TASK] switch to Path.relative * [TASK] add more pessimistic check for undefined options * [TASK] resolveRelativePath should not be public * [FEATURE] allow resemble.compare even if dimensions are not the same (#96) * [FEATURE] allow resemble.compare even if dimensions are not the same \n\nsee #94 * fix default value overriding custom value "false" * Update Version, Prepare for release. Co-authored-by: Jaromir Obr <jaromir.obr@gmail.com> Co-authored-by: jpmschuler <jpmschuler@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants