style: 优化个人中心和偏好设置弹窗样式,重构工作入口为精致分屏布局并移除首字徽标
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { resolve } from "node:path";
|
||||
|
||||
const readIndexHtml = () => readFileSync(resolve(__dirname, "../index.html"), "utf8");
|
||||
|
||||
describe("app bootstrap shell", () => {
|
||||
it("renders a lightweight startup placeholder before Vue mounts", () => {
|
||||
const source = readIndexHtml();
|
||||
|
||||
expect(source).toContain('<div id="app">');
|
||||
expect(source).toContain("ctms-boot-splash");
|
||||
expect(source).toContain("正在启动 CTMS");
|
||||
expect(source).toContain("正在加载桌面客户端");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user