Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions web/src/components/WSAudioPlayer.hotkeys.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ jest.mock('react-redux', () => ({
microphoneDisconnectedFallback:
'The preferred microphone was disconnected. Default microphone selected.',
mustBeOnline: 'You must be online to use this feature',
expiredToken:
"Your login token has expired and can't be automatically renewed. Please log out and login again.",
getString: (key: string) => key,
}),
shallowEqual: jest.fn(),
Expand Down Expand Up @@ -989,10 +987,10 @@ describe('WSAudioPlayer record hotkeys', () => {
);
});

it('shows the token message when AI is skipped with no token', async () => {
it('shows the online message when AI is skipped with no token', async () => {
await deliverAiError(new AudioAiError(AudioAiErrorCode.noToken));
expect(mockShowMessage).toHaveBeenCalledWith(
"Your login token has expired and can't be automatically renewed. Please log out and login again.",
'You must be online to use this feature',
'error'
);
});
Expand Down
Loading