Open THEPR9FESS9R opened 3 years ago
1.3.0
github.com
Switch to node version 14.15.1 -> run npm i -> run npm test
npm i
npm test
tests should pass
tests are failing
https://github.com/vuejs/vue-test-utils/blob/106070827131ce0319108b5f7ca8236829384878/packages/test-utils/src/wrapper.js#L600
should set " this.element.checked = true" not "this.element.selected = true"
const radioInput = wrapper.find('input[type="radio"]'); await radioInput.setChecked(); expect(radioInput.element.checked).toBeTruthy();
this test should be pass, instead of failling
Version
1.3.0
Reproduction link
github.com
Steps to reproduce
Switch to node version 14.15.1 -> run
npm i
-> runnpm test
What is expected?
tests should pass
What is actually happening?
tests are failing
https://github.com/vuejs/vue-test-utils/blob/106070827131ce0319108b5f7ca8236829384878/packages/test-utils/src/wrapper.js#L600
should set " this.element.checked = true" not "this.element.selected = true"