1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/menu/__tests__/routes-test.jsx
Ivar Conradi Østhus fe2a8311bf feat: created project header (#388)
* feat: created project header

* fix: remove reporting from global menu

* fix: add projects to global menu for oss also
2021-10-01 12:15:02 +02:00

11 lines
290 B
JavaScript

import { baseRoutes, getRoute } from '../routes';
test('returns all baseRoutes', () => {
expect(baseRoutes).toMatchSnapshot();
});
test('getRoute() returns named route', () => {
const featuresRoute = getRoute('/features');
expect(featuresRoute.path).toEqual('/features');
});