joyent-portal/packages/cp-frontend/test/unit/mocks/router.js

8 lines
161 B
JavaScript
Raw Normal View History

import React from 'react';
import { MemoryRouter } from 'react-router-dom';
2017-07-26 17:28:14 +03:00
export default ({ children }) =>
<MemoryRouter>
{children}
</MemoryRouter>;