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

fixed incorrect checkbox value check #2495

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

Psingh132
Copy link
Contributor

This PR fixes an issue where the code incorrectly treated wrapper.find('div') as a boolean value.

Changes Made
Replaced expect(wrapper.find('div')).toBe(true) with expect(wrapper.find('div').exists()).toBe(true)

Copy link

netlify bot commented Aug 15, 2024

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 852d7be
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/66bd7e232cfc950008c2c7a3
😎 Deploy Preview https://deploy-preview-2495--vue-test-utils-docs.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 configuration.

Copy link
Member

@cexbrayat cexbrayat left a comment

Choose a reason for hiding this comment

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

Thanks @Psingh132 👍

@cexbrayat cexbrayat merged commit f568464 into vuejs:main Aug 15, 2024
6 checks passed
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.

2 participants