Skip to content

Commit

Permalink
[tests] Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Dec 28, 2023
1 parent 8e7a993 commit 187d041
Show file tree
Hide file tree
Showing 5 changed files with 1,218 additions and 86 deletions.
5 changes: 3 additions & 2 deletions client/components/registration/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,8 @@ export default class Registration extends React.Component {

getForm = () => {
const {registration, settings, orgSlug} = this.props;
const {additional_info_text, input_fields, links, auto_select_first_plan} = registration;
const {additional_info_text, input_fields, links, auto_select_first_plan} =
registration;
const {
success,
phone_number,
Expand Down Expand Up @@ -385,7 +386,7 @@ export default class Registration extends React.Component {
selectedPlan,
this.changePlan,
this.changePlan,
auto_select_first_plan
auto_select_first_plan,
)}
{(plans.length === 0 ||
(plans.length > 0 && selectedPlan !== null)) && (
Expand Down

0 comments on commit 187d041

Please sign in to comment.