Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
callidus
Machina Callida
Commits
faca3c34
Commit
faca3c34
authored
Jul 29, 2020
by
Konstantin Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed unit test for exercise list
parent
7e45776a
Pipeline
#12525
passed with stages
in 2 minutes and 46 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
+1
-1
No files found.
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
View file @
faca3c34
...
...
@@ -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
();
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment