From 0eb5be9a1204f959d3daac8cd7b1b342320970fd Mon Sep 17 00:00:00 2001 From: Gasman <90539473+MarybethGasman@users.noreply.github.com> Date: Sun, 5 Feb 2023 07:34:36 +0800 Subject: fix(ext/console): log class for class constructor (#17615) Co-authored-by: tannal --- cli/tests/testdata/run/070_location.ts.out | 2 +- cli/tests/testdata/run/071_location_unset.ts.out | 2 +- cli/tests/testdata/run/top_level_await/loop.out | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests/testdata/run') diff --git a/cli/tests/testdata/run/070_location.ts.out b/cli/tests/testdata/run/070_location.ts.out index 692d7c976..8b2f9e49d 100644 --- a/cli/tests/testdata/run/070_location.ts.out +++ b/cli/tests/testdata/run/070_location.ts.out @@ -1,4 +1,4 @@ -[WILDCARD][Function: Location] +[WILDCARD][Class: Location] Location {} Location { hash: "#bat", diff --git a/cli/tests/testdata/run/071_location_unset.ts.out b/cli/tests/testdata/run/071_location_unset.ts.out index 99f87a7fc..dc67c5578 100644 --- a/cli/tests/testdata/run/071_location_unset.ts.out +++ b/cli/tests/testdata/run/071_location_unset.ts.out @@ -1,4 +1,4 @@ -[WILDCARD][Function: Location] +[WILDCARD][Class: Location] Location {} undefined /bar diff --git a/cli/tests/testdata/run/top_level_await/loop.out b/cli/tests/testdata/run/top_level_await/loop.out index 70e621e45..7f72048c2 100644 --- a/cli/tests/testdata/run/top_level_await/loop.out +++ b/cli/tests/testdata/run/top_level_await/loop.out @@ -1,5 +1,5 @@ loading [WILDCARD]a.js -loaded Module { default: [Function: Foo] } +loaded Module { default: [Class: Foo] } loading [WILDCARD]b.js -loaded Module { default: [Function: Bar] } +loaded Module { default: [Class: Bar] } all loaded -- cgit v1.2.3