mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fixed test for App.vue with token
This commit is contained in:
parent
b446b5fdd3
commit
ded8afe36b
@ -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)
|
||||
// })
|
||||
// })
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user