From c076052f48d38d54534a92c3b20619f38cddf02f Mon Sep 17 00:00:00 2001 From: Adrienne Walker Date: Wed, 13 Dec 2023 11:58:00 -0800 Subject: [PATCH] oopsy: fix test errors on TODO abilities (#6001) --- test/helper/test_oopsy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/helper/test_oopsy.ts b/test/helper/test_oopsy.ts index 2711dbcab2..b71ccf99a1 100644 --- a/test/helper/test_oopsy.ts +++ b/test/helper/test_oopsy.ts @@ -155,6 +155,9 @@ const testOopsyFile = (file: string, info: OopsyTriggerSetInfo) => { const abilityIdToId: { [abilityid: string]: string } = {}; for (const field of oopsyMistakeMapKeys) { for (const [id, abilityId] of Object.entries(triggerSet[field] ?? {})) { + // Ignore TODOs from `util/sync_files.ts` that haven't been filled out. + if (abilityId.startsWith('TODO')) + continue; const prevId = abilityIdToId[abilityId]; if (prevId === undefined) { abilityIdToId[abilityId] = id;