Skip to content

Debun tests - #1055

Closed
simonklee wants to merge 1 commit into
debun-publish-smokefrom
debun-tests
Closed

simonklee wants to merge 1 commit into
debun-publish-smokefrom
debun-tests

Conversation

@simonklee

Copy link
Copy Markdown
Member

Tests keep real bun:test imports;
a module hook rewrites them only in the emitted Node lane.

@simonklee
simonklee force-pushed the debun-publish-smoke branch from b2d3ddf to 8beac1c Compare May 13, 2026 06:34
@simonklee simonklee mentioned this pull request May 13, 2026
@simonklee
simonklee requested a review from Adictya as a code owner May 14, 2026 10:53
@simonklee
simonklee force-pushed the debun-publish-smoke branch from 8beac1c to 7ad3e54 Compare May 15, 2026 11:11
@simonklee
simonklee force-pushed the debun-publish-smoke branch from 7ad3e54 to c3f9b73 Compare May 16, 2026 18:53
@simonklee
simonklee force-pushed the debun-tests branch 4 times, most recently from d3b741f to 789da9c Compare May 18, 2026 06:58
@simonklee
simonklee force-pushed the debun-publish-smoke branch 2 times, most recently from 5776002 to f537ba4 Compare May 18, 2026 08:07
@simonklee
simonklee force-pushed the debun-tests branch 2 times, most recently from 3350a02 to d8cc0d7 Compare May 18, 2026 09:38
@simonklee
simonklee force-pushed the debun-publish-smoke branch from f537ba4 to 7af4063 Compare May 18, 2026 09:38
@simonklee
simonklee force-pushed the debun-publish-smoke branch from 7af4063 to 1234fd3 Compare June 4, 2026 06:28
@simonklee
simonklee force-pushed the debun-publish-smoke branch from 1234fd3 to f661b05 Compare June 4, 2026 19:02
@simonklee
simonklee force-pushed the debun-publish-smoke branch from f661b05 to 6476fc1 Compare June 5, 2026 08:28
The test suite was tightly coupled to Bun-specific APIs (bun:test,
Bun.sleep) making it impossible to validate behavior on other
runtimes. A module hook now rewrites bun:test imports for Node's
test runner, and fake clocks replace wall-clock delays so tests
run deterministically everywhere.

Fix FFI type mismatches and boolean normalization that caused
silent failures on non-Bun runtimes. Correct bundled asset
resolution so published packages load without a TypeScript loader.

Reorganize the example menu with themed sections, two-panel focus
management, and proper tree-sitter cleanup to prevent worker leaks.
@simonklee

Copy link
Copy Markdown
Member Author

#1149

@simonklee simonklee closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant