@@ -46,6 +46,7 @@ assert.match(presented.description, /🎞 HEVC/);
4646assert . match ( presented . description , / 🔊 E - A C 3 5 \. 1 / ) ;
4747assert . match ( presented . description , / ⏱ 2 h 4 9 / ) ;
4848assert . match ( presented . description , / 🔞 - 1 2 / ) ;
49+ assert . match ( presented . description , / I n t e r s t e l l a r • 2 0 1 4 / ) ;
4950
5051const tmdbFallback = presentStreamCandidate ( {
5152 name : "Cineby" ,
@@ -60,6 +61,7 @@ const tmdbFallback = presentStreamCandidate({
6061assert . doesNotMatch ( tmdbFallback . description ?? "" , / U n k n o w n / i) ;
6162assert . match ( tmdbFallback . description , / ⏱ 2 h 1 7 / ) ;
6263assert . match ( tmdbFallback . description , / 🔞 1 6 \+ / ) ;
64+ assert . match ( tmdbFallback . description , / S i n n e r s • 2 0 2 5 / ) ;
6365
6466const noInventedBluray = presentStreamCandidate ( {
6567 name : "FrenchStream" ,
@@ -68,7 +70,8 @@ const noInventedBluray = presentStreamCandidate({
6870} , { } , { name : "FrenchStream" } ) ;
6971assert . match ( noInventedBluray . description , / 【 1 0 8 0 P 】 / ) ;
7072assert . doesNotMatch ( noInventedBluray . description , / B L U - R A Y / i) ;
71- assert . equal ( normalizeSourceType ( "1080p" ) , "1080P" ) ;
73+ assert . equal ( normalizeSourceType ( "1080p" ) , null ) ;
74+ assert . equal ( normalizeSourceType ( "some provider label" ) , null ) ;
7275
7376const badges = buildBadges ( { quality : "4K" , language : "VFQ" , codec : "H.264" } ) ;
7477assert . deepEqual ( badges , [ "【4K】" , "🌐 VFQ" , "🎞 H.264" ] ) ;
0 commit comments