mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 09:49:55 +02:00
Fixed #151: queue reorder or track deletion restarting currently playing track
This commit is contained in:
parent
48c9a8bd55
commit
6ed6634f93
6 changed files with 15 additions and 9 deletions
|
@ -158,9 +158,7 @@ describe('store/queue', () => {
|
|||
payload: 1,
|
||||
params: {state: {currentIndex: 2}},
|
||||
expectedMutations: [
|
||||
{ type: 'splice', payload: {start: 1, size: 1} }
|
||||
],
|
||||
expectedActions: [
|
||||
{ type: 'splice', payload: {start: 1, size: 1} },
|
||||
{ type: 'currentIndex', payload: 1 }
|
||||
]
|
||||
}, done)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue