File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Sprint-3/2-mandatory-rewrite Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 11function getAngleType ( angle ) {
22 if ( angle === 90 ) return "Right angle" ;
3- // replace with your completed function from key-implement
3+ if ( angle < 90 ) return "Acute angle" ;
4+ if ( angle > 90 && angle < 180 ) return "Obtuse angle" ;
5+ if ( angle === 180 ) return "Straight angle" ;
6+ if ( angle > 180 && angle < 360 ) return "Reflex angle" ;
47
8+ return "Invalid angle" ;
59}
610
7-
8-
9-
10-
11-
12-
13-
1411// Don't get bogged down in this detail
1512// Jest uses CommonJS module syntax by default as it's quite old
16- // We will upgrade our approach to ES6 modules in the next course module, so for now
13+ // We will upgrade our approach to ES6 modules in the next course module, so for now
1714// we have just written the CommonJS module.exports syntax for you
18- module . exports = getAngleType ;
15+ module . exports = getAngleType ;
You can’t perform that action at this time.
0 commit comments