Project

General

Profile

Download (464 Bytes) Statistics
| Branch: | Tag: | Revision:
import { combineMenuItems, getActiveOnBack } from '../LayoutHelper';
import { layoutMock } from '../Layout.fixtures';

describe('LayoutHelper', () => {
it('should combineMenuItems', () => {
const combined = combineMenuItems(layoutMock.data);
expect(combined).toMatchSnapshot();
});
it('should getActiveOnBack(Monitor)', () => {
const active = getActiveOnBack(layoutMock.data.menu, '/fact_values');
expect(active).toMatchSnapshot();
});
});
(3-3/6)