shlink-web-client/test/visits/reducers/visitCreation.test.js
2020-08-22 08:10:31 +02:00

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: {} },
));
});
});