Skip to content

Commit

Permalink
feat: Add start speak audio event and cleanup deprecate html parsing …
Browse files Browse the repository at this point in the history
…to use plugin
  • Loading branch information
tjtanjin committed Feb 24, 2025
1 parent 07fb80d commit 7f1e9a1
Show file tree
Hide file tree
Showing 22 changed files with 159 additions and 525 deletions.
1 change: 1 addition & 0 deletions __tests__/__mocks__/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const MockDefaultSettings = {
rcbRemoveMessage: true,
rcbLoadChatHistory: true,
rcbToggleChatWindow: true,
rcbStartSpeakAudio: true,
rcbToggleAudio: true,
rcbToggleNotifications: true,
rcbToggleVoice: true,
Expand Down
4 changes: 3 additions & 1 deletion __tests__/hooks/internal/useAudioInternal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,6 @@ describe("useAudioInternal Hook", () => {
// checks if audio state stayed the same
expect(result.current.audioToggledOn).toBe(initialAudioToggledOn);
});
});

// todo: add test case to test speakAudio as well
});
Loading

0 comments on commit 7f1e9a1

Please sign in to comment.