mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
fix(extension): harden title privacy edge cases
This commit is contained in:
@@ -34,6 +34,18 @@ assert.deepEqual(
|
||||
}
|
||||
);
|
||||
|
||||
assert.deepEqual(
|
||||
applyTitlePrivacyToPayload({
|
||||
tabTitle: 'Private Jellyfin - S01E04',
|
||||
status: 'heartbeat'
|
||||
}, 'episode'),
|
||||
{
|
||||
tabTitle: 'S01E04',
|
||||
status: 'heartbeat'
|
||||
},
|
||||
'privacy filtering must not add absent title keys'
|
||||
);
|
||||
|
||||
assert.deepEqual(
|
||||
applyTitlePrivacyToPayload({
|
||||
tabTitle: 'Private Tab',
|
||||
|
||||
Reference in New Issue
Block a user