diff --git a/src/voice/gevActions.test.mjs b/src/voice/gevActions.test.mjs index 98bc786db..3b421e340 100644 --- a/src/voice/gevActions.test.mjs +++ b/src/voice/gevActions.test.mjs @@ -1954,7 +1954,11 @@ test('showing a layer opens the panel that holds its row: Directions lives in Ut const focused = []; const rowIn = (panelId) => ({ dataset: { layerName: panelId === 'utilities-panel' ? 'Directions' : 'Live Flights' }, - classList: { add: (name) => focused.push(name), remove() {} }, + classList: { + add: (name) => focused.push(name), + remove() {}, + contains: () => false, + }, scrollIntoView() {}, closest: (selector) => (selector === '[data-panel-id]' ? { id: panelId } : null), });