Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
test(web): add AssemblyAI edit transcript fixture
Richie McIlroy3826f3da582a
diff --git a/apps/web/__tests__/fixtures/assemblyai-edit-response.ts b/apps/web/__tests__/fixtures/assemblyai-edit-response.tsnew file mode 100644index 000000000..de441cfce--- /dev/null+++ b/apps/web/__tests__/fixtures/assemblyai-edit-response.ts@@ -0,0 +1,107 @@+export const assemblyAIEditResponse = {+ id: "transcript_edit_fixture",+ status: "completed",+ speech_model_used: "universal-3-5-pro",+ language_code: "en",+ words: [+ {+ text: "Um,",+ start: 120,+ end: 380,+ confidence: 0.98,+ speaker: "A",+ channel: null,+ },+ {+ text: "this",+ start: 520,+ end: 720,+ confidence: 0.99,+ speaker: "A",+ channel: null,+ },+ {+ text: "is",+ start: 730,+ end: 840,+ confidence: 0.99,+ speaker: "A",+ channel: null,+ },+ {+ text: "a",+ start: 850,+ end: 910,+ confidence: 0.99,+ speaker: "A",+ channel: null,+ },+ {+ text: "real",+ start: 930,+ end: 1130,+ confidence: 0.99,+ speaker: "A",+ channel: null,+ },+ {+ text: "example.",+ start: 1140,+ end: 1510,+ confidence: 0.99,+ speaker: "A",+ channel: null,+ },+ {+ text: "Erm",+ start: 2300,+ end: 2570,+ confidence: 0.93,+ speaker: "A",+ channel: null,+ },+ {+ text: "nothing",+ start: 2700,+ end: 3070,+ confidence: 0.98,+ speaker: "A",+ channel: null,+ },+ {+ text: "else.",+ start: 3090,+ end: 3400,+ confidence: 0.98,+ speaker: "A",+ channel: null,+ },+ ] as const,+} as const;++export const assemblyAIRealFillerResponse = {+ id: "sanitized_real_filler_response",+ status: "completed",+ speech_model_used: "universal-2",+ language_code: "en",+ words: [+ { text: "Hey,", start: 960, end: 1280, confidence: 0.98779297 },+ { text: "my", start: 1280, end: 1560, confidence: 0.9995117 },+ { text: "name's", start: 1560, end: 1880, confidence: 0.9082031 },+ { text: "Richie,", start: 1880, end: 2320, confidence: 0.9448242 },+ { text: "and", start: 2320, end: 2520, confidence: 0.99560547 },+ { text: "this", start: 2520, end: 2680, confidence: 0.9995117 },+ { text: "is", start: 2680, end: 2880, confidence: 0.9970703 },+ { text: "my,", start: 2880, end: 3200, confidence: 0.9995117 },+ { text: "um,", start: 3460, end: 3980, confidence: 0.9959265 },+ { text: "test", start: 3980, end: 4320, confidence: 0.99902344 },+ { text: "from", start: 4320, end: 4600, confidence: 0.99902344 },+ { text: "the", start: 4600, end: 4800, confidence: 0.99853516 },+ { text: "CAP", start: 4800, end: 5120, confidence: 0.95458984 },+ { text: "Mobile", start: 5120, end: 5680, confidence: 0.99658203 },+ { text: "app.", start: 5680, end: 5760, confidence: 0.6508789 },+ { text: "Uh,", start: 5760, end: 7240, confidence: 0.9857637 },+ { text: "say", start: 7240, end: 7360, confidence: 0.9975586 },+ { text: "hello,", start: 7360, end: 7640, confidence: 0.99975586 },+ ] as const,+} as const;