Skip to content

Commit

Permalink
Fixed failing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkulwik committed Sep 29, 2021
1 parent 4803fb1 commit 76cf867
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/test/unit/templates/instructions/ReviewTabTest.jsx
Expand Up @@ -17,7 +17,6 @@ import commonReducers from '@cdo/apps/redux/commonReducers';
import {setPageConstants} from '@cdo/apps/redux/pageConstants';
import PeerSelectDropdown from '@cdo/apps/templates/instructions/codeReview/PeerSelectDropdown';
import Button from '@cdo/apps/templates/Button';
import {ViewType} from '@cdo/apps/code-studio/viewAsRedux';
import Spinner from '@cdo/apps/code-studio/pd/components/spinner';

describe('Code Review Tab', () => {
Expand Down Expand Up @@ -330,7 +329,7 @@ describe('Code Review Tab', () => {
onLoadComplete={onLoadComplete}
codeReviewEnabled={false}
viewAsCodeReviewer={false}
viewAs={ViewType.Teacher}
viewAsTeacher={true}
/>
);
wrapper.setState({initialLoadCompleted: true});
Expand Down Expand Up @@ -380,7 +379,7 @@ describe('Code Review Tab', () => {
onLoadComplete={onLoadComplete}
codeReviewEnabled
viewAsCodeReviewer={false}
viewAs={ViewType.Teacher}
viewAsTeacher={true}
/>
);
wrapper.setState({initialLoadCompleted: true});
Expand Down

0 comments on commit 76cf867

Please sign in to comment.