chore(release): 0.15.0

This commit is contained in:
2026-05-28 19:46:05 -07:00
parent 889dc9c009
commit 38dbce517c
52 changed files with 226 additions and 262 deletions
+4 -1
View File
@@ -295,6 +295,9 @@ test('prefetch service deduplicates repeated cue text within a run', async () =>
}
service.stop();
assert.deepEqual(tokenizedTexts.filter((text) => text === 'same'), ['same']);
assert.deepEqual(
tokenizedTexts.filter((text) => text === 'same'),
['same'],
);
assert.ok(tokenizedTexts.includes('other'));
});
+7 -2
View File
@@ -122,7 +122,10 @@ test('autoplay subtitle prime prefers cached annotated payload before raw fallba
);
assert.match(actionBlock, /if \(cachedPayload\) \{/);
assert.match(actionBlock, /emitSubtitlePayload\(cachedPayload\);/);
assert.match(actionBlock, /const rawPayload = withCurrentSubtitleTiming\(\{ text, tokens: null \}\);/);
assert.match(
actionBlock,
/const rawPayload = withCurrentSubtitleTiming\(\{ text, tokens: null \}\);/,
);
assert.ok(
actionBlock.indexOf('consumeCachedSubtitle(text)') <
actionBlock.indexOf('withCurrentSubtitleTiming({ text, tokens: null })'),
@@ -144,7 +147,9 @@ test('known-word updates invalidate prefetched tokenizations before refreshing c
);
assert.ok(
actionBlock.indexOf('subtitleProcessingController.invalidateTokenizationCache();') <
actionBlock.indexOf('subtitleProcessingController.refreshCurrentSubtitle(appState.currentSubText);'),
actionBlock.indexOf(
'subtitleProcessingController.refreshCurrentSubtitle(appState.currentSubText);',
),
);
});