Skip to content

Commit 92bb96b

Browse files
committed
Rename Fransesca in tests
1 parent 58390f2 commit 92bb96b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/WebSpeechVoiceManager/initialization.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,36 +158,36 @@ testWithContext("initialization: keeps all voices by default", async (t: Executi
158158
testWithContext("initialization: quality inference: infers quality from nativeID when voiceURI has no indicators", async (t: ExecutionContext<TestContext>) => {
159159
const manager = t.context.manager;
160160

161-
// Test Francesca voice from es.json which has nativeID with "enhanced"
161+
// Test Francisca voice from es.json which has nativeID with "enhanced"
162162
// Use plain voiceURI to force nativeID quality inference
163163
const testVoice = {
164164
voiceURI: "plain.voice.uri", // No package indicators
165-
name: "Francesca", // Must match the JSON voice name exactly
165+
name: "Francisca", // Must match the JSON voice name exactly
166166
lang: "es-CL", // Must match the JSON voice language
167167
localService: true,
168168
default: false
169169
};
170170

171-
// Parse the voice - it should find Francesca in es.json and infer quality from nativeID
171+
// Parse the voice - it should find Francisca in es.json and infer quality from nativeID
172172
const voices = await (manager as any).parseToReadiumSpeechVoices([testVoice]);
173173

174174
// Should infer "normal" quality from "enhanced" in nativeID array
175-
t.is(voices[0].quality, "normal", "Should infer 'normal' quality from 'enhanced' in Francesca's nativeID");
175+
t.is(voices[0].quality, "normal", "Should infer 'normal' quality from 'enhanced' in Francisca's nativeID");
176176
});
177177

178178
testWithContext("initialization: quality inference: voiceURI takes precedence over nativeID", async (t: ExecutionContext<TestContext>) => {
179179
const manager = t.context.manager;
180180

181-
// Test Francesca voice with compact in voiceURI (should take precedence over nativeID enhanced)
181+
// Test Francisca voice with compact in voiceURI (should take precedence over nativeID enhanced)
182182
const testVoice = {
183-
voiceURI: "com.apple.speech.synthesis.voice.compact.Francesca", // compact should infer "low"
184-
name: "Francesca", // Must match the JSON voice name exactly
183+
voiceURI: "com.apple.speech.synthesis.voice.compact.Francisca", // compact should infer "low"
184+
name: "Francisca", // Must match the JSON voice name exactly
185185
lang: "es-CL", // Must match the JSON voice language
186186
localService: true,
187187
default: false
188188
};
189189

190-
// Parse the voice - it should find Francesca but use voiceURI quality (takes precedence)
190+
// Parse the voice - it should find Francisca but use voiceURI quality (takes precedence)
191191
const voices = await (manager as any).parseToReadiumSpeechVoices([testVoice]);
192192

193193
// Should infer "low" from voiceURI, not "normal" from nativeID (voiceURI takes precedence)

0 commit comments

Comments
 (0)