joyent-portal/packages/joyent-boilerplate/test/mocks/router.js

5 lines
151 B
JavaScript
Raw Normal View History

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