joyent-portal/packages/joyent-boilerplate/test/mocks/router.js
2017-09-07 17:28:56 +01:00

5 lines
151 B
JavaScript

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