Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UvgenGen committed May 26, 2021
1 parent 9eec38d commit 00a853f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/exam/ExamWrapper.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ store.getState = () => ({
examState: {
isLoading: false,
activeAttempt: null,
verification: {
status: 'none',
can_verify: true
},
exam: {
time_limit_mins: 30,
attempt: {},
Expand Down
8 changes: 8 additions & 0 deletions src/instructions/Instructions.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ describe('SequenceExamWrapper', () => {
examState: {
isLoading: false,
activeAttempt: null,
verification: {
status: 'none',
can_verify: true
},
exam: {
time_limit_mins: 30,
attempt: {},
Expand All @@ -43,6 +47,10 @@ describe('SequenceExamWrapper', () => {
store.getState = () => ({
examState: {
isLoading: false,
verification: {
status: 'none',
can_verify: true
},
activeAttempt: {
attempt_status: 'started',
},
Expand Down

0 comments on commit 00a853f

Please sign in to comment.