Files
Michael Ramos a2f2b753bf test(cli): run guide share entrypoint test without a built dist
The test guards the argv hand-off in apps/hook/server/index.ts (the entrypoint
strips the annotate gate flags, --json among them, before dispatching, so
`guide share --json` has to keep printing the JSON record). It was gated on
apps/hook/dist/*.html existing, and CI never builds those, so the guard has
never run anywhere but a developer's machine after a build:hook.

The entrypoint only needs those files to exist because it imports them as text
at module load; the guide subcommand never serves them. So the test stands in
placeholders for whichever ones are missing and removes exactly those again,
leaving a real build untouched. It runs in about 350ms.
2026-08-16 09:08:08 -07:00
..