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: diff output is incorrectly when using expect.any #1197

Merged
merged 2 commits into from May 2, 2022

Conversation

nieyuyao
Copy link
Contributor

@nieyuyao nieyuyao commented Apr 27, 2022

fix #1176

@netlify
Copy link

netlify bot commented Apr 27, 2022

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 214ea2e
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/626ac5663f987c000872a999
😎 Deploy Preview https://deploy-preview-1197--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nieyuyao nieyuyao changed the title fix: diff output is incorrectly when using expect.any #1176 fix: diff output is incorrectly when using expect.any Apr 27, 2022
@nieyuyao
Copy link
Contributor Author

CI fails because node14.x does not support the ??=.

@sheremet-va
Copy link
Member

CI fails because node14.x does not support the ??=.

Right now we support node 14, so please make a compatible change

@antfu antfu merged commit d09de8f into vitest-dev:main May 2, 2022
@nieyuyao nieyuyao deleted the fix/process-error branch May 8, 2022 03:46
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.

expect.any doesn't work properly when expect().toMatchObject() fails
3 participants