fix(web): make npm run test:unit self-sufficient (svelte-kit sync) #929
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/049-upload-activity-web"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to the already-merged feature PR #925 (spec 049 cross-device upload activity UI).
While validating the merged feature on current main I found that
npm run test:unitfails on any fresh checkout/worktree: apps/web/tsconfig.json extends the generated.svelte-kit/tsconfig.json, and the new script did not runsvelte-kit syncfirst (it only worked where a prior dev/build/check had generated the file). This mirrors the existingcheckscript.Validation on this branch (main
439b0266+ this commit):npm run test:unitfrom a clean state (no.svelte-kit): 18/18 passed (uploadActivityServer.spec.ts 15, uploadActivity.spec.ts 3)npm run check: 0 errors, 20 pre-existing a11y warningsnpm run build: successUploadActivityController/UploadActivitySession): bare JSON array,derivedStatus, flat camelCase counts,receivingFileNames; SSEupload_activity_changedpayload{sessionId}— client matches; no code fixes needed.