joyent-portal/packages/cp-frontend/test/unit/mocks/router.js
2017-08-28 20:24:36 +01:00

5 lines
151 B
JavaScript

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