Fix the unit tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
6a0e026456
Коммит
8f19c0f54d
|
@ -55,14 +55,14 @@ describe('Device component', () => {
|
|||
})
|
||||
|
||||
it('shows no info text if devices are configured', () => {
|
||||
const settings = shallowMount(PersonalSettings, {
|
||||
store,
|
||||
localVue
|
||||
})
|
||||
store.state.devices.push({
|
||||
id: 1,
|
||||
name: 'a'
|
||||
})
|
||||
const settings = shallowMount(PersonalSettings, {
|
||||
store,
|
||||
localVue
|
||||
})
|
||||
|
||||
expect(settings.text()).to.not.contain('No U2F devices configured')
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче