joyent-portal/packages/my-joyent/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>;