joyent-portal/packages/cp-frontend/test/unit/mocks/router.js
Sérgio Ramos b865a1d118 style: lint
2017-07-26 15:41:01 +01:00

8 lines
161 B
JavaScript

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