@@ -10,14 +10,14 @@ import {
1010import Vue from 'vue'
1111
1212describeWithShallowAndMount ( 'config' , mountingMethod => {
13- let configStubsSave , consoleError , configLogSave , configSilentWarningsSave
13+ let configStubsSave , consoleError , configLogSave , configSilentSave
1414
1515 beforeEach ( ( ) => {
1616 TransitionGroupStub . name = 'another-temp-name'
1717 TransitionStub . name = 'a-temp-name'
1818 configStubsSave = config . stubs
1919 configLogSave = config . logModifiedComponents
20- configSilentWarningsSave = config . silentWarnings
20+ configSilentSave = config . silent
2121 consoleError = sinon . stub ( console , 'error' )
2222 } )
2323
@@ -26,7 +26,7 @@ describeWithShallowAndMount('config', mountingMethod => {
2626 TransitionStub . name = 'transition'
2727 config . stubs = configStubsSave
2828 config . logModifiedComponents = configLogSave
29- config . silentWarnings = configSilentWarningsSave
29+ config . silent = configSilentSave
3030 consoleError . restore ( )
3131 } )
3232
@@ -141,8 +141,8 @@ describeWithShallowAndMount('config', mountingMethod => {
141141 expect ( wrapper . contains ( TransitionStub ) ) . to . equal ( false )
142142 } )
143143
144- it ( "doesn't throw Vue warning when silentWarnings is set to true" , ( ) => {
145- config . silentWarnings = true
144+ it ( "doesn't throw Vue warning when silent is set to true" , ( ) => {
145+ config . silent = true
146146 const localVue = createLocalVue ( )
147147 const wrapper = mountingMethod ( ComponentWithProps , {
148148 propsData : {
@@ -157,8 +157,8 @@ describeWithShallowAndMount('config', mountingMethod => {
157157 expect ( consoleError . called ) . to . equal ( false )
158158 } )
159159
160- it ( 'does throw Vue warning when silentWarnings is set to false' , ( ) => {
161- config . silentWarnings = false
160+ it ( 'does throw Vue warning when silent is set to false' , ( ) => {
161+ config . silent = false
162162 const localVue = createLocalVue ( )
163163 const wrapper = mountingMethod ( ComponentWithProps , {
164164 propsData : {
0 commit comments