mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
10 lines
371 B
JavaScript
10 lines
371 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: {} },
|
|
));
|
|
});
|
|
});
|