-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c644da3
commit faba588
Showing
8 changed files
with
31 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 3 additions & 68 deletions
71
src/containers/ReviewModal/__snapshots__/index.test.jsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,7 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ReviewModal component component snapshots closed 1`] = ` | ||
<FullscreenModal | ||
beforeBodyNode={ | ||
<React.Fragment> | ||
<ReviewActions /> | ||
<DemoWarning /> | ||
</React.Fragment> | ||
} | ||
className="review-modal" | ||
isOpen={false} | ||
modalBodyClassName="review-modal-body" | ||
onClose={[MockFunction hooks.onClose]} | ||
title="test-ora-name" | ||
> | ||
<CloseReviewConfirmModal | ||
prop="hooks.closeConfirmModalProps" | ||
/> | ||
</FullscreenModal> | ||
`; | ||
exports[`ReviewModal component component snapshots closed 1`] = `undefined`; | ||
|
||
exports[`ReviewModal component component snapshots loading 1`] = ` | ||
<FullscreenModal | ||
beforeBodyNode={ | ||
<React.Fragment> | ||
<ReviewActions /> | ||
<DemoWarning /> | ||
</React.Fragment> | ||
} | ||
className="review-modal" | ||
isOpen={true} | ||
modalBodyClassName="review-modal-body" | ||
onClose={[MockFunction hooks.onClose]} | ||
title="test-ora-name" | ||
> | ||
<ReviewContent /> | ||
<LoadingMessage | ||
message={ | ||
Object { | ||
"defaultMessage": "Loading response", | ||
"description": "loading text for submission response review screen", | ||
"id": "ora-grading.ReviewModal.loadingResponse", | ||
} | ||
} | ||
/> | ||
<CloseReviewConfirmModal | ||
prop="hooks.closeConfirmModalProps" | ||
/> | ||
</FullscreenModal> | ||
`; | ||
exports[`ReviewModal component component snapshots loading 1`] = `undefined`; | ||
|
||
exports[`ReviewModal component component snapshots success 1`] = ` | ||
<FullscreenModal | ||
beforeBodyNode={ | ||
<React.Fragment> | ||
<ReviewActions /> | ||
<DemoWarning /> | ||
</React.Fragment> | ||
} | ||
className="review-modal" | ||
isOpen={true} | ||
modalBodyClassName="review-modal-body" | ||
onClose={[MockFunction hooks.onClose]} | ||
title="test-ora-name" | ||
> | ||
<ReviewContent /> | ||
<CloseReviewConfirmModal | ||
prop="hooks.closeConfirmModalProps" | ||
/> | ||
</FullscreenModal> | ||
`; | ||
exports[`ReviewModal component component snapshots success 1`] = `undefined`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters