synapse-admin/tests/features/common/Layout.test.js
Manuel Stahl b6f6f7fb71 Add component common/Layout
Change-Id: Ifa35e9556d129db390df04fe935ca5f6cad5438d
2019-03-12 08:50:19 +01:00

9 lines
288 B
JavaScript

import React from 'react';
import { shallow } from 'enzyme';
import { Layout } from '../../../src/features/common';
it('renders node with correct class name', () => {
const renderedComponent = shallow(<Layout />);
expect(renderedComponent.find('.common-layout').length).toBe(1);
});