Vuex_Fundamentals icon indicating copy to clipboard operation
Vuex_Fundamentals copied to clipboard

EventCard.spec.js fails to run test

Open andersonphiri opened this issue 3 years ago • 0 comments

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 <VTUROOT>

andersonphiri avatar Jul 13 '21 11:07 andersonphiri