From 408b8db9adb004a54f33f500de7f155a072cc289 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Tue, 13 Oct 2020 16:00:19 +0300 Subject: [PATCH] Mock api calls in settings tests --- test/views/settings/index.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/views/settings/index.test.js b/test/views/settings/index.test.js index d0bdabc8..961a739d 100644 --- a/test/views/settings/index.test.js +++ b/test/views/settings/index.test.js @@ -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