We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f319bef commit 6be9fdbCopy full SHA for 6be9fdb
src/platforms/web/runtime/index.js
@@ -48,14 +48,19 @@ Vue.nextTick(() => {
48
if (config.devtools) {
49
if (devtools) {
50
devtools.emit('init', Vue)
51
- } else if (process.env.NODE_ENV !== 'production' && isChrome) {
+ } else if (
52
+ process.env.NODE_ENV !== 'production' &&
53
+ process.env.NODE_ENV !== 'test' &&
54
+ isChrome
55
+ ) {
56
console[console.info ? 'info' : 'log'](
57
'Download the Vue Devtools extension for a better development experience:\n' +
58
'https://github.com/vuejs/vue-devtools'
59
)
60
}
61
62
if (process.env.NODE_ENV !== 'production' &&
63
64
config.productionTip !== false &&
65
inBrowser && typeof console !== 'undefined'
66
) {
0 commit comments