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(Vuex)
|
||||||
localVue.use(Element)
|
localVue.use(Element)
|
||||||
|
|
||||||
|
jest.mock('@/api/app')
|
||||||
|
jest.mock('@/api/nodeInfo')
|
||||||
|
jest.mock('@/api/settings')
|
||||||
|
|
||||||
describe('Settings search', () => {
|
describe('Settings search', () => {
|
||||||
let store
|
let store
|
||||||
let actions
|
let actions
|
||||||
|
|
Loading…
Reference in a new issue