fix(merge): 本地整合 - 保留主分支交互与样式并排除不安全用户删除

This commit is contained in:
ddCat committed 2026-09-07 23:02:34 +08:00
commit 14adaa1e99
100 files changed
+4845 -865

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ import { resolve } from "node:path";
describe("assets page batch toolbar", () => {
test("places select all before cancel selection", () => {
const source = readFileSync(resolve(import.meta.dir, "../src/pages/assets/index.tsx"), "utf8");
const selectAllIndex = source.indexOf(">全选</Button>");
const clearSelectionIndex = source.indexOf(">取消选择</Button>");
const selectAllIndex = source.search(/>\s*全选\s*<\/Button>/);
const clearSelectionIndex = source.search(/>\s*取消选择\s*<\/Button>/);
expect(selectAllIndex).toBeGreaterThanOrEqual(0);
expect(clearSelectionIndex).toBeGreaterThanOrEqual(0);