Focused tests fail before HTML composition is generated
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 176
- Forks
- 66
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 52
Description
Expected Behavior
Focused server tests run in a clean worktree.
Current Behavior
The test import fails because src/server/internal/html/compose.main.gen.js has not been generated.
Possible Solution
Generate required composition modules in test setup or avoid importing generated HTML from unrelated focused tests.
Minimal Reproducible Example
From a clean worktree, run VITE_TEMPO_NETWORK=none pnpm test -- --project node src/tempo/session/server/Session.test.ts.
Context
This blocks focused unit-test reproduction until pnpm build is run.
Logged by staubman-stripe in wevm/mppx at 1fd8746. Filed by Frog.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running VITE_TEMPO_NETWORK=none pnpm test -- --project node src/tempo/session/server/Session.test.ts from a clean worktree and inspect the import of src/server/internal/html/compose.main.gen.js. Trace how focused test setup handles generated composition modules or unrelated generated HTML imports. Done means the focused server test runs successfully without requiring pnpm build first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100