Update frontend/src/routes/router.test.js

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
This commit is contained in:
Alexander Friedland 2022-08-18 13:45:36 +02:00 committed by GitHub
parent 9803350077
commit 69dc5da0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,7 @@ describe('router', () => {
expect(component.default.name).toBe('InfoStatistic')
})
})
describe('gdt', () => {
it('requires authorization', () => {
expect(routes.find((r) => r.path === '/gdt').meta.requiresAuth).toBeTruthy()