Mock app, nodeInfo and settings api in tests

This commit is contained in:
Angelina Filippova 2020-10-12 23:39:12 +03:00
commit fedb634c48
12 changed files with 27 additions and 6 deletions

View file

@ -15,6 +15,7 @@ localVue.use(Element)
jest.mock('@/api/app')
jest.mock('@/api/invites')
jest.mock('@/api/nodeInfo')
jest.mock('@/api/settings')
describe('Invite tokens', () => {
let store