diff --git a/admin/src/router/router.test.js b/admin/src/router/router.test.js index 20563a13d..fdc4b0b83 100644 --- a/admin/src/router/router.test.js +++ b/admin/src/router/router.test.js @@ -82,12 +82,19 @@ describe('router', () => { }) describe('contribution-links', () => { - it('loads the "ContributionLinks" component', async () => { + it('loads the "ContributionLinks" page', async () => { const component = await routes.find((r) => r.path === '/contribution-links').component() expect(component.default.name).toBe('ContributionLinks') }) }) + describe('statistics', () => { + it('loads the "CommunityStatistic" page', async () => { + const component = await routes.find((r) => r.path === '/statistic').component() + expect(component.default.name).toBe('CommunityStatistic') + }) + }) + describe('not found page', () => { it('renders the "NotFound" component', async () => { const component = await routes.find((r) => r.path === '*').component()