源码快照 @ 2026-09-02 (source-only, 剔除非源码素材)

This commit is contained in:
agent-radar
2026-09-02 01:05:41 +08:00
commit 04bac1f6e2
2200 changed files with 489415 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { describe, expect, test } from "bun:test";
import { bootOverlayCanHide } from "../src/react-app/shell/boot-state";
describe("boot overlay visibility", () => {
test("waits for both boot and route readiness", () => {
expect(bootOverlayCanHide("ready", false)).toBe(false);
expect(bootOverlayCanHide("starting-engine", true)).toBe(false);
expect(bootOverlayCanHide("ready", true)).toBe(true);
expect(bootOverlayCanHide("idle", true)).toBe(true);
});
});