Skip to content

Commit cc91645

Browse files
committed
update useRecording test mock
1 parent a26d4a8 commit cc91645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hooks/useRecording.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jest.mock('../../src/DailyRoom', () => ({
2424

2525
const localId = faker.datatype.uuid();
2626

27-
jest.mock('../../src/hooks/useLocalParticipant', () => ({
28-
useLocalParticipant: () => ({ session_id: localId }),
27+
jest.mock('../../src/hooks/useLocalSessionId', () => ({
28+
useLocalSessionId: () => localId,
2929
}));
3030

3131
const createWrapper =

0 commit comments

Comments
 (0)