Mock api calls in settings tests

This commit is contained in:
Angelina Filippova 2020-10-13 16:00:19 +03:00
parent 4c58b157f5
commit 408b8db9ad

View file

@ -14,6 +14,10 @@ const localVue = createLocalVue()
localVue.use(Vuex)
localVue.use(Element)
jest.mock('@/api/app')
jest.mock('@/api/nodeInfo')
jest.mock('@/api/settings')
describe('Settings search', () => {
let store
let actions