mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* test(player): play the WebKit audio edits in real Safari on a macOS runner * fix(core): Safari keeps playing edits' audio without seeks or rate changes * fix(core): keep the 0.1 s audio sync bound outside WebKit * fix(core): restore main's audio steering outside WebKit * fix(core): tell WebKit from the test DOM's user agent * fix(core): name WebKit's audio start lag instead of commenting it * fix(core): count embedded WKWebViews as WebKit for audio sync
28 lines
658 B
TypeScript
28 lines
658 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ["src/**/*.test.ts"],
|
|
environment: "jsdom",
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
include: ["src/runtime/**/*.ts"],
|
|
exclude: [
|
|
"src/runtime/**/*.test.ts",
|
|
"src/runtime/types.ts",
|
|
"src/runtime/window.d.ts",
|
|
"src/runtime/entry.ts",
|
|
"src/runtime/README.md",
|
|
],
|
|
thresholds: {
|
|
// Enforced in CI — these are floor values, not targets
|
|
statements: 75,
|
|
branches: 70,
|
|
functions: 80,
|
|
lines: 75,
|
|
},
|
|
},
|
|
},
|
|
});
|