test: create initial unit tests

This commit is contained in:
Julian Tölle 2021-06-20 00:49:17 +02:00
parent be7fb7d13a
commit e476243b85
16 changed files with 1177 additions and 18 deletions

View file

@ -80,6 +80,8 @@ export class MusicLibraryService {
// executed and it is now available in the database for use to retrieve
return this.findAlbum({ spotify: { id: data.spotify.id } });
}
throw err;
}
return album;
@ -139,6 +141,8 @@ export class MusicLibraryService {
// executed and it is now available in the database for use to retrieve
return this.findTrack({ spotify: { id: data.spotify.id } });
}
throw err;
}
return track;