1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-04 17:10:05 +02:00
copilot/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>;