Unverified Commit 97597e21 authored by Tamika Tannis's avatar Tamika Tannis Committed by GitHub

Remove unnecessary param in SearchPage setup() (#136)

Forgot to remove this from a previous PR. This parameter isn't being used and don't want the pattern to get propagated if anyone does a copy-paste.
parent ba43484d
...@@ -33,7 +33,7 @@ import globalState from 'fixtures/globalState'; ...@@ -33,7 +33,7 @@ import globalState from 'fixtures/globalState';
describe('SearchPage', () => { describe('SearchPage', () => {
const setStateSpy = jest.spyOn(SearchPage.prototype, 'setState'); const setStateSpy = jest.spyOn(SearchPage.prototype, 'setState');
const setup = (propOverrides?: Partial<SearchPageProps>, useMount?: boolean) => { const setup = (propOverrides?: Partial<SearchPageProps>) => {
const props: SearchPageProps = { const props: SearchPageProps = {
searchTerm: globalState.search.search_term, searchTerm: globalState.search.search_term,
popularTables: globalState.popularTables, popularTables: globalState.popularTables,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment