kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fix tests after changing progress unit
rodzic
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', () => {
|
||||||
|
|
Ładowanie…
Reference in New Issue