Total Complexity | 3 |
Complexity/F | 1 |
Lines of Code | 10 |
Function Count | 3 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { CREATE_VISIT, createNewVisit } from '../../../src/visits/reducers/visitCreation'; |
||
2 | |||
3 | describe('visitCreationReducer', () => { |
||
4 | describe('createNewVisit', () => { |
||
5 | it('just returns the action with proper type', () => |
||
6 | expect(createNewVisit({ shortUrl: {}, visit: {} })).toEqual( |
||
7 | { type: CREATE_VISIT, shortUrl: {}, visit: {} } |
||
8 | )); |
||
9 | }); |
||
10 | }); |
||
11 |