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

Get rid of warnings in console when running tests #161

Open
psmyrek opened this issue Oct 19, 2020 · 0 comments
Open

Get rid of warnings in console when running tests #161

psmyrek opened this issue Oct 19, 2020 · 0 comments
Labels
squad:platform Issue to be handled by the Platform team. type:bug

Comments

@psmyrek
Copy link
Contributor

psmyrek commented Oct 19, 2020

This is the follow up of #160.

Running tests outputs a few lines of warnings in console:

(node:6080) Warning: Accessing non-existent property 'VERSION' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
WARNING in ./tests/plugin/integration.js 53:19-33
"export 'createLocalVue' was not found in '@vue/test-utils'
WARNING in ./tests/_utils/vueadapter.js 7:19-36
"export 'default' (imported as 'VueModule') was not found in 'vue'
WARN: 'You are running the esm-bundler build of Vue. It is recommended to configure your bundler to explicitly replace feature flag 
globals with boolean literals to get proper tree-shaking in the final bundle. See http://link.vuejs.org/feature-flags for more details.'

Some of them (2 and 3) are caused because the codebase targets both Vue versions (v2.x and v3.x) and Vue has changed its exports and API between these versions.

@psmyrek psmyrek added the squad:platform Issue to be handled by the Platform team. label Oct 19, 2020
@oleq oleq added squad:integrations type:bug and removed squad:platform Issue to be handled by the Platform team. labels Oct 26, 2020
@pomek pomek added this to the nice-to-have milestone Feb 8, 2021
@Reinmar Reinmar added squad:platform Issue to be handled by the Platform team. and removed squad:integrations labels Oct 28, 2021
@pomek pomek removed this from the nice-to-have milestone Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
squad:platform Issue to be handled by the Platform team. type:bug
Projects
None yet
Development

No branches or pull requests

4 participants