@digabi/exam-engine-core 19.14.3 → 19.14.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -89,7 +89,7 @@ describe('<AnnotationList />', () => {
89
89
  },
90
90
  {
91
91
  startIndex: 1,
92
- length: 1,
92
+ length: 0,
93
93
  message: ''
94
94
  },
95
95
  {
@@ -68,7 +68,7 @@ function generateScore(question, i) {
68
68
  pregrading: {
69
69
  score: Math.min(question.maxScore, i),
70
70
  comment: `Pregading comment to question ${question.displayNumber}`,
71
- annotations: [{ startIndex: 0, length: 0, message: `Pregading annotation to question ${question.displayNumber}` }]
71
+ annotations: [{ startIndex: 0, length: 1, message: `Pregading annotation to question ${question.displayNumber}` }]
72
72
  },
73
73
  censoring: {
74
74
  scores: [
@@ -87,7 +87,7 @@ function generateScore(question, i) {
87
87
  ],
88
88
  comment: `Censor comment to question ${question.displayNumber}`,
89
89
  annotations: [
90
- { startIndex: 0, length: 0, message: `Censoring annotation to question ${question.displayNumber}` }
90
+ { startIndex: 0, length: 1, message: `Censoring annotation to question ${question.displayNumber}` }
91
91
  ],
92
92
  nonAnswerDetails: { shortCode: 'CEN' }
93
93
  },