Skip to content

Commit

Permalink
chore: fix switch case ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
ilee2u committed Nov 7, 2024
1 parent 63a38ff commit 853a57c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/instructions/VerifiedInstructions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import Footer from './proctored_exam/Footer';
const VerifiedExamInstructions = ({ examType }) => {
const renderInstructions = () => {
switch (examType) {
case ExamType.ONBOARDING:
return <VerifiedOnboardingExamInstructions />;
case ExamType.PRACTICE:
return <VerifiedOnboardingExamInstructions />;
case ExamType.PROCTORED:
return <VerifiedProctoredExamInstructions />;
case ExamType.PRACTICE:
return <VerifiedProctoredExamInstructions />;

Check warning on line 15 in src/instructions/VerifiedInstructions.jsx

View check run for this annotation

Codecov / codecov/patch

src/instructions/VerifiedInstructions.jsx#L14-L15

Added lines #L14 - L15 were not covered by tests
case ExamType.ONBOARDING:
return <VerifiedOnboardingExamInstructions />;
default:
return null;
}
Expand Down

0 comments on commit 853a57c

Please sign in to comment.