Skip to content

Commit 43202bf

Browse files
committed
update cloudflare
1 parent 63e742d commit 43202bf

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

dev-packages/e2e-tests/test-applications/hono-4/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
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
}
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
import { honoMiddleware } from '@sentry/cloudflare';
21
import { Hono } from 'hono';
32
import { addRoutes } from './routes';
43

54
const 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-
126
addRoutes(app);
137

148
export default app;

0 commit comments

Comments
 (0)