Skip to content

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

@KengoWada

Description

@KengoWada

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions