• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wger-project / react / 18411303152

10 Oct 2025 03:38PM UTC coverage: 75.275% (+0.04%) from 75.236%
18411303152

push

github

rolandgeider
Remove AddSlotEntryParams and use SlotEntry objects

1737 of 2608 branches covered (66.6%)

Branch coverage included in aggregate %.

11 of 13 new or added lines in 4 files covered. (84.62%)

146 existing lines in 36 files now uncovered.

5512 of 7022 relevant lines covered (78.5%)

28.14 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
/src/components/Exercises/models/note.ts
1
import { Adapter } from "utils/Adapter";
2

3
export class Note {
130✔
4
    constructor(
5
        public id: number | null,
6✔
6
        public exercise: number,
6✔
7
        public note: string,
6✔
8
    ) {
9
    }
10
}
11

12
export class NoteAdapter implements Adapter<Note> {
130✔
13
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
14
    fromJson(item: any): Note {
15
        return new Note(
4✔
16
            item.id,
17
            item.exercise,
18
            item.comment,
19
        );
20
    }
21

22
    toJson(item: Note) {
UNCOV
23
        return {
×
24
            id: item.id,
25
            comment: item.note,
26
            exercise: item.exercise
27
        };
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc