mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-24 01:48:18 +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: {} },
|
|
));
|
|
});
|
|
});
|