Skip to content

Commit

Permalink
UHM-4934: Create "circular workflow" for adding Lab Orders from the L…
Browse files Browse the repository at this point in the history
…ab Workflow module

fix test issues
  • Loading branch information
mogoodrich committed Apr 7, 2023
1 parent 2dc194f commit bab1e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/js/components/Draft.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,13 @@ Draft.propTypes = {
handleSubmit: PropTypes.func.isRequired,
handleDraftDiscard: PropTypes.func.isRequired,
toggleDraftLabOrderUrgency: PropTypes.func.isRequired,
showAddResultsButton: PropTypes.bool
showAddResultsButton: PropTypes.bool,
};

Draft.defaultProps = {
showAddResultsButton: false,
}

const mapStateToProps = state => ({
isLoading: state.createOrderReducer.status.loading,
});
Expand Down
1 change: 1 addition & 0 deletions tests/components/__snapshots__/Draft.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ exports[`Component: Draft should render on initial setup 1`] = `
}
}
locale="en"
showAddResultsButton={false}
toggleDraftLabOrderUrgency={[MockFunction]}
>
<div>
Expand Down

0 comments on commit bab1e36

Please sign in to comment.