diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-12-14 16:24:10 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-12-14 16:24:10 +0100 |
commit | bb5b3629445ed6a52c3a088dbc2dd08b7a326f8a (patch) | |
tree | 8cfe27e73b25d4734f42b56090005be809731a24 /src/client/react/reducers/search.test.js | |
parent | af101f2a11534ff929fdefa3e2bc3ab7ca3ee39e (diff) |
Remove input value from redux
Diffstat (limited to 'src/client/react/reducers/search.test.js')
-rw-r--r-- | src/client/react/reducers/search.test.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/react/reducers/search.test.js b/src/client/react/reducers/search.test.js index 13f79d2..e0ca18e 100644 --- a/src/client/react/reducers/search.test.js +++ b/src/client/react/reducers/search.test.js @@ -19,7 +19,6 @@ describe('reducers', () => { describe('SEARCH/INPUT_CHANGE', () => { it('Returns no results when nothing is typed in', () => { expect(search(undefined, inputChange(''))).toEqual({ - input: '', results: [], selectedResult: null, isExactMatch: false, @@ -28,7 +27,6 @@ describe('reducers', () => { it('Returns no results when a space is typed in', () => { expect(search(undefined, inputChange(' '))).toEqual({ - input: ' ', results: [], selectedResult: null, isExactMatch: false, @@ -37,7 +35,6 @@ describe('reducers', () => { it('Preforms a basic search, only returning four results', () => { expect(search(undefined, inputChange('18'))).toEqual({ - input: '18', results: [ 's/18561', 's/18562', @@ -51,7 +48,6 @@ describe('reducers', () => { it('Selects the first result and sets isExactMatch to true when there is an exact match', () => { expect(search(undefined, inputChange('18561'))).toEqual({ - input: '18561', results: [ 's/18561', ], |