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

@@ -45,6 +45,16 @@ interface SoundcloudTranscoding {
export default class Soundcloud implements Streamer {
hostnames = ['soundcloud.com', 'm.soundcloud.com', 'www.soundcloud.com']
testData = {
'https://soundcloud.com/saoirsedream/charlikartlanparty': {
type: 'track',
title: 'Charli Kart LAN Party'
},
'https://soundcloud.com/saoirsedream/sets/star': {
type: 'album',
title: 'star★☆'
}
} as const
oauthToken?: string
client?: ScClient
constructor(options: SoundcloudOptions) {