aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Jibran Kalia <jibran.kalia@gmail.com> 2023-09-18 02:33:07 -0500
committerGravatar GitHub <noreply@github.com> 2023-09-18 00:33:07 -0700
commitc66d4a724b675c6ebbd64ccf98e1ce9933f2ef00 (patch)
tree153d85e69bff577333100514e01cc53a61f39d1e /test
parent9acc081c3a25d7601d44f3249891cc258a74db55 (diff)
downloadbun-c66d4a724b675c6ebbd64ccf98e1ce9933f2ef00.tar.gz
bun-c66d4a724b675c6ebbd64ccf98e1ce9933f2ef00.tar.zst
bun-c66d4a724b675c6ebbd64ccf98e1ce9933f2ef00.zip
feat(console.log): Print annonymus when class name is unknown (#5595)
This matches the functionality in Node.
Diffstat (limited to 'test')
-rw-r--r--test/js/web/console/console-log.expected.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/web/console/console-log.expected.txt b/test/js/web/console/console-log.expected.txt
index 332322665..31316a50f 100644
--- a/test/js/web/console/console-log.expected.txt
+++ b/test/js/web/console/console-log.expected.txt
@@ -35,7 +35,7 @@ Promise { <pending> }
[Function]
[Function]
[class Foo]
-[class]
+[class (anonymous)]
{}
[Function: foooo]
/FooRegex/