MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / normalize.test.ts

File normalize.test.ts

packages/cli/src/whisper/normalize.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, afterEach } from "vitest";
2import { writeFileSync, readFileSync, mkdirSync, rmSync } from "node:fs";
3import { join } from "node:path";
4import { tmpdir } from "node:os";

Callers

nothing calls this directly

Calls 11

detectFormatFunction · 0.85
loadTranscriptFunction · 0.85
formatSrtFunction · 0.85
formatVttFunction · 0.85
wordsToCuesFunction · 0.85
patchCaptionHtmlFunction · 0.85
makeSyntheticWavFunction · 0.85
detectSpeechOnsetFunction · 0.85
stripBeforeOnsetFunction · 0.85
nowMethod · 0.80
tmpFileFunction · 0.70

Tested by

no test coverage detected