fix: clarify SCUM gift list

This commit is contained in:
npc0-hue
2026-09-20 15:41:26 +08:00
parent 4b7739a274
commit a10878deee
3 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ describe("SCUM plugin feature module", () => {
expect(definitions.texts).not.toContain("物品列表");
expect(definitions.texts).toContain("Starter Pack");
expect(definitions.texts).not.toContain("Cargo Drop");
expect(definitions.texts).toEqual(expect.arrayContaining(["礼包", "领取规则", "礼包内容", "次数 / 门槛", "状态", "最近更新", "操作"]));
expect(definitions.texts).toEqual(expect.arrayContaining(["礼包", "礼包内容", "领取规则", "状态 / 更新时间", "操作"]));
expect(definitions.buttons.find((button) => button.label === "新建礼包")?.disabled).toBe(false);
expect(definitions.buttons.map((button) => button.label)).toEqual(expect.arrayContaining(["查看配置", "编辑礼包"]));
expect(definitions.buttons.find((button) => button.label === "保存礼包")).toBeUndefined();