Files
hyperframes/packages/core/vitest.config.ts
T
Miguel Ángel 2c1a10f3ad fix(core): Safari keeps playing edits' audio without seeks or rate changes (#6888)
* 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
2026-11-01 03:08:27 +00:00

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,
},
},
},
});