mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
* 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
20 lines
472 B
JavaScript
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);
|
|
});
|
|
});
|