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
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
You can’t perform that action at this time.
0 commit comments