diff --git a/client/app/bundles/course/assessment/containers/MaterialUploader/__test__/__snapshots__/index.test.js.snap b/client/app/bundles/course/assessment/containers/MaterialUploader/__test__/__snapshots__/index.test.js.snap
index 420c6dc43d6..d7120bf48c4 100644
--- a/client/app/bundles/course/assessment/containers/MaterialUploader/__test__/__snapshots__/index.test.js.snap
+++ b/client/app/bundles/course/assessment/containers/MaterialUploader/__test__/__snapshots__/index.test.js.snap
@@ -96,6 +96,7 @@ exports[` renders the component with materials 1`] = `
renders the component with materials 1`] = `
', () => {
textResponseAnswer = responseAnswers.at(0);
multipleChoiceAnswer = responseAnswers.at(1);
multipleResponseAnswer = responseAnswers.at(2);
- }
+ };
updateResponse();
- const lastMRQOptionCheckbox = multipleResponseAnswer.find('OptionsListItem').last().find('Checkbox');
+ let lastMRQOptionCheckbox = multipleResponseAnswer.find('OptionsListItem').last().find('Checkbox');
lastMRQOptionCheckbox.props().onCheck(null, true);
const submitButton = responseForm.find('button').last();
@@ -155,6 +155,7 @@ describe('', () => {
textResponse.simulate('change', { target: { value: newAnswer } });
const firstMCQOptionRadio = multipleChoiceAnswer.find('OptionsListItem').first().find('RadioButton');
firstMCQOptionRadio.props().onCheck(null, firstMCQOptionRadio.props().value);
+ lastMRQOptionCheckbox = multipleResponseAnswer.find('OptionsListItem').last().find('Checkbox');
lastMRQOptionCheckbox.props().onCheck(null, false);
submitButton.simulate('click');
diff --git a/client/app/bundles/course/survey/pages/SurveyShow/Section/__test__/NewQuestionButton.test.jsx b/client/app/bundles/course/survey/pages/SurveyShow/Section/__test__/NewQuestionButton.test.jsx
index 6d1c27d4f17..aeb35e70425 100644
--- a/client/app/bundles/course/survey/pages/SurveyShow/Section/__test__/NewQuestionButton.test.jsx
+++ b/client/app/bundles/course/survey/pages/SurveyShow/Section/__test__/NewQuestionButton.test.jsx
@@ -1,4 +1,5 @@
import React from 'react';
+import ReactDOM from 'react-dom';
import ReactTestUtils from 'react-dom/test-utils';
import { mount } from 'enzyme';
import CourseAPI from 'api/course';
diff --git a/client/app/lib/components/redux-form/__test__/SingleFileInput.test.js b/client/app/lib/components/redux-form/__test__/SingleFileInput.test.js
index 634dfe1b32c..304e56c962b 100644
--- a/client/app/lib/components/redux-form/__test__/SingleFileInput.test.js
+++ b/client/app/lib/components/redux-form/__test__/SingleFileInput.test.js
@@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import { mount } from 'enzyme';
import SingleFileInput from '../SingleFileInput';
-
describe('', () => {
it('renders with url and name when provided in badge/avatar style', () => {
const singleFileInput = mount(
@@ -30,7 +29,6 @@ describe('', () => {
);
const avatar = singleFileInput.find('Avatar').first();
-
expect(singleFileInput.find('.file-name').text().includes('bar')).toBeTruthy();
expect(avatar.prop('src')).toEqual('foo');
expect(avatar.prop('icon')).toBeUndefined();