fix(web): Web 检查 - 格式化拆分模块并修正源码断言

拆分出的前端模块未按 Prettier 格式化导致 CI 格式检查失败;源码断言改为忽略空白差异,导演台引导组件恢复别名导入。同时移除误提交的分析草稿、pnpm 锁文件和调试测试。
This commit is contained in:
ddcat666
2026-09-30 10:32:17 +08:00
parent 7f5d87ef1a
commit fda3b84277
22 changed files with 1197 additions and 2137 deletions

View File

@@ -131,7 +131,7 @@ describe("creation library button", () => {
const createSource = readCreateWorkspaceSource();
expect(assets).toContain("resolveResourceUrl(asset.data.storageKey");
expect(createSource).toContain("<CachedResourceImage storageKey={item.storageKey}");
expect(createSource.replace(/\s+/g, " ")).toContain("<CachedResourceImage storageKey={item.storageKey}");
expect(createSource).toContain("resolveResourceUrl(item.storageKey, item.previewUrl)");
});