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

@@ -52,6 +52,16 @@ interface LoginResponse {
export default class Qobuz implements StreamerWithLogin {
hostnames = ['play.qobuz.com', 'open.qobuz.com', 'www.qobuz.com', 'qobuz.com']
testData = {
'https://www.qobuz.com/us-en/interpreter/tyler-the-creator/589771': {
title: 'Tyler, The Creator',
type: 'artist'
},
'https://www.qobuz.com/us-en/album/igor-tyler-the-creator/qtz65tw2of0ha': {
title: 'IGOR',
type: 'album'
}
} as const
token?: string
appSecret: string
appId: string