MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / method

Method method

packages/cloudflare/test/durableobject.test.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers 3

tunnel.test.tsFile · 0.45
test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected