()
| 20 | it('Instruments sync prototype methods and defines implementation in the object', () => { |
| 21 | const testClass = class { |
| 22 | method() { |
| 23 | return 'sync-result'; |
| 24 | } |
| 25 | }; |
| 26 | const obj = Reflect.construct(instrumentDurableObjectWithSentry(vi.fn().mockReturnValue({}), testClass as any), []); |
| 27 | expect(obj.method).toBe(obj.method); |
no outgoing calls
no test coverage detected