add tests

This commit is contained in:
hazycora
2024-07-30 18:32:21 -04:00
parent c83ecda85a
commit 157b807d9b
11 changed files with 270 additions and 4 deletions

View File

@@ -53,7 +53,20 @@ interface APIMethod {
export default class Deezer implements StreamerWithLogin {
hostnames = ['deezer.com', 'www.deezer.com', 'deezer.page.link']
testData = {
'https://www.deezer.com/us/artist/1194083': {
type: 'artist',
title: 'Tyler, The Creator'
},
'https://www.deezer.com/us/track/559711712': {
type: 'track',
title: 'Potato Salad'
},
'https://www.deezer.com/us/album/97140952': {
type: 'album',
title: 'IGOR'
}
} as const
headers: { [header: string]: string } = {
Accept: '*/*',
'User-Agent':