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

@@ -32,17 +32,6 @@ describe('shortUrlDetailReducer', () => {
expect(error).toEqual(false);
expect(shortUrl).toEqual(actionShortUrl);
});
it('returns default state on unknown action', () => {
const defaultState = {
shortUrl: {},
loading: false,
error: false,
};
const state = reducer(defaultState, { type: 'unknown' });
expect(state).toEqual(defaultState);
});
});
describe('getShortUrlDetail', () => {