1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00
copilot/packages/cp-frontend/test/unit/mocks/router.js
2017-06-07 10:27:33 +01:00

5 lines
151 B
JavaScript

import React from 'react';
import { MemoryRouter } from 'react-router-dom';
export default ({ children }) => <MemoryRouter>{children}</MemoryRouter>;