Skip to content

Commit 4ad0173

Browse files
refactor: update the evaluation of the submission metadata
1 parent 8bc79da commit 4ad0173

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

__mocks__/challenge.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ export const submission: Submission = {
6969
text: "Submission",
7070
reviewDeadline: new Date(),
7171
metadata: {
72-
evaluation: "",
7372
applicableReward: {
7473
ref: "",
7574
amount: 0,
@@ -85,6 +84,12 @@ export const submission: Submission = {
8584
reviewed: false,
8685
feedbacks: 0,
8786
language: "",
87+
evaluation: {
88+
points: 8,
89+
reward: reward,
90+
score: 80,
91+
totalPoints: 10
92+
}
8893
},
8994
timestamp: 0,
9095
user: mockUser,

0 commit comments

Comments
 (0)