Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-1936 & GH-1920 Remove email opt-in from account creation in panel and hub #495

Merged
merged 8 commits into from Feb 14, 2020

Remove promotion unit tests and scss

  • Loading branch information
benstrumeyer committed Feb 13, 2020
commit c22022443a6bfa6d13340a250e0a69ed9d27fcf2
@@ -31,10 +31,8 @@ describe('app/hub/Views/CreateAccount component', () => {
password: '',
passwordInvalidError: false,
passwordLengthError: false,
promotionsChecked: false,
handleInputChange: () => {},
handleLegalConsentCheckboxChange: () => {},
handlePromotionsCheckboxChange: () => {},
handleSubmit: () => {},
};

@@ -58,10 +56,8 @@ describe('app/hub/Views/CreateAccount component', () => {
password: '',
passwordInvalidError: true,
passwordLengthError: true,
promotionsChecked: true,
handleInputChange: () => {},
handleLegalConsentCheckboxChange: () => {},
handlePromotionsCheckboxChange: () => {},
handleSubmit: () => {},
};

@@ -87,10 +83,8 @@ describe('app/hub/Views/CreateAccount component', () => {
password: '',
passwordInvalidError: false,
passwordLengthError: false,
promotionsChecked: false,
handleInputChange: () => {},
handleLegalConsentCheckboxChange: () => {},
handlePromotionsCheckboxChange: () => {},
handleSubmit: jest.fn(),
};

@@ -225,13 +225,6 @@ p.warning {
}
}
}
#create-account-promotions {
margin-bottom: 10px;
label {
font-size: 11px;
font-weight: 500;
}
}
#create-account-legal-consent-checkbox {
margin-bottom: 10px;
label {
ProTip! Use n and p to navigate between commits in a pull request.