getsentry / getsentry/sentry-javascript

hono: Only the Node entry has SDK tests

Open
#24,050 1 comment 0 reactions 0 assignees View on GitHub
Bun javascript Tests
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
523

Description

`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.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.