Skip to content

Commit 308dcf4

Browse files
ci: apply automated fixes
1 parent 4646eaf commit 308dcf4

2 files changed

Lines changed: 43 additions & 7 deletions

File tree

testing/e2e/global-setup.ts

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,44 @@ function elevenLabsSTTMount(): Mountable {
185185
audio_duration_secs: 2.4,
186186
words: [
187187
{ text: 'I', start: 0, end: 0.1, type: 'word', logprob: -0.01 },
188-
{ text: 'would', start: 0.1, end: 0.3, type: 'word', logprob: -0.02 },
189-
{ text: 'like', start: 0.3, end: 0.5, type: 'word', logprob: -0.03 },
188+
{
189+
text: 'would',
190+
start: 0.1,
191+
end: 0.3,
192+
type: 'word',
193+
logprob: -0.02,
194+
},
195+
{
196+
text: 'like',
197+
start: 0.3,
198+
end: 0.5,
199+
type: 'word',
200+
logprob: -0.03,
201+
},
190202
{ text: 'to', start: 0.5, end: 0.6, type: 'word', logprob: -0.01 },
191203
{ text: 'buy', start: 0.6, end: 0.8, type: 'word', logprob: -0.02 },
192204
{ text: 'a', start: 0.8, end: 0.9, type: 'word', logprob: -0.01 },
193-
{ text: 'Fender', start: 0.9, end: 1.3, type: 'word', logprob: -0.04 },
194-
{ text: 'Stratocaster', start: 1.3, end: 2.0, type: 'word', logprob: -0.06 },
195-
{ text: 'please', start: 2.0, end: 2.4, type: 'word', logprob: -0.03 },
205+
{
206+
text: 'Fender',
207+
start: 0.9,
208+
end: 1.3,
209+
type: 'word',
210+
logprob: -0.04,
211+
},
212+
{
213+
text: 'Stratocaster',
214+
start: 1.3,
215+
end: 2.0,
216+
type: 'word',
217+
logprob: -0.06,
218+
},
219+
{
220+
text: 'please',
221+
start: 2.0,
222+
end: 2.4,
223+
type: 'word',
224+
logprob: -0.03,
225+
},
196226
],
197227
}),
198228
)

testing/e2e/tests/audio-gen.spec.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ for (const provider of PROVIDERS) {
2020
await page.goto(
2121
featureUrl(provider, 'audio-gen', testId, aimockPort, 'fetcher'),
2222
)
23-
await fillPrompt(page, '[music] an upbeat lo-fi beat for the guitar store')
23+
await fillPrompt(
24+
page,
25+
'[music] an upbeat lo-fi beat for the guitar store',
26+
)
2427
await clickGenerate(page)
2528
await waitForGenerationComplete(page)
2629
const audio = page.getByTestId('generated-audio')
@@ -35,7 +38,10 @@ for (const provider of PROVIDERS) {
3538
await page.goto(
3639
featureUrl(provider, 'audio-gen', testId, aimockPort, 'sse'),
3740
)
38-
await fillPrompt(page, '[music] an upbeat lo-fi beat for the guitar store')
41+
await fillPrompt(
42+
page,
43+
'[music] an upbeat lo-fi beat for the guitar store',
44+
)
3945
await clickGenerate(page)
4046
await waitForGenerationComplete(page)
4147
const audio = page.getByTestId('generated-audio')

0 commit comments

Comments
 (0)