fix unit tests for network handling

This commit is contained in:
John Mitchell
2019-04-10 11:16:20 -04:00
parent ad0e409448
commit 344713f938
26 changed files with 499 additions and 344 deletions

View File

@@ -275,4 +275,5 @@ Lookup.defaultProps = {
name: null,
};
export { Lookup as _Lookup };
export default withNetwork(Lookup);

View File

@@ -343,4 +343,5 @@ Notifications.propTypes = {
onCreateSuccess: PropTypes.func.isRequired,
};
export { Notifications as _Notifications };
export default withNetwork(Notifications);

View File

@@ -26,6 +26,7 @@ class NotifyAndRedirect extends Component {
render () {
const { to, push, from, exact, strict, sensitive } = this.props;
return (
<Redirect
to={to}
@@ -39,4 +40,5 @@ class NotifyAndRedirect extends Component {
}
}
export { NotifyAndRedirect as _NotifyAndRedirect };
export default withRootDialog(withRouter(NotifyAndRedirect));