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

EventCard.spec.js fails to run test #4

Open
andersonphiri opened this issue Jul 13, 2021 · 0 comments
Open

EventCard.spec.js fails to run test #4

andersonphiri opened this issue Jul 13, 2021 · 0 comments

Comments

@andersonphiri
Copy link

FAIL tests/unit/EventCard.spec.js
EventCard
× renders successfully (20ms)

● EventCard › renders successfully

TypeError: 'set' on proxy: trap returned falsish for property 'hasOwnProperty'

   9 |       time: '11:00',
  10 |     }
> 11 |     mount(EventCard, {
     |     ^
  12 |       props: { event },
  13 |     })
  14 |   })

  at mount (node_modules/@vue/test-utils/dist/vue-test-utils.cjs.js:7838:24)
  at Object.<anonymous> (tests/unit/EventCard.spec.js:11:5)

console.warn node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:40
[Vue warn]: Failed to resolve component: router-link
at <Anonymous event= {
id: 1,
title: 'location in testing',
date: 'July 22, 2022',
time: '11:00'
} ref="VTU_COMPONENT" >
at

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

No branches or pull requests

1 participant