Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 13, 2024
1 parent 64ae209 commit f3d5200
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion __tests__/bin/vip-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ describe( 'getLogs', () => {

expect( console.log ).toHaveBeenCalledTimes( 1 );
expect( console.log ).toHaveBeenCalledWith(
'2021-11-05T20:18:36.234041811Z My container message 1\n2021-11-09T20:47:07.301221112Z My container message 2'
'┌────────────────────────────────┬────────────────────────┐\n' +
'│ Timestamp │ Message │\n' +
'├────────────────────────────────┼────────────────────────┤\n' +
'│ 2021-11-05T20:18:36.234041811Z │ My container message 1 │\n' +
'├────────────────────────────────┼────────────────────────┤\n' +
'│ 2021-11-09T20:47:07.301221112Z │ My container message 2 │\n' +
'└────────────────────────────────┴────────────────────────┘\n'
);

const trackingParams = {
Expand Down

0 comments on commit f3d5200

Please sign in to comment.