Change playing of a track to mark nowPlaying rather than scrobble, refactor/tidy up track streaming

This commit is contained in:
simojenki
2021-06-26 18:11:26 +10:00
parent cb987aeacb
commit eec3313587
7 changed files with 418 additions and 183 deletions

View File

@@ -1,6 +1,6 @@
global.console = {
log: console.log,
//log: jest.fn(), // console.log are ignored in tests
// log: console.log,
log: jest.fn(), // console.log are ignored in tests
// Keep native behaviour for other methods, use those to print out things in your own tests, not `console.log`
error: console.error,