File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ test('The output in the console should match the one in the instructions!', func
45
45
let _test3 = _lyricsGenerator ( [ 0 , 0 , 0 ] )
46
46
let _test4 = _lyricsGenerator ( [ 1 , 0 , 1 ] )
47
47
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 ) ;
53
53
} ) ;
54
54
55
55
You can’t perform that action at this time.
0 commit comments