Skip to content

Commit e56d364

Browse files
committed
test: fix grouping
1 parent 207cb5c commit e56d364

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/component/src/providers/TranscriptFocus/TranscriptFocusComposer.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/** @jest-environment @happy-dom/jest-environment */
22
/* eslint-disable security/detect-object-injection */
3-
43
/* eslint no-magic-numbers: "off" */
54

5+
import 'core-js/features/set/index.js';
6+
67
import React, { useContext, useMemo } from 'react';
78
import { render, unmountComponentAtNode } from 'react-dom';
89
import { act } from 'react-dom/test-utils';
@@ -69,8 +70,7 @@ describe('TranscriptFocusComposer - focusRelativeActivity', () => {
6970
const groups = new Map();
7071
for (const [activityKey, groupKey] of Object.entries(config.groupKeyMappings)) {
7172
const group = groups.get(groupKey) ?? {
72-
id: groupKey,
73-
name: `Group for ${groupKey}`,
73+
key: groupKey,
7474
activityKeys: [],
7575
getGroupState: () => config.groupStates[groupKey]
7676
};

0 commit comments

Comments
 (0)