Skip to content

Commit 6b16709

Browse files
committed
Corrected some mispelling
1 parent d419863 commit 6b16709

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ function assertEquals(actualOutput, targetOutput) {
7676
* End of original file
7777
*/
7878

79-
// This helper function is written to make our assertions easier to read.
80-
// If the actual output matches the target output, the test will pass
79+
// Implementation
80+
8181
function assertEquals(actualOutput, targetOutput) {
8282
console.assert(
8383
actualOutput === targetOutput,
@@ -136,10 +136,6 @@ assertEquals(getAngleType(720), "Invalid angle");
136136

137137
console.log("\nAll tests completed!");
138138

139-
140-
// getAngleType.test.js
141-
// const getAngleType = require('./path-to-your-file');
142-
143139
describe('getAngleType', () => {
144140
test('should return "Acute angle" for angles between 0 and 90 exclusive', () => {
145141
expect(getAngleType(1)).toBe("Acute angle");

0 commit comments

Comments
 (0)