Skip to content

test(ui): compile .tsx with the Solid DOM transform in bun test - #455

Merged
0xPlayerOne merged 1 commit into
claude/bun-1.4.3-pins-uifrom
claude/ui-solid-test-transform
Oct 17, 2026
Merged

0xPlayerOne merged 1 commit into
claude/bun-1.4.3-pins-uifrom
claude/ui-solid-test-transform

Conversation

@0xPlayerOne

@0xPlayerOne 0xPlayerOne commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Folded into #454. Review feedback showed that landing the Bun 1.4.3 pins before this transform would leave main with failing .tsx tests, so claude/bun-1.4.3-pins-ui now carries these commits and this branch points at the same commit (5872098). This PR now has no changes of its own and can be closed once #454 is accepted; I have not closed it. Draft, auto-merge off.

The review fixes (root bunfig.toml no longer preloads Babel for the dependency-free Gate scope tests, the transform is synchronous, a cold-process regression test) are described in #454.


Generated by Claude Code

Bun 1.4.3 compiles `jsx: preserve` + `jsxImportSource: solid-js` as automatic dev
JSX, and solid-js/jsx-dev-runtime exports no jsxDEV, so any test that imports a
.tsx module fails to link. Load the same babel-preset-solid transform the build
uses through a Bun.plugin preload (root bunfig.toml for the coverage run,
--preload for the package run), modelled on Cortana's solid-transform.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XSzpR2pqR4VzetRzaTw7Td
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.

2 participants