File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ class Pluggable<Instance = DOMWrapper<Node>> {
48
48
return handler ( instance , options ) // invoke the setup method passed to install
49
49
}
50
50
const bindProperty = ( [ property , value ] : [ string , any ] ) => {
51
+ // eslint-disable-next-line no-extra-semi
51
52
; ( instance as any ) [ property ] =
52
53
typeof value === 'function' ? value . bind ( instance ) : value
53
54
}
Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ export function createInstance(
231
231
}
232
232
// also intercept the proxy calls to make the mocks available on the instance
233
233
// (useful when a template access a global function like $t and the developer wants to mock it)
234
+ // eslint-disable-next-line no-extra-semi
234
235
; ( this . $ as any ) . proxy = new Proxy ( ( this . $ as any ) . proxy , {
235
236
get ( target , key ) {
236
237
if ( key in global . mocks ) {
@@ -243,6 +244,7 @@ export function createInstance(
243
244
for ( const [ k , v ] of Object . entries (
244
245
global . mocks as { [ key : string ] : any }
245
246
) ) {
247
+ // eslint-disable-next-line no-extra-semi
246
248
; ( this as any ) [ k ] = v
247
249
}
248
250
}
You can’t perform that action at this time.
0 commit comments