fleet/frontend/components/App/App.tests.jsx
Mike Stone ac9a38c207 Login page scaffolding (#142)
* LoginPage component and route

* animated SVG background image utility

* Kolide text, User, Lock, & Kolide logo SVG icons

* styleguide

* Adds global footer

* Adds InputFieldWithIcon component

* Adds LoginForm component

* Render LoginForm from the LoginPage
2016-09-12 11:14:07 -04:00

20 lines
472 B
JavaScript

import React from 'react';
import expect from 'expect';
import { mount } from 'enzyme';
import { App } from './App';
describe('App - component', () => {
const component = mount(<App />);
it('renders', () => {
expect(component).toExist();
});
it('renders the Style component', () => {
expect(component.find('Style').length).toEqual(1);
});
it('renders the Footer component', () => {
expect(component.find('Footer').length).toEqual(1);
});
});