diff --git a/src/account-settings/demographics/Checkboxes.jsx b/src/account-settings/demographics/Checkboxes.jsx
index 4a037f1..d593404 100644
--- a/src/account-settings/demographics/Checkboxes.jsx
+++ b/src/account-settings/demographics/Checkboxes.jsx
@@ -29,7 +29,7 @@ export const Checkboxes = (props) => {
setSelected(newSelected);
}
- // If unchecked, make sure this option is NOT in `seleted`
+ // If unchecked, make sure this option is NOT in `selected`
if (!value) {
setSelected(selected.filter(i => i !== option));
}
diff --git a/src/account-settings/demographics/data/service.js b/src/account-settings/demographics/data/service.js
index bf2041a..a6e2b6a 100644
--- a/src/account-settings/demographics/data/service.js
+++ b/src/account-settings/demographics/data/service.js
@@ -86,7 +86,7 @@ export async function patchDemographics(userId, commitValues) {
/**
* If there was an error making the PATCH call then we create an apiError object containing a 'demographicsError'
* fieldError. The content of the error itself isn't particularly important. This will trigger the
- * `renderDemographicsServiceIssueWarningMessage()` (DemographicsSection.jsx) to display an Alert to let the
+ * `renderDemographicsServiceIssueWarningMessage()` (in DemographicsSection.jsx) to display an Alert to let the
* end-user know that there may be an issue communicating with the Demographics service.
*
* @param {Error} error
diff --git a/src/account-settings/demographics/test/DemographicsSection.test.jsx b/src/account-settings/demographics/test/DemographicsSection.test.jsx
index 8868443..bf99236 100644
--- a/src/account-settings/demographics/test/DemographicsSection.test.jsx
+++ b/src/account-settings/demographics/test/DemographicsSection.test.jsx
@@ -6,10 +6,7 @@ import { IntlProvider, injectIntl } from '@edx/frontend-platform/i18n';
import DemographicsSection from '../DemographicsSection';
import { Provider } from 'react-redux';
import React from 'react';
-import { SELF_DESCRIBE } from '../../data/constants';
-import { act } from 'react-dom/test-utils';
import configureStore from 'redux-mock-store';
-import { faItalic } from '@fortawesome/free-solid-svg-icons';
import renderer from 'react-test-renderer';
jest.mock('@edx/frontend-platform/auth');
@@ -25,7 +22,6 @@ const mockStore = configureStore();
describe('DemographicsSection', () => {
let props = {};
let store = {};
- selectors.mockClear(); // TJ thinks this may not be needed, I can test with removing it and see if everything still works
const reduxWrapper = children => (
+ +
+ ++ Hispanic, Latin, or Spanish origin, White +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ Asian +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ Other: test +
+ ++ +
+ ++ +
+ ++ Prefer to self-describe: test +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ ++ +
+ +