移除QA预设角色并收紧角色模板编辑
This commit is contained in:
@@ -27,4 +27,11 @@ describe("PermissionTemplateSelector", () => {
|
||||
expect(source).toContain("const perms = props.currentPermissions?.[role];");
|
||||
expect(source).toContain("emit('edit-role', template.category!)");
|
||||
});
|
||||
|
||||
it("does not define QA as a preset role label or icon", () => {
|
||||
const source = readSource();
|
||||
|
||||
expect(source).not.toContain('QA: "QA"');
|
||||
expect(source).not.toContain('QA: "✅"');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user