We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I keep trying to mount the component for real world testing L2 start but I keep getting this error
> [email protected] test:unit > vue-cli-service test:unit FAIL tests/unit/EventCard.spec.js EventCard ✕ renders the event's data successfully (16ms) ● EventCard › renders the event's data successfully TypeError: 'set' on proxy: trap returned falsish for property 'hasOwnProperty' 11 | } 12 | > 13 | mount(EventCard, { props: { event } }) | ^ 14 | }) 15 | }) 16 | at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7838:24) at Object.<anonymous> (tests/unit/EventCard.spec.js:13:5) Test Suites: 1 failed, 1 total Tests: 1 failed, 1 total Snapshots: 0 total Time: 1.157s, estimated 2s Ran all test suites.
The text was updated successfully, but these errors were encountered:
Hi @KengoWada, I had the same issue and resolved it by bumping vue to 2.0.6. This seemed to be a common issue with prior versions and vue-test-utils.
Sorry, something went wrong.
I've came across the same issue but I had to update to 3.0.6 according to
3.0.6
Steps to fix:
"vue": "^3.0.0-0",
"vue": "^3.0.6",
npm install
My dependencies in package.json now look like this.
package.json
"dependencies": { "core-js": "^3.6.5", "uuid": "^8.3.2", "vue": "^3.0.6", "vue-router": "^4.0.0-0", "vuex": "^4.0.0-0" },
No branches or pull requests
I keep trying to mount the component for real world testing L2 start but I keep getting this error
The text was updated successfully, but these errors were encountered: