summaryrefslogtreecommitdiff
path: root/cli/tests/integration/repl_tests.rs
diff options
context:
space:
mode:
authorGasman <90539473+MarybethGasman@users.noreply.github.com>2023-02-05 07:34:36 +0800
committerGitHub <noreply@github.com>2023-02-05 00:34:36 +0100
commit0eb5be9a1204f959d3daac8cd7b1b342320970fd (patch)
tree3d84f243bb238964de727ff1f9a91361676336e0 /cli/tests/integration/repl_tests.rs
parent1e75e5ecc72fd6caf1ee3d2c98ea1662e141f55b (diff)
fix(ext/console): log class for class constructor (#17615)
Co-authored-by: tannal <tannal.cn@gmail.com>
Diffstat (limited to 'cli/tests/integration/repl_tests.rs')
-rw-r--r--cli/tests/integration/repl_tests.rs4
1 files changed, 2 insertions, 2 deletions
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());
}