@@ -23,7 +23,10 @@ describe('instrumentDurableObjectWithSentry', () => {
2323 return 'sync-result' ;
2424 }
2525 } ;
26- const obj = Reflect . construct ( instrumentDurableObjectWithSentry ( vi . fn ( ) . mockReturnValue ( { } ) , testClass as any ) , [ ] ) as any ;
26+ const obj = Reflect . construct (
27+ instrumentDurableObjectWithSentry ( vi . fn ( ) . mockReturnValue ( { } ) , testClass as any ) ,
28+ [ ] ,
29+ ) as any ;
2730 expect ( obj . method ) . toBe ( obj . method ) ;
2831
2932 const result = obj . method ( ) ;
@@ -37,7 +40,10 @@ describe('instrumentDurableObjectWithSentry', () => {
3740 return 'async-result' ;
3841 }
3942 } ;
40- const obj = Reflect . construct ( instrumentDurableObjectWithSentry ( vi . fn ( ) . mockReturnValue ( { } ) , testClass as any ) , [ ] ) as any ;
43+ const obj = Reflect . construct (
44+ instrumentDurableObjectWithSentry ( vi . fn ( ) . mockReturnValue ( { } ) , testClass as any ) ,
45+ [ ] ,
46+ ) as any ;
4147 expect ( obj . asyncMethod ) . toBe ( obj . asyncMethod ) ;
4248
4349 const result = obj . asyncMethod ( ) ;
@@ -97,7 +103,10 @@ describe('instrumentDurableObjectWithSentry', () => {
97103
98104 webSocketError ( ) { }
99105 } ;
100- const instrumented = instrumentDurableObjectWithSentry ( vi . fn ( ) . mockReturnValue ( { instrumentPrototypeMethods : true } ) , testClass as any ) ;
106+ const instrumented = instrumentDurableObjectWithSentry (
107+ vi . fn ( ) . mockReturnValue ( { instrumentPrototypeMethods : true } ) ,
108+ testClass as any ,
109+ ) ;
101110 const obj = Reflect . construct ( instrumented , [ ] ) ;
102111 for ( const method_name of [
103112 'propertyFunction' ,
0 commit comments