Removed test cases for the old default on reducers switch statements

This commit is contained in:
Alejandro Celaya
2019-03-17 10:17:44 +01:00
parent 232c059e4f
commit d1c10e4895
10 changed files with 0 additions and 52 deletions

View File

@@ -8,9 +8,6 @@ describe('shortUrlsListParamsReducer', () => {
describe('reducer', () => {
const defaultState = { page: '1' };
it('returns default value when action is unknown', () =>
expect(reducer(defaultState, { type: 'unknown' })).toEqual(defaultState));
it('returns params when action is LIST_SHORT_URLS', () =>
expect(reducer(defaultState, { type: LIST_SHORT_URLS, params: { searchTerm: 'foo' } })).toEqual({
...defaultState,