feedback5 CB1: item 43 follow-up — the two tests that pinned 凯瑟琳's old shop-level cap (bands.test.js, ui/feedback1-offers.test.js) now check shop items of any tier

No product change; golden unchanged.
This commit is contained in:
sganggs committed 2026-10-07 02:38:16 +08:00
1 parent 5cfa802aee
commit 3e13bb4436
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -76,7 +76,8 @@ describe('#6 the server names its offers (m.private shop.rewardOffer source / la
for (const s of offer.slots) {
assert.equal(s.kind, 'item');
assert.equal(s.price, 0);
assert.ok(DATA.items[s.id] && DATA.items[s.id].itemType === 'EQUIP' && DATA.items[s.id].tier <= ps.shop.level, s.id);
// any tier since 0.2.0 (community report of 2026-10-06: 「原版凯瑟琳1升2都能有6本装备」), shop items only
assert.ok(DATA.items[s.id] && DATA.items[s.id].itemType === 'EQUIP' && !DATA.items[s.id].shopExcluded, s.id);
}
const want = offer.slots[1].id;
const funds = ps.funds;