Skip to content

Commit a0cf3ae

Browse files
committed
Removed redundent code.
1 parent 30dfbd8 commit a0cf3ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sprint-3/1-implement-and-rewrite-tests/implement/1-get-angle-type.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ function getAngleType(angle) {
1717

1818
// read to the end, complete line 36, then pass your test here
1919

20-
if (angle === 90) {
21-
return "Right angle";
22-
}
2320
// Run the tests, work out what Case 2 is testing, and implement the required code here.
2421
// Then keep going for the other cases, one at a time.
2522

2623
}
24+
console.log(getAngleType(120));
2725

2826
// The line below allows us to load the getAngleType function into tests in other files.
2927
// This will be useful in the "rewrite tests with jest" step.

0 commit comments

Comments
 (0)