fix(jassub): [PKG-JASSUB-07] repair vendor lifecycle and subtitle frame clock

This commit is contained in:
Harvey Zhao committed 2026-09-14 02:17:24 +08:00
1 parent 5e445b1af6
commit 0f3c068aae
29 files changed
+14064 -267

No files matched your search

+2 -2
View File
@@ -59,12 +59,12 @@ for (const implementation of implementations) {
assert.equal(result.instance.resize(640, 360, 4, 5, false), undefined)
assert.equal(result.instance.setVideo(option.video), undefined)
assert.equal(result.instance.setTrack('[Script Info]'), undefined)
assert.equal(result.instance.destroy(), undefined)
await env.flush()
assert.equal(env.workers[0].terminated, 1)
const resize = env.workers[0].messages.find(message => message.target === 'canvas')
assert.equal(resize.width, 640)
assert.equal(resize.height, 360)
assert.equal(result.instance.destroy(), undefined)
assert.equal(env.workers[0].terminated, 1)
})
test(`JASSUB ${implementation.name}: omitted options retain worker and font defaults`, async () => {
const env = jassubEnvironment(implementation)