Skip to content

Commit

Permalink
🐛 fix: Test CI and Release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed May 4, 2024
1 parent e0c82c8 commit 1db3b59
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ exports[`agentSelectors > defaultAgentConfig > should merge DEFAULT_AGENT_CONFIG
"systemRole": "user",
"tts": {
"showAllLocaleVoice": false,
"sttLocale": "auto",
"ttsService": "openai",
"sttLocale": "en-US",
"ttsService": "edge",
"voice": {
"openai": "alloy",
"edge": "en-US-JennyNeural",
},
},
}
Expand Down
4 changes: 2 additions & 2 deletions src/store/agent/slices/chat/selectors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('agentSelectors', () => {
},
} as AgentStore;
const ttsVoice = agentSelectors.currentAgentTTSVoice('en')(modifiedStore);
expect(ttsVoice).toBe('ar-SA-HamedNeural');
expect(ttsVoice).toBe('en-US-JennyNeural');
});

it('should return the default voice for microsoft TTS service', () => {
Expand All @@ -128,7 +128,7 @@ describe('agentSelectors', () => {
},
} as AgentStore;
const ttsVoice = agentSelectors.currentAgentTTSVoice('en')(modifiedStore);
expect(ttsVoice).toBe('ar-SA-HamedNeural');
expect(ttsVoice).toBe('en-US-JennyNeural');
});

it('should return the first voice if the specified voice does not exist', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ exports[`settingsSelectors > currentSettings > should merge DEFAULT_SETTINGS and
"systemRole": "",
"tts": {
"showAllLocaleVoice": false,
"sttLocale": "auto",
"ttsService": "openai",
"sttLocale": "en-US",
"ttsService": "edge",
"voice": {
"openai": "alloy",
"edge": "en-US-JennyNeural",
},
},
},
Expand Down Expand Up @@ -85,10 +86,11 @@ exports[`settingsSelectors > defaultAgent > should merge DEFAULT_AGENT and s.set
"systemRole": "user",
"tts": {
"showAllLocaleVoice": false,
"sttLocale": "auto",
"ttsService": "openai",
"sttLocale": "en-US",
"ttsService": "edge",
"voice": {
"openai": "alloy",
"edge": "en-US-JennyNeural",
},
},
},
Expand Down
5 changes: 3 additions & 2 deletions src/store/user/slices/settings/selectors/selectors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ describe('settingsSelectors', () => {
params: {},
tts: {
showAllLocaleVoice: false,
sttLocale: 'auto',
ttsService: 'openai',
sttLocale: 'en-US',
ttsService: 'edge',
voice: {
openai: 'alloy',
edge: 'en-US-JennyNeural',
},
},
},
Expand Down

0 comments on commit 1db3b59

Please sign in to comment.