1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-24 02:40:05 +02:00
copilot/packages/cp-frontend/test/unit/mocks/router.js

5 lines
151 B
JavaScript
Raw Normal View History

import React from 'react';
import { MemoryRouter } from 'react-router-dom';
2017-08-28 22:21:08 +03:00
export default ({ children }) => <MemoryRouter>{children}</MemoryRouter>;