LOADING…
0%
Complete changelog

Commit

Bootstrap frontend unit tests with bun:test; cover token-refresh logic

Commit details

Commit notes

Ten behavioral tests for eden.ts using Bun's built-in runner (no new dependencies): storage round-trip, single-flight refresh dedup (two concurrent refreshes -> one request), token preservation on network errors vs clearing + auth:expired on definitive rejection, SSE ticket preference with legacy-token fallback, and authFetch header injection. Adds the frontend "test" script that the CI frontend job runs.

[private session redacted]

Files changed
2
Lines added
+165
Lines removed
−0
This page is a permanent record of commit 7dd4503d.