From f3d5200ad7a15270f1398e89978f89248097028a Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Wed, 13 Nov 2024 10:21:30 +0200 Subject: [PATCH] test: fix tests --- __tests__/bin/vip-logs.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/__tests__/bin/vip-logs.js b/__tests__/bin/vip-logs.js index 7a66d8a73..1106aa8f0 100644 --- a/__tests__/bin/vip-logs.js +++ b/__tests__/bin/vip-logs.js @@ -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 = {