getsentry / getsentry/sentry-javascript

hono: Only the Node entry has SDK tests

未关闭
#24,050 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bun javascript Tests
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

`hono/test/` has `node/sdk.test.ts` but no `bun/sdk.test.ts`, `deno/sdk.test.ts` or `cloudflare/sdk.test.ts`. All four `init` functions carry the `buildFilteredIntegrations` + `LOW_QUALITY_TRANSACTION_PATTERNS` logic, and the double-init divergence in H1 is exactly the kind of thing a shared test would have caught.

**Work item.** Add one parameterized SDK test that runs against all four entries and asserts: sdk name and packages, `ignoreSpans` merging, Hono removed from defaults, and double-init behavior.

贡献指南

打开贡献指南

调研方向

Start with hono/test/node/sdk.test.ts and locate the corresponding init entries for Bun, Deno, and Cloudflare. Add one parameterized SDK test covering the four listed behaviors across all entries, then run the Hono SDK tests. Done means each entry passes the sdk name and packages, ignoreSpans merging, Hono default removal, and double-init assertions.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
testing
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
描述清楚
新手友好度
76/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。