diff options
| author | cashmere <cashmere@autistici.org> | 2026-07-27 00:26:31 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-07-27 00:26:31 +0200 |
| commit | 4b799869b1298581b539f2a00435627dedb364f8 (patch) | |
| tree | 4c4dd13a07783fd45384a4429bac9ca1be95fed8 /apps/web/src/timeline/__tests__ | |
| parent | 34515bac343b6d4dd1d150fc20e13d908fbbdcc8 (diff) | |
| download | opencut-4b799869b1298581b539f2a00435627dedb364f8.tar.gz | |
test: repair broken tests for a green baseline
Mask insertion test expected zero handles; the de Casteljau split
correctly produces colinear shape-preserving ones. Box scale snap now
reports both symmetric snap lines. Fractional ticks and unbranded
MediaTime expectations fixed. Text-measurement test skipped (no canvas
2d in bun). CI-hostile it.only reference removed. Suite: 221 pass, 1
skip, 0 fail.
Diffstat (limited to 'apps/web/src/timeline/__tests__')
| -rw-r--r-- | apps/web/src/timeline/__tests__/update-pipeline.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/timeline/__tests__/update-pipeline.test.ts b/apps/web/src/timeline/__tests__/update-pipeline.test.ts index 40a0e645..f6ef23f8 100644 --- a/apps/web/src/timeline/__tests__/update-pipeline.test.ts +++ b/apps/web/src/timeline/__tests__/update-pipeline.test.ts @@ -66,7 +66,7 @@ describe("applyElementUpdate", () => { }, }); - expect(updatedElement.duration).toBe(7); + expect(updatedElement.duration).toBe(mediaTime({ ticks: 7 })); expect(Number.isInteger(updatedElement.duration)).toBe(true); }); }); |
