Peter Holmberg 7 years ago
parent
commit
cc1e22925f

+ 0 - 8
public/app/core/components/OrgActionBar/OrgActionBar.test.tsx

@@ -20,12 +20,4 @@ describe('Render', () => {
 
     expect(wrapper).toMatchSnapshot();
   });
-
-  it('should hide layout mode', () => {
-    const wrapper = setup({
-      showLayoutMode: false,
-    });
-
-    expect(wrapper).toMatchSnapshot();
-  });
 });

+ 0 - 35
public/app/core/components/OrgActionBar/__snapshots__/OrgActionBar.test.tsx.snap

@@ -1,40 +1,5 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`Render should hide layout mode 1`] = `
-<div
-  className="page-action-bar"
->
-  <div
-    className="gf-form gf-form--grow"
-  >
-    <label
-      className="gf-form--has-input-icon"
-    >
-      <input
-        className="gf-form-input width-20"
-        onChange={[Function]}
-        placeholder="Filter by name or type"
-        type="text"
-        value=""
-      />
-      <i
-        className="gf-form-input-icon fa fa-search"
-      />
-    </label>
-  </div>
-  <div
-    className="page-action-bar__spacer"
-  />
-  <a
-    className="btn btn-success"
-    href="some/url"
-    target="_blank"
-  >
-    test
-  </a>
-</div>
-`;
-
 exports[`Render should render component 1`] = `
 <div
   className="page-action-bar"

+ 1 - 0
public/app/features/datasources/__snapshots__/DataSourcesListPage.test.tsx.snap

@@ -17,6 +17,7 @@ exports[`Render should render action bar and datasources 1`] = `
           "title": "Add data source",
         }
       }
+      searchQuery=""
       setLayoutMode={[Function]}
       setSearchQuery={[Function]}
     />