Skip to content

Commit

Permalink
Added logs printing process.stdout.columns
Browse files Browse the repository at this point in the history
  • Loading branch information
khrithik96 committed Nov 30, 2023
1 parent 6eecfe9 commit 547611d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/bin/helpers/sync/syncSpecsLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ describe("syncSpecsLogs", () => {
syncSpecsLogs.__set__('getBorderConfig', getBorderConfigStub);

let options = getTableConfig((process.stdout.columns) * 0.9);
console.log(`***************************** ${process.stdout.columns}`)
expect(options.columnDefault.width).to.equal(Math.floor(((process.stdout.columns) * 0.9) * 0.2));
expect(options.columns[1].alignment).to.equal('center');
expect(options.columns[2].alignment).to.equal('left');
Expand Down

0 comments on commit 547611d

Please sign in to comment.