Skip to content

Commit cc4ff43

Browse files
Issue #191 solved
1 parent 6c3e7da commit cc4ff43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exercises/25-Techno-beat/test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ test('The output in the console should match the one in the instructions!', func
4545
let _test3 = _lyricsGenerator([0,0,0])
4646
let _test4 = _lyricsGenerator([1,0,1])
4747
let _test5 = _lyricsGenerator([1,1,1])
48-
expect(console.log).toHaveBeenCalledWith(_test1);
49-
expect(console.log).toHaveBeenCalledWith(_test2);
50-
expect(console.log).toHaveBeenCalledWith(_test3);
51-
expect(console.log).toHaveBeenCalledWith(_test4);
52-
expect(console.log).toHaveBeenCalledWith(_test5);
48+
expect(console.log.trim()).toHaveBeenCalledWith(_test1);
49+
expect(console.log.trim()).toHaveBeenCalledWith(_test2);
50+
expect(console.log.trim()).toHaveBeenCalledWith(_test3);
51+
expect(console.log.trim()).toHaveBeenCalledWith(_test4);
52+
expect(console.log.trim()).toHaveBeenCalledWith(_test5);
5353
});
5454

5555

0 commit comments

Comments
 (0)