Skip to content

bug: vue jest utils, shallowMount does not work when property values are symbols #24181

Closed
@boboldehampsink

Description

@boboldehampsink

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

After bumping Ionic Vue from v5 to v6 RC, all my tests that are shallowMounted fail with the following error:

Screen Shot 2021-11-08 at 09 41 06

Expected Behavior

This didn't happen with v5, and I expect it to work in v6 as well

Steps to Reproduce

Run an Ionic 6 app test with shallowMount

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 6.17.1

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v17.0.1
npm : 8.1.0
OS : macOS Monterey

Additional Information

Also see vuejs/vue-test-utils#1833

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: externalBugs in non-Ionic software that impact Ionic apps (I.e. WebKit, Angular, Android etc)type: buga confirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions