Skip to content

fixed incorrect checkbox value check#2495

Merged
cexbrayat merged 1 commit intovuejs:mainfrom
Psingh132:issue-2475-fix
Aug 15, 2024
Merged

fixed incorrect checkbox value check#2495
cexbrayat merged 1 commit intovuejs:mainfrom
Psingh132:issue-2475-fix

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)

@netlify
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
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