All files / src Routes.jsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2
1 2 3 4 5 6 7 8 9 10 11 12 13        2x 3x              
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import { Home, About } from './containers';
 
const Routes = () => (
  <Switch>
    <Route exact path="/" component={Home} />
    <Route path="/about" component={About} />
  </Switch>
);
 
export default Routes;