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/integration/repl_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/integration/repl_tests.rs') diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs index f69f71398..43e601739 100644 --- a/cli/tests/integration/repl_tests.rs +++ b/cli/tests/integration/repl_tests.rs @@ -375,7 +375,7 @@ fn typescript_decorators() { Some(vec![("NO_COLOR".to_owned(), "1".to_owned())]), false, ); - assert_ends_with!(out, "undefined\n[Function: Test]\n2\n"); + assert_ends_with!(out, "undefined\n[Class: Test]\n2\n"); assert!(err.is_empty()); } @@ -943,7 +943,7 @@ fn npm_packages() { ); assert_contains!(out, "Module {"); - assert_contains!(out, "Chalk: [Function: Chalk],"); + assert_contains!(out, "Chalk: [Class: Chalk],"); assert!(err.is_empty()); } -- cgit v1.2.3