Implement Dashboard Tests
When running the progress-bar-degree.component.spec.ts, there is an error thrown in afterAll
Uncaught Error: Uncaught (in promise): TypeError: Cannot read property 'alternateName' of undefined
TypeError: Cannot read property 'alternateName' of undefined
at ProgressBarDegreeComponent.alternateName [as fillData]
A possible fix is to add in profileSvc.getStudent.and.returnValue(Promise.resolve(JSON.parse('{"studyProgram":{"semesters":2}}')));
something along these lines {"studentStatus":{"alternateName" : "<input a value here>"}}
This issue is roadblock for every issue as the CI doesn't pass the test phase.
Edited by Pavlos Karakalidis