getsentry / getsentry/sentry-javascript

hono: Only the Node entry has SDK tests

Aperta
#24,050 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Bun javascript Tests
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
523

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
testing
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
76/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.