@@ -19,9 +19,9 @@ describeWithMountingMethods('options.provide', (mountingMethod) => {
1919 config . provide = configProvideSave
2020 } )
2121
22- itDoNotRunIf ( ! injectSupported ( ) ,
22+ itDoNotRunIf ( ! injectSupported ,
2323 'provides objects which is injected by mounted component' , ( ) => {
24- if ( ! injectSupported ( ) ) return
24+ if ( ! injectSupported ) return
2525
2626 const wrapper = mountingMethod ( ComponentWithInject , {
2727 provide : { fromMount : 'objectValue' }
@@ -32,7 +32,7 @@ describeWithMountingMethods('options.provide', (mountingMethod) => {
3232 expect ( HTML ) . to . contain ( 'objectValue' )
3333 } )
3434
35- itDoNotRunIf ( ! injectSupported ( ) ,
35+ itDoNotRunIf ( ! injectSupported ,
3636 'provides function which is injected by mounted component' , ( ) => {
3737 const wrapper = mountingMethod ( ComponentWithInject , {
3838 provide ( ) {
@@ -47,9 +47,9 @@ describeWithMountingMethods('options.provide', (mountingMethod) => {
4747 expect ( HTML ) . to . contain ( 'functionValue' )
4848 } )
4949
50- itDoNotRunIf ( ! injectSupported ( ) || mountingMethod . name === 'renderToString' ,
50+ itDoNotRunIf ( ! injectSupported || mountingMethod . name === 'renderToString' ,
5151 'supports beforeCreate in component' , ( ) => {
52- if ( ! injectSupported ( ) ) return
52+ if ( ! injectSupported ) return
5353
5454 const wrapper = mountingMethod ( ComponentWithInject , {
5555 provide : { fromMount : '_' }
@@ -60,7 +60,7 @@ describeWithMountingMethods('options.provide', (mountingMethod) => {
6060
6161 itSkipIf ( mountingMethod . name === 'renderToString' ,
6262 'injects the provide from the config' , ( ) => {
63- if ( ! injectSupported ( ) ) {
63+ if ( ! injectSupported ) {
6464 return
6565 }
6666 config . provide [ 'fromMount' ] = 'globalConfig'
@@ -73,7 +73,7 @@ describeWithMountingMethods('options.provide', (mountingMethod) => {
7373 expect ( HTML ) . to . contain ( 'globalConfig' )
7474 } )
7575
76- itDoNotRunIf ( ! injectSupported ( ) , 'prioritize mounting options over config' , ( ) => {
76+ itDoNotRunIf ( ! injectSupported , 'prioritize mounting options over config' , ( ) => {
7777 config . provide [ 'fromMount' ] = 'globalConfig'
7878
7979 const wrapper = mountingMethod ( ComponentWithInject , {
0 commit comments