Fix tests after changing progress unit
This commit is contained in:
parent
5a74d1d3a0
commit
e4efee4e92
|
@ -98,7 +98,7 @@ describe('store/player', () => {
|
||||||
})
|
})
|
||||||
it('progress', () => {
|
it('progress', () => {
|
||||||
const state = { currentTime: 4, duration: 10 }
|
const state = { currentTime: 4, duration: 10 }
|
||||||
expect(store.getters['progress'](state)).to.equal(40)
|
expect(store.getters['progress'](state)).to.equal(0.4)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
describe('actions', () => {
|
describe('actions', () => {
|
||||||
|
|
Loading…
Reference in New Issue