@@ -13,7 +13,7 @@ describe('beforeRouteLeave', () => {
13
13
expect . assertions ( 2 )
14
14
const spy = jest
15
15
. fn ( )
16
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
16
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
17
17
expect ( typeof this . counter ) . toBe ( 'number' )
18
18
next ( )
19
19
} )
@@ -55,7 +55,7 @@ describe('beforeRouteLeave', () => {
55
55
data : ( ) => ( { counter : 0 } ) ,
56
56
beforeRouteLeave : jest
57
57
. fn ( )
58
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
58
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
59
59
expect ( typeof this . counter ) . toBe ( 'number' )
60
60
next ( )
61
61
} ) ,
@@ -66,7 +66,7 @@ describe('beforeRouteLeave', () => {
66
66
data : ( ) => ( { counter : 0 } ) ,
67
67
beforeRouteLeave : jest
68
68
. fn ( )
69
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
69
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
70
70
expect ( typeof this . counter ) . toBe ( 'number' )
71
71
next ( )
72
72
} ) ,
@@ -109,7 +109,7 @@ describe('beforeRouteLeave', () => {
109
109
data : ( ) => ( { counter : 0 } ) ,
110
110
beforeRouteLeave : jest
111
111
. fn ( )
112
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
112
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
113
113
expect ( typeof this . counter ) . toBe ( 'number' )
114
114
next ( )
115
115
} ) ,
@@ -120,7 +120,7 @@ describe('beforeRouteLeave', () => {
120
120
data : ( ) => ( { counter : 0 } ) ,
121
121
beforeRouteLeave : jest
122
122
. fn ( )
123
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
123
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
124
124
expect ( typeof this . counter ) . toBe ( 'number' )
125
125
next ( )
126
126
} ) ,
@@ -168,7 +168,7 @@ describe('beforeRouteLeave', () => {
168
168
data : ( ) => ( { counter : 0 } ) ,
169
169
beforeRouteLeave : jest
170
170
. fn ( )
171
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
171
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
172
172
expect ( typeof this . counter ) . toBe ( 'number' )
173
173
next ( )
174
174
} ) ,
@@ -179,7 +179,7 @@ describe('beforeRouteLeave', () => {
179
179
data : ( ) => ( { counter : 0 } ) ,
180
180
beforeRouteLeave : jest
181
181
. fn ( )
182
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
182
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
183
183
expect ( typeof this . counter ) . toBe ( 'number' )
184
184
next ( )
185
185
} ) ,
@@ -190,7 +190,7 @@ describe('beforeRouteLeave', () => {
190
190
data : ( ) => ( { counter : 0 } ) ,
191
191
beforeRouteLeave : jest
192
192
. fn ( )
193
- . mockImplementationOnce ( function ( this : any , to , from , next ) {
193
+ . mockImplementationOnce ( function ( this : any , to , from , next ) {
194
194
expect ( typeof this . counter ) . toBe ( 'number' )
195
195
next ( )
196
196
} ) ,
0 commit comments