🌐 AI搜索 & 代理 主页
Skip to content

Tests using createLocalVue() display warning (2.21.0) #6225

@pandacoustic

Description

@pandacoustic

Describe the bug

Tests using bootstrap-vue and createLocalVue() output the following warning

[BootstrapVue warn]: Multiple instances of Vue detected!
You may need to set up an alias for Vue in your bundler config.
See: https://bootstrap-vue.org/docs#using-module-bundlers"

Looks like the same issue described in #3303 is back with the 2.21.0 release

Expected behavior

Tests run successfully without warnings.

Versions

Libraries:

  • BootstrapVue: 2.21.0
  • Bootstrap: 4.5.3
  • Vue: 2.6.12
  • Jest: 26.6.3

Environment:

Jest

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions