mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
fe2a8311bf
* feat: created project header * fix: remove reporting from global menu * fix: add projects to global menu for oss also
11 lines
290 B
JavaScript
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');
|
|
});
|