File tree Expand file tree Collapse file tree
dev-packages/e2e-tests/test-applications/hono-4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 },
5151 {
5252 "assert-command" : " pnpm test:assert:cloudflare" ,
53- "label" : " hono-4 (cloudflare)" ,
54- "skip" : true
53+ "label" : " hono-4 (cloudflare)"
5554 }
5655 ]
5756 }
Original file line number Diff line number Diff line change 1- import { honoMiddleware } from '@sentry/cloudflare' ;
21import { Hono } from 'hono' ;
32import { addRoutes } from './routes' ;
43
54const app = new Hono < { Bindings : { E2E_TEST_DSN : string } } > ( ) ;
65
7- // Cloudflare Workers build the app at module scope, where workerd disallows the diagnostics_channel
8- // publishing the automatic `honoIntegration` relies on. Register the middleware manually instead — it
9- // applies the same instrumentation without diagnostics_channel.
10- app . use ( honoMiddleware ( app ) ) ;
11-
126addRoutes ( app ) ;
137
148export default app ;
You can’t perform that action at this time.
0 commit comments