Skip to content

types: add offset and size options to Bun.mmap - #34573

Merged
Jarred-Sumner merged 5 commits into
mainfrom
farm/6e642c0b/mmap-options-types
Jul 18, 2026
Merged

Jarred-Sumner merged 5 commits into
mainfrom
farm/6e642c0b/mmap-options-types

test: check MMapOptions offset and size by spawning tsc

3b7d32e
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Jul 18, 2026 in 8m 34s

Code review found 1 potential issue

Found 4 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 0
🟡 Nit 1
🟣 Pre-existing 0
Severity File:Line Issue
🟡 Nit test/integration/bun-types/bun-types.test.ts:389 Explicit per-test timeout violates test/CLAUDE.md convention

Annotations

Check warning on line 389 in test/integration/bun-types/bun-types.test.ts

See this annotation in the file changed.

@claude claude / Claude Code Review

Explicit per-test timeout violates test/CLAUDE.md convention

Per `test/CLAUDE.md` ("**CRITICAL**: Do not set a timeout on tests. Bun already has timeouts.") and REVIEW.md ("Don't raise per-test timeouts to make a slow test pass"), drop the trailing `, 60_000` here — the sibling tsgo spawn test just above does comparable spawned-tsc work and doesn't set one, and this is now the only test in `test/integration/` with an explicit per-test timeout.