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

Mocha-webpack setup, can't suppress Vue logging #75

Closed
rssfrncs opened this issue Oct 5, 2017 · 2 comments · Fixed by #87
Closed

Mocha-webpack setup, can't suppress Vue logging #75

rssfrncs opened this issue Oct 5, 2017 · 2 comments · Fixed by #87
Labels

Comments

@rssfrncs
Copy link
Contributor

rssfrncs commented Oct 5, 2017

Using the mocha-webpack setup, I have a required file start.js with the following code:

require('jsdom-global')();
const Vue = require('vue');

// disable Vue logging
Vue.config.productionTip = false;
Vue.config.devtools = false;
Vue.config.silent = true;

global.assert = require('chai').assert;
global.expect = require('chai').expect;

However, Vue is still logging out to the console,

image

Have I missed something?

@rssfrncs
Copy link
Contributor Author

@eddyerburgh thanks for the quick turn around, will this be included in the next beta release?

@eddyerburgh
Copy link
Member

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants