joyent-portal/packages/my-joy-beta/test/mocks/router.js
2017-09-27 14:01:46 +01:00

5 lines
151 B
JavaScript

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