Commit faca3c34 authored by Konstantin Schulz's avatar Konstantin Schulz

fixed unit test for exercise list

parent 7e45776a
Pipeline #12525 passed with stages
in 2 minutes and 46 seconds
......@@ -96,7 +96,7 @@ describe('ExerciseListPage', () => {
it('should get the matching degree', () => {
let degree: string = exerciseListPage.getMatchingDegree(new ExerciseMC({matching_degree: 20}));
expect(degree).toBe('20');
expect(degree).toBe('20%');
degree = exerciseListPage.getMatchingDegree(new ExerciseMC());
expect(degree).toBeFalsy();
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment