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
The "path" argument must be of type string. Received undefined #300
Labels
Comments
Did you resolve this issue? If not, do you want me to work on it? |
I just found a workaround, which was to stay on |
10xLaCroixDrinker
added a commit
that referenced
this issue
Aug 25, 2022
10 tasks
JAdshead
pushed a commit
that referenced
this issue
Aug 25, 2022
🎉 This issue has been resolved in version 5.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
goverdhan07
pushed a commit
to goverdhan07/jest-image-snapshot
that referenced
this issue
Jul 23, 2023
goverdhan07
pushed a commit
to goverdhan07/jest-image-snapshot
that referenced
this issue
Jul 23, 2023
## [5.1.1](americanexpress/jest-image-snapshot@v5.1.0...v5.1.1) (2022-08-25) ### Bug Fixes * **diff-snapshot:** make recievedDir optional ([americanexpress#306](americanexpress#306)) ([cd4fa73](americanexpress@cd4fa73)), closes [americanexpress#300](americanexpress#300)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe a breaking change was introduced in #298
The
diffImageToSnapshot
function now accepts what appears to be an optionalreceivedDir
prop but it has no default value so if I update from5.0.0
to5.1.0
I now get the above error becauseundefined
is passed topath.join
here:For reference, here is how I was calling it before so you can see how
receivedDir
is undefinedI think that change should either be
6.0.0
releaseFor now, staying on
5.0.0
resolves itThanks!
The text was updated successfully, but these errors were encountered: