mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-24 09:58:21 +03:00
11 lines
370 B
JavaScript
11 lines
370 B
JavaScript
|
import { CREATE_VISIT, createNewVisit } from '../../../src/visits/reducers/visitCreation';
|
||
|
|
||
|
describe('visitCreationReducer', () => {
|
||
|
describe('createNewVisit', () => {
|
||
|
it('just returns the action with proper type', () =>
|
||
|
expect(createNewVisit({ shortUrl: {}, visit: {} })).toEqual(
|
||
|
{ type: CREATE_VISIT, shortUrl: {}, visit: {} }
|
||
|
));
|
||
|
});
|
||
|
});
|