Skip to content

Commit

Permalink
style: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Sep 8, 2023
1 parent db9b288 commit 74684c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const ONBOARDING_ERRORS = [
export const IS_STARTED_STATUS = (status) => [ExamStatus.STARTED, ExamStatus.READY_TO_SUBMIT].includes(status);
export const IS_INCOMPLETE_STATUS = (status) => INCOMPLETE_STATUSES.includes(status);
export const IS_ONBOARDING_ERROR = (status) => ONBOARDING_ERRORS.includes(status);
// if the exam is proctored we expect the software to be monitoring these states
export const IS_PROCTORED_STATUS = (status) => IS_STARTED_STATUS(status) || status === ExamStatus.READY_TO_START;

// Available actions are taken from
Expand Down

0 comments on commit 74684c2

Please sign in to comment.