(a, b)
| 1940 | const { LICENSE_PRESETS } = require('./constants') |
| 1941 | const numericalCourses = courses => courses.reduce((s, k) => s + courseNumericalStatus[k], 0) |
| 1942 | const courseSame = (a, b) => a.length === b.length && numericalCourses(a) === numericalCourses(b) |
| 1943 | if (includedCourseIDs) { |
| 1944 | const hsCourses = [...HACKSTACK_COURSE_IDS.filter(x => x !== allCourseIDs.HACKSTACK)] |
| 1945 | if (credit && courseSame(includedCourseIDs, hsCourses)) { |
no test coverage detected