Skip to content

Commit

Permalink
chore: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed Apr 18, 2024
1 parent d75c3e9 commit 2dfcada
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frontend/src/test/unit/types/student.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,4 @@ describe('student type', () => {

expect(student.isStudent()).toBe(true);
});

it('hasCourse method', () => {
const student = createStudent(studentData);
const course = createCourse(courseData);

expect(student.hasCourse(course)).toBe(false);
student.courses.push(course);
expect(student.hasCourse(course)).toBe(true);
});
});

0 comments on commit 2dfcada

Please sign in to comment.