first commit

This commit is contained in:
npc0-hue
2026-07-11 14:56:10 +08:00
commit 7e05d0a4e7
660 changed files with 78119 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it } from "vitest";
import { App } from "./App";
describe("App", () => {
it("renders a visible authentication loading state before the session resolves", () => {
const html = renderToStaticMarkup(<App />);
expect(html).toContain("正在加载身份状态");
expect(html).toContain("auth-shell");
expect(html).not.toContain("blank");
});
});