refactor(*): 平台架构 - 拆分后端领域模块与画布前端组件并补充测试
This commit is contained in:
1 parent
e0a2697c60
commit
7f5d87ef1a
186 files changed
+33727
-29905
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { describe, expect, test } from "bun:test";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { resolve } from "node:path";
|
||||
import { moduleGroupSource } from "./helpers/module-group-source";
|
||||
|
||||
describe("asset library category sidebar", () => {
|
||||
test("keeps type, business and folder filters in a left-hand nav", () => {
|
||||
const page = readFileSync(resolve(import.meta.dir, "../src/pages/assets/index.tsx"), "utf8");
|
||||
const page = moduleGroupSource("pages/assets/index.tsx");
|
||||
const css = readFileSync(resolve(import.meta.dir, "../src/styles/workspace-product.css"), "utf8");
|
||||
expect(page).toContain('className="assets-collection-layout"');
|
||||
expect(page).toContain('aria-label="素材分类"');
|
||||
|
||||
Reference in new issue
Block a user