Skip to content

fix: HMR integration test compiles without pre-built dist - #11

Merged
spacedevin merged 1 commit into
mainfrom
fix/hmr-test-compile-without-dist
Jun 19, 2026
Merged

fix: HMR integration test compiles without pre-built dist#11
spacedevin merged 1 commit into
mainfrom
fix/hmr-test-compile-without-dist

Conversation

@spacedevin

Copy link
Copy Markdown
Member

Summary

Fixes CI failure on main after #7 merge: npm test runs before npm run build, but test/hmr-vite.test.mjs imported dist/lattishHmr.js which does not exist yet.

Fix

Compile src/lattishHmr.tish on demand inside the test (same pattern as test/run-tests.mjs). No CI workflow reordering required.

Test plan

  • rm -rf dist && npm test passes locally

CI runs npm test before npm run build. Match test/run-tests.mjs by
compiling src/lattishHmr.tish on demand so hmr-vite.test.mjs does not
import a missing dist/lattishHmr.js.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@spacedevin
spacedevin merged commit 2b34114 into main Jun 19, 2026
4 checks passed
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