From ded8afe36b2085614f93b9f5606f60e647c8f629 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 5 May 2022 09:50:44 +0200 Subject: [PATCH] fixed test for App.vue with token --- frontend/src/App.spec.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/src/App.spec.js b/frontend/src/App.spec.js index bd9bf1e87..60edb3978 100644 --- a/frontend/src/App.spec.js +++ b/frontend/src/App.spec.js @@ -44,5 +44,15 @@ describe('App', () => { it('has a component AuthLayoutGDD', () => { expect(wrapper.findComponent({ name: 'AuthTemplate' }).exists()).toBe(true) }) + + // describe('with token', () => { + // beforeEach(() => { + // mocks.$store.state.token = 'login-token' + // }) + + // it('has a component DashboardLayout', () => { + // expect(wrapper.findComponent({ name: 'DashboardTemplate' }).exists()).toBe(true) + // }) + // }) }) })