fix: lint errors
This commit is contained in:
@@ -10,16 +10,16 @@ export const StopGradingConfirmModal = ({
|
||||
onConfirm,
|
||||
}) => (
|
||||
<ConfirmModal
|
||||
title={isOverride
|
||||
title={(isOverride
|
||||
? 'Are you sure you want to stop grade override?'
|
||||
: 'Are you sure you want to stop grading this response?'
|
||||
}
|
||||
)}
|
||||
content="Your progress will be lost."
|
||||
cancelText="Go back"
|
||||
confirmText={isOverride
|
||||
confirmText={(isOverride
|
||||
? 'Stop grade override'
|
||||
: 'Cancel grading'
|
||||
}
|
||||
)}
|
||||
onCancel={onCancel}
|
||||
onConfirm={onConfirm}
|
||||
isOpen={isOpen}
|
||||
|
||||
@@ -3,7 +3,6 @@ import { shallow } from 'enzyme';
|
||||
|
||||
import selectors from 'data/selectors';
|
||||
import thunkActions from 'data/thunkActions';
|
||||
import { gradingStatuses as statuses } from 'data/services/lms/constants';
|
||||
|
||||
import {
|
||||
SubmissionNavigation,
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import { createSelector } from 'reselect';
|
||||
|
||||
import { feedbackRequirement } from 'data/services/lms/constants';
|
||||
|
||||
// import * in order to mock in-file references
|
||||
import * as selectors from './app';
|
||||
// import default export in order to test simpleSelectors not exported individually
|
||||
import exportedSelectors from './app';
|
||||
|
||||
jest.mock('reselect', () => ({
|
||||
createSelector: jest.fn((preSelectors, cb) => ({ preSelectors, cb })),
|
||||
|
||||
Reference in New Issue
Block a user