@@ -84,6 +84,55 @@ describe('release types', () => {
8484 title ,
8585 new Set ( [ 'Soundtrack' ] ) ,
8686 ] ) ) ,
87+ // Remix releases
88+ ...( [
89+ 'Human (Paul Woolford Remix)' ,
90+ 'Paper Romance (Purple Disco Machine Remix - Edit)' ,
91+ 'Paper Romance (Purple Disco Machine Remix) [Edit]' ,
92+ 'Paper Romance (Purple Disco Machine Remix) (Edit)' ,
93+ 'Paper Romance (Purple Disco Machine Remix; Edit)' ,
94+ "Stay (Don't Go Away) [feat. Raye] [Nicky Romero Remix]" ,
95+ 'Anti‐Hero (Kungs remix extended version)' ,
96+ 'Remix' ,
97+ 'Anti‐Hero (Remixes)' ,
98+ 'The One (feat. Daddy Yankee) [The Remixes]' ,
99+ 'The Remixes' ,
100+ 'The Remixes - Vol.1' ,
101+ 'The Remixes, Pt. 1' ,
102+ 'Remixes' ,
103+ 'Remixes 81>04' ,
104+ 'Never Say Never - The Remixes' ,
105+ 'Skin: The Remixes' ,
106+ 'The Hills Remixes' ,
107+ 'MIDI Kittyy - The Remixes Vol 1' ,
108+ 'The Slow Rush B-Sides & Remixes' ,
109+ 'Remixed' ,
110+ 'Remixed (2003 Remaster)' ,
111+ 'Remixed Sides' ,
112+ 'Remixed: The Definitive Collection' ,
113+ 'The Hits: Remixed' ,
114+ 'Remixed & Revisited' ,
115+ 'Revived Remixed Revisited' ,
116+ 'Welcome To My World (Remixed)' ,
117+ 'Mörkrets Narr Remixed' ,
118+ ] . map ( (
119+ title ,
120+ ) : FunctionSpec < typeof guessTypesFromTitle > [ number ] => [
121+ `should detect remix type (${ title } )` ,
122+ title ,
123+ new Set ( [ 'Remix' ] ) ,
124+ ] ) ) ,
125+ // Multiple types
126+ [
127+ 'should detect both remix and soundtrack type' ,
128+ 'The Sims 2: Nightlife (Remixes) (Original Soundtrack)' ,
129+ new Set ( [ 'Remix' , 'Soundtrack' ] ) ,
130+ ] ,
131+ [
132+ 'should detect both remix and soundtrack type' ,
133+ 'Remixes - EP' ,
134+ new Set ( [ 'EP' , 'Remix' ] ) ,
135+ ] ,
87136 ] ;
88137
89138 const passingCaseSensitiveCases : FunctionSpec < typeof guessTypesFromTitle > = [
0 commit comments