ahbeng/NUSMods

View on GitHub
website/src/test-utils/timetable.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createGenericColoredLesson has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

  dayText?: DayText,
  startTime?: LessonTime,
  endTime?: LessonTime,
  lessonType?: LessonType,
  classNo?: ClassNo,
Severity: Minor
Found in website/src/test-utils/timetable.ts - About 45 mins to fix

    Function createGenericLesson has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      dayText: DayText = 'Monday',
      startTime: LessonTime = '0800',
      endTime: LessonTime = '1000',
      lessonType: LessonType = 'Recitation',
      classNo: ClassNo = '1',
    Severity: Minor
    Found in website/src/test-utils/timetable.ts - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status