mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Fix home test
This commit is contained in:
parent
95c7953e8f
commit
f86f5f9a6f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ describe('components/main-wrapper/main-content/home', () => {
|
|||
const wrapper = shallow(Home)
|
||||
const refreshDashboardStub = sinon.stub()
|
||||
wrapper.refreshDashboard = refreshDashboardStub
|
||||
event.emit('song:played')
|
||||
event.emit('song:played', factory('song'))
|
||||
refreshDashboardStub.should.have.been.called
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue