[Filters][Grade] Fix test

This commit is contained in:
Aaro Koivukangas
2026-09-21 15:24:21 +03:00
committed by Aaro Koivukangas
parent f0d802df83
commit 172d4df46d
@@ -68,7 +68,7 @@ void describe('gradeFilter', () => {
void it('should handle string-dates properly', () => { void it('should handle string-dates properly', () => {
// @ts-expect-error: FIXME: Courses have date incorrectly types as Date, not string // @ts-expect-error: FIXME: Courses have date incorrectly types as Date, not string
const student = createStudent({ courses: [createCourse({ course_code: 'TKT002', date: '2024-09-01' })] }) const student = createStudent({ courses: [createCourse({ course_id: 'hy-CU-TKT002', date: '2024-09-01' })] })
const precomputed = gradeFilter().precompute!({ const precomputed = gradeFilter().precompute!({
students: [student], students: [student],