From 457264b72c89544fbac32e135c8500c2fb2cc8d9 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 3 Oct 2020 00:04:01 +0300 Subject: [PATCH] Mock settings api in reports tests --- test/views/reports/index.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/views/reports/index.test.js b/test/views/reports/index.test.js index ee346c77..1a7ab8d6 100644 --- a/test/views/reports/index.test.js +++ b/test/views/reports/index.test.js @@ -16,6 +16,7 @@ localVue.use(Element) jest.mock('@/api/app') jest.mock('@/api/reports') +jest.mock('@/api/settings') describe('Reports', () => { let store