refactor(auto-thumbnail): [PKG-AUTO-THUMB-10] own JPEG encoding cancellation and deadlines

This commit is contained in:
Harvey Zhao committed 2026-09-14 11:55:05 +08:00
1 parent afb632d16f
commit 4acf85ea69
21 files changed
+652 -35

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ for (const order of ['seek-first', 'frame-first']) {
env.present()
else env.seeked()
assert.equal(env.blobs.length, 1)
assert.equal(env.timers.size, 0)
assert.equal(env.timers.size, 1, 'Encoding now owns a deadline after the frame wait ends')
seeked()
frame()
assert.equal(env.blobs.length, 1)