File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/unit/bin/helpers/sync Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ describe("syncSpecsLogs", () => {
9595 expect ( options . columnDefault . width ) . to . equal ( Math . floor ( ( ( process . stdout . columns ) * 0.9 ) * 0.2 ) ) ;
9696 expect ( options . columns [ 1 ] . alignment ) . to . equal ( 'center' ) ;
9797 expect ( options . columns [ 2 ] . alignment ) . to . equal ( 'left' ) ;
98- expect ( options . columns [ 1 ] . width ) . to . equal ( 1 ) ;
99- expect ( options . columns [ 2 ] . width ) . to . equal ( Math . floor ( ( ( process . stdout . columns ) * 0.9 ) * 0.8 ) ) ;
98+ expect ( options . columns [ 1 ] . width ) . to . equal ( Math . ceil ( ( ( process . stdout . columns ) * 0.9 ) * 0.01 ) ) ;
99+ expect ( options . columns [ 2 ] . width ) . to . equal ( Math . floor ( ( ( process . stdout . columns ) * 0.9 ) * 0.75 ) ) ;
100100 expect ( options . columnCount ) . to . equal ( 3 ) ;
101101 expect ( getBorderConfigStub . calledOnce ) . to . be . true ;
102102 } ) ;
You can’t perform that action at this time.
0 commit comments