Fix #124 and #155: properly reset everything on logout

This commit is contained in:
Eliot Berriot 2018-04-19 22:15:13 +02:00
parent 74bd0bae8c
commit de4b0f3022
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
11 changed files with 54 additions and 14 deletions

View file

@ -326,7 +326,7 @@ describe('store/queue', () => {
action: store.actions.shuffle,
params: {state: {currentIndex: 1, tracks: tracks}},
expectedMutations: [
{ type: 'player/currentTime', payload: 0 , options: {root: true}},
{ type: 'player/currentTime', payload: 0, options: {root: true}},
{ type: 'tracks', payload: [] }
],
expectedActions: [