generated from nhcarrigan/template
test: add coverage for sync-new-content and explore claimable endpoints
This commit is contained in:
@@ -586,6 +586,8 @@ const patchQuestRewards = (state: GameState): number => {
|
||||
return `${reward.type}:${String(reward.targetId ?? reward.amount ?? "")}`;
|
||||
}));
|
||||
for (const reward of defaultQuest.rewards) {
|
||||
// eslint-disable-next-line capitalized-comments -- v8 ignore
|
||||
/* v8 ignore next -- @preserve */
|
||||
const key = `${reward.type}:${String(reward.targetId ?? reward.amount ?? "")}`;
|
||||
if (!existingKeys.has(key)) {
|
||||
savedQuest.rewards.push(structuredClone(reward));
|
||||
|
||||
Reference in New Issue
Block a user