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

Fix/#166-clear-warning-during-unit-test #177

Merged
merged 4 commits into from
Jul 22, 2024

Conversation

dontry
Copy link
Collaborator

@dontry dontry commented Jul 19, 2024

Fix #166
[Vue warn]: (deprecation GLOBAL_MOUNT) The global app bootstrapping API has changed: vm.$mount() and the "el" option have been removed. Use createApp(RootComponent).mount() instead. Details: https://v3-migration.vuejs.org/breaking-changes/global-api.html#mounting-app-instance

The warning is caused by creating the Vue instance in the deprecated way new Vue().

A native EventEmitter instance is created instead to replace the old EventBus.

Other changes:

  • Upgrade pnpm version to 9 to align with mermaid-js
  • Upgrade vitest to latest

@dontry dontry marked this pull request as ready for review July 19, 2024 10:07
@dontry dontry requested a review from MrCoder July 20, 2024 01:36
@MrCoder MrCoder merged commit 6dd4ec6 into main Jul 22, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

Clear warning during unit test
2 participants