forked from AkkomaGang/admin-fe
Mock api calls in settings tests
This commit is contained in:
parent
4c58b157f5
commit
408b8db9ad
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue