Fix SCUM gift catalog visibility
This commit is contained in:
@@ -346,9 +346,13 @@ describe("SCUM plugin feature module", () => {
|
||||
it("shows Chinese catalog names and searches through the translated name", () => {
|
||||
const aloe = scumCatalogEntries.find((item) => item.code === "Aloe_Vera")!;
|
||||
const vehicle = scumCatalogEntries.find((item) => item.code === "BPC_Laika")!;
|
||||
const bigBackpack = scumCatalogEntries.find((item) => item.code === "Improvised_Backpack_Big")!;
|
||||
const militaryHelmet = scumCatalogEntries.find((item) => item.code === "Military_Helmet_01_01")!;
|
||||
expect(scumCatalogDisplayName(aloe)).toBe("芦荟");
|
||||
expect(scumCatalogDisplayName(vehicle)).toBe("莱卡");
|
||||
expect(scumCatalogSearchText(aloe)).toContain("芦荟");
|
||||
expect(scumCatalogSearchText(bigBackpack)).toContain("大背包");
|
||||
expect(scumCatalogSearchText(militaryHelmet)).toContain("军用头盔");
|
||||
});
|
||||
|
||||
it("uses catalog spawn commands for mixed gift contents", async () => {
|
||||
|
||||
Reference in New Issue
Block a user