We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de68527 commit 6b25bb0Copy full SHA for 6b25bb0
packages/cloudflare/test/integrations/hono.test.ts
@@ -12,6 +12,7 @@ class FakeClient extends CloudflareClient {
12
13
vi.mock('../../src/debug-build', () => ({
14
DEBUG_BUILD: true,
15
+ __DEBUG_BUILD__: true,
16
}));
17
18
type MockHonoIntegrationType = { handleHonoException: (err: Error) => void };
@@ -27,6 +28,7 @@ describe('Hono integration', () => {
27
28
transport: () => ({ send: () => Promise.resolve({}), flush: () => Promise.resolve(true) }),
29
stackParser: createStackParser(),
30
});
31
+
32
vi.spyOn(sentryCore, 'getClient').mockImplementation(() => client as Client);
33
34
0 commit comments