From e0c5debc5749a38ed4699f8c02333df22046ee9b Mon Sep 17 00:00:00 2001 From: Jibran Kalia Date: Wed, 20 Sep 2023 23:42:44 -0700 Subject: fix(console.log): change default depth from 8 to 2 (#5839) This make it as the same default depth in Node. Source: https://github.com/nodejs/node/blob/480ab8c3a40451d5ea459dd35b4039679b26e195/doc/api/console.md?plain=1#L285 --- test/js/web/console/console-log.expected.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/js/web/console/console-log.expected.txt') diff --git a/test/js/web/console/console-log.expected.txt b/test/js/web/console/console-log.expected.txt index 31316a50f..78afa857b 100644 --- a/test/js/web/console/console-log.expected.txt +++ b/test/js/web/console/console-log.expected.txt @@ -50,3 +50,10 @@ String 123 should be 2nd word, 456 == 456 and percent s %s == What okay [ {}, {}, {}, {} ] +{ + level1: { + level2: { + level3: [Object ...] + } + } +} -- cgit v1.2.3