Skip to content

test: cover lazy Electron setup in macOS packaging - #7

Merged
jmecom merged 1 commit into
block:mainfrom
Gussy:codex/alto-macos-packaging-tests
Oct 16, 2026
Merged

jmecom merged 1 commit into
block:mainfrom
Gussy:codex/alto-macos-packaging-tests

Conversation

@Gussy

@Gussy Gussy commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Add regression coverage for the existing macOS packager's lazy Electron setup. Exercise Electron's real module loader with a local installer stub across normal, install, and portable modes, including invocation from another working directory.

Cover reuse of an existing runtime, missing packages, failed downloads, incomplete bundles, custom distribution paths, and the non-macOS platform guard. Successful loader fixtures stop at the expected missing-icon check, so the tests run without network downloads or native app builds.

Validation

  • VITEST_MAX_WORKERS=4 npm run check: 1,045 tests passed, 3 skipped; styling audit, TypeScript, and production build passed.
  • Packaging tests on macOS: 8 passed, 1 platform-specific test skipped.
  • Packaging behavior is unchanged; these tests cover the implementation already on main.

@Gussy
Gussy requested a review from jmecom as a code owner October 16, 2026 23:24
@jmecom
jmecom merged commit 9ab4cd5 into block:main Oct 16, 2026
5 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.

2 participants