Skip to content

Commit c3d8e89

Browse files
committed
test(voice): fix TS mock signature for fetchVoices
1 parent 784ff11 commit c3d8e89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/routes/settings/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ vi.mock('@/lib/voices', () => ({
115115

116116
// Mock fetchVoices to return a resolved list by default
117117
vi.mock('@/api/voice', () => ({
118-
fetchVoices: (...args: unknown[]) => mockFetchVoices(...args),
118+
fetchVoices: mockFetchVoices,
119119
fetchVoiceToken: vi.fn(() => Promise.resolve({ allowed: true, token: 'tok' })),
120120
}))
121121

0 commit comments

Comments
 (0)