style: apply oxfmt baseline formatting across all source files (#25)

## Summary
- Run `oxfmt .` across the entire codebase to establish formatted baseline
- 299 files changed — mechanical formatting only, no logic changes
- Double quotes, semicolons, 2-space indent, trailing commas, 100 print width

Part 3/4 of [VA-851](https://linear.app/heygen/issue/VA-851/pre-migration-configure-eslint-prettier-and-conventional-commits)

## Test plan
- [x] `pnpm format:check` — all 426 files pass
- [x] `pnpm -r typecheck` — all packages pass
- [x] `pnpm build` — all packages build
- [x] All 348 tests pass
This commit is contained in:
Vance Ingalls
2026-03-23 17:15:14 -07:00
committed by GitHub
parent 323ff8f860
commit 20be2ea1c2
299 changed files with 27750 additions and 16792 deletions
@@ -21,7 +21,11 @@ function createLottieWebAnim(opts?: { totalFrames?: number; frameRate?: number }
};
}
function createDotLottiePlayer(opts?: { totalFrames?: number; frameRate?: number; duration?: number }) {
function createDotLottiePlayer(opts?: {
totalFrames?: number;
frameRate?: number;
duration?: number;
}) {
return {
play: vi.fn(),
pause: vi.fn(),
+5 -1
View File
@@ -156,7 +156,11 @@ export function createLottieAdapter(): RuntimeDeterministicAdapter {
// ── Type guards ────────────────────────────────────────────────────────────────
function isLottieWebAnimation(anim: unknown): anim is LottieWebAnimation {
return typeof anim === "object" && anim !== null && typeof (anim as LottieWebAnimation).goToAndStop === "function";
return (
typeof anim === "object" &&
anim !== null &&
typeof (anim as LottieWebAnimation).goToAndStop === "function"
);
}
function isDotLottiePlayer(anim: unknown): anim is DotLottiePlayer {
@@ -54,7 +54,9 @@ describe("waapi adapter", () => {
it("handles animation that throws on pause", () => {
const mockAnim = {
pause: vi.fn(() => { throw new Error("invalid state"); }),
pause: vi.fn(() => {
throw new Error("invalid state");
}),
currentTime: 0,
};
(document as any).getAnimations = vi.fn(() => [mockAnim]);