New query page (#254)
* Sidebar/Layout improvements * New Query route and page * Display text editor * Gradient style longhand * Slider button component * Move new query section to component * Kolide Ace theme * Styles slider on page * run query on CMD + Enter * clicking hosts sends user to homepage * SaveQueryForm component * Splits NewQuery component JSX into multiple dumb components * InputField component * save query form * new query * styleguide * moves all new query form logic to the new query form * Kolide theme for osquery tables
This commit is contained in:
@@ -13,7 +13,7 @@ describe('ForgotPasswordForm - component', () => {
|
||||
it('renders an InputFieldWithIcon components', () => {
|
||||
const form = mount(<ForgotPasswordForm onSubmit={noop} />);
|
||||
|
||||
expect(form.find('InputFieldWithIcon').length).toEqual(1);
|
||||
expect(form.find('InputField').length).toEqual(1);
|
||||
});
|
||||
|
||||
it('updates component state when the email field is changed', () => {
|
||||
|
||||
Reference in New Issue
Block a user