Skip to content

Commit b5944f4

Browse files
committed
Fix compile time errors
1 parent a0aa6fb commit b5944f4

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

src/commons/application/actions/__tests__/SessionActions.ts

+9
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ test('setAssessmentConfigurations generates correct action object', () => {
274274
type: 'Mission1',
275275
isManuallyGraded: true,
276276
displayInDashboard: true,
277+
hasTokenCounter: false,
277278
hoursBeforeEarlyXpDecay: 48,
278279
earlySubmissionXp: 200
279280
},
@@ -282,6 +283,7 @@ test('setAssessmentConfigurations generates correct action object', () => {
282283
type: 'Mission2',
283284
isManuallyGraded: true,
284285
displayInDashboard: true,
286+
hasTokenCounter: false,
285287
hoursBeforeEarlyXpDecay: 48,
286288
earlySubmissionXp: 200
287289
},
@@ -290,6 +292,7 @@ test('setAssessmentConfigurations generates correct action object', () => {
290292
type: 'Mission3',
291293
isManuallyGraded: true,
292294
displayInDashboard: true,
295+
hasTokenCounter: false,
293296
hoursBeforeEarlyXpDecay: 48,
294297
earlySubmissionXp: 200
295298
}
@@ -640,6 +643,7 @@ test('updateAssessmentTypes generates correct action object', () => {
640643
type: 'Missions',
641644
isManuallyGraded: true,
642645
displayInDashboard: true,
646+
hasTokenCounter: false,
643647
hoursBeforeEarlyXpDecay: 48,
644648
earlySubmissionXp: 200
645649
},
@@ -648,6 +652,7 @@ test('updateAssessmentTypes generates correct action object', () => {
648652
type: 'Quests',
649653
isManuallyGraded: true,
650654
displayInDashboard: true,
655+
hasTokenCounter: false,
651656
hoursBeforeEarlyXpDecay: 48,
652657
earlySubmissionXp: 200
653658
},
@@ -656,6 +661,7 @@ test('updateAssessmentTypes generates correct action object', () => {
656661
type: 'Paths',
657662
isManuallyGraded: true,
658663
displayInDashboard: true,
664+
hasTokenCounter: false,
659665
hoursBeforeEarlyXpDecay: 48,
660666
earlySubmissionXp: 200
661667
},
@@ -664,6 +670,7 @@ test('updateAssessmentTypes generates correct action object', () => {
664670
type: 'Contests',
665671
isManuallyGraded: true,
666672
displayInDashboard: true,
673+
hasTokenCounter: false,
667674
hoursBeforeEarlyXpDecay: 48,
668675
earlySubmissionXp: 200
669676
},
@@ -672,6 +679,7 @@ test('updateAssessmentTypes generates correct action object', () => {
672679
type: 'Others',
673680
isManuallyGraded: true,
674681
displayInDashboard: true,
682+
hasTokenCounter: false,
675683
hoursBeforeEarlyXpDecay: 48,
676684
earlySubmissionXp: 200
677685
}
@@ -689,6 +697,7 @@ test('deleteAssessmentConfig generates correct action object', () => {
689697
type: 'Mission1',
690698
isManuallyGraded: true,
691699
displayInDashboard: true,
700+
hasTokenCounter: false,
692701
hoursBeforeEarlyXpDecay: 48,
693702
earlySubmissionXp: 200
694703
};

src/commons/assessment/__tests__/Assessment.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const mockAssessmentProps = assertType<AssessmentProps>()({
1717
type: 'Missions',
1818
isManuallyGraded: true,
1919
displayInDashboard: true,
20+
hasTokenCounter: false,
2021
hoursBeforeEarlyXpDecay: 48,
2122
earlySubmissionXp: 200
2223
}

src/commons/assessmentWorkspace/__tests__/AssessmentWorkspace.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const defaultProps = assertType<AssessmentWorkspaceProps>()({
2626
type: 'Missions',
2727
isManuallyGraded: true,
2828
displayInDashboard: true,
29+
hasTokenCounter: false,
2930
hoursBeforeEarlyXpDecay: 48,
3031
earlySubmissionXp: 200
3132
},

src/commons/profile/__tests__/Profile.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const assessmentConfigurations: AssessmentConfiguration[] = [
2525
type: c,
2626
isManuallyGraded: false,
2727
displayInDashboard: false,
28+
hasTokenCounter: false,
2829
hoursBeforeEarlyXpDecay: 0,
2930
earlySubmissionXp: 0
3031
}));

0 commit comments

Comments
 (0)