@@ -10,14 +10,14 @@ import {
10
10
import Vue from 'vue'
11
11
12
12
describeWithShallowAndMount ( 'config' , mountingMethod => {
13
- let configStubsSave , consoleError , configLogSave , configSilentWarningsSave
13
+ let configStubsSave , consoleError , configLogSave , configSilentSave
14
14
15
15
beforeEach ( ( ) => {
16
16
TransitionGroupStub . name = 'another-temp-name'
17
17
TransitionStub . name = 'a-temp-name'
18
18
configStubsSave = config . stubs
19
19
configLogSave = config . logModifiedComponents
20
- configSilentWarningsSave = config . silentWarnings
20
+ configSilentSave = config . silent
21
21
consoleError = sinon . stub ( console , 'error' )
22
22
} )
23
23
@@ -26,7 +26,7 @@ describeWithShallowAndMount('config', mountingMethod => {
26
26
TransitionStub . name = 'transition'
27
27
config . stubs = configStubsSave
28
28
config . logModifiedComponents = configLogSave
29
- config . silentWarnings = configSilentWarningsSave
29
+ config . silent = configSilentSave
30
30
consoleError . restore ( )
31
31
} )
32
32
@@ -141,8 +141,8 @@ describeWithShallowAndMount('config', mountingMethod => {
141
141
expect ( wrapper . contains ( TransitionStub ) ) . to . equal ( false )
142
142
} )
143
143
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
146
146
const localVue = createLocalVue ( )
147
147
const wrapper = mountingMethod ( ComponentWithProps , {
148
148
propsData : {
@@ -157,8 +157,8 @@ describeWithShallowAndMount('config', mountingMethod => {
157
157
expect ( consoleError . called ) . to . equal ( false )
158
158
} )
159
159
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
162
162
const localVue = createLocalVue ( )
163
163
const wrapper = mountingMethod ( ComponentWithProps , {
164
164
propsData : {
0 commit comments