chore(release): prepare v0.16.0

This commit is contained in:
2026-06-10 23:05:37 -07:00
parent e2afceb492
commit 131b23efa9
24 changed files with 222 additions and 108 deletions
@@ -845,10 +845,22 @@ test('getTrendsDashboard redacts legacy Jellyfin stream titles', () => {
];
assert.deepEqual([...new Set(titles)], ['Jellyfin Video']);
assert.equal(titles.some((title) => title.includes('api_key=')), false);
assert.equal(titles.some((title) => title.includes('api key')), false);
assert.equal(titles.some((title) => title.includes('secret-token')), false);
assert.equal(titles.some((title) => title.includes('stream?')), false);
assert.equal(
titles.some((title) => title.includes('api_key=')),
false,
);
assert.equal(
titles.some((title) => title.includes('api key')),
false,
);
assert.equal(
titles.some((title) => title.includes('secret-token')),
false,
);
assert.equal(
titles.some((title) => title.includes('stream?')),
false,
);
} finally {
db.close();
cleanupDbPath(dbPath);
+3 -1
View File
@@ -106,7 +106,9 @@ test('handleMpvCommandFromIpc emits resolved feedback for secondary subtitle tra
await new Promise((resolve) => setImmediate(resolve));
assert.deepEqual(sentCommands, [['set_property', 'secondary-sid', 'auto']]);
assert.deepEqual(osd, []);
assert.deepEqual(playbackFeedback, ['Secondary subtitle track: External #8 - English Commentary']);
assert.deepEqual(playbackFeedback, [
'Secondary subtitle track: External #8 - English Commentary',
]);
});
test('handleMpvCommandFromIpc emits feedback for subtitle delay keybinding proxies', async () => {
+4 -1
View File
@@ -175,7 +175,10 @@ test('update overlay notification action triggers install flow', () => {
assert.match(source, /actionId === OPEN_ANKI_CARD_ACTION_ID && noteId !== undefined/);
assert.match(source, /appState\.ankiIntegration\?\.openNoteInAnki\(noteId\)/);
assert.match(source, /appState\.runtimeOptionsManager\?\.getEffectiveAnkiConnectConfig/);
assert.match(source, /new AnkiConnectClient\(\s*effectiveAnkiConfig\.url \|\| DEFAULT_CONFIG\.ankiConnect\.url/);
assert.match(
source,
/new AnkiConnectClient\(\s*effectiveAnkiConfig\.url \|\| DEFAULT_CONFIG\.ankiConnect\.url/,
);
assert.match(source, /fallbackClient\.openNoteInBrowser\(noteId\)/);
});
+6 -2
View File
@@ -37,7 +37,11 @@ test('overlay loading OSD shows spinner ticks and clears when stopped', () => {
controller.stop();
controller.stop();
assert.deepEqual(messages, ['Overlay loading |', 'Overlay loading /', 'Overlay loading -', 'clear']);
assert.deepEqual(messages, [
'Overlay loading |',
'Overlay loading /',
'Overlay loading -',
'clear',
]);
assert.deepEqual(clearedTimers, ['timer']);
});
+3 -1
View File
@@ -93,7 +93,9 @@ test('renderer restores subtitle sidebar open state only on visible overlay laye
const sidebarRestoreIndex = indexOfRequired(
"ctx.platform.overlayLayer === 'visible' && (await window.electronAPI.getSubtitleSidebarOpen())",
);
const sidebarModalIndex = indexOfRequired('const subtitleSidebarModal = createSubtitleSidebarModal');
const sidebarModalIndex = indexOfRequired(
'const subtitleSidebarModal = createSubtitleSidebarModal',
);
assert.ok(sidebarModalIndex < sidebarRestoreIndex);
});