summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration_tests.rs5
-rw-r--r--cli/tests/performance_stats.out2
-rw-r--r--cli/tests/weakref.ts1
-rw-r--r--cli/tests/weakref.ts.out1
4 files changed, 8 insertions, 1 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index f7edf5a42..8956d3f7b 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -2641,6 +2641,11 @@ itest!(wasm_unreachable {
exit_code: 1,
});
+itest!(weakref {
+ args: "run --quiet --reload weakref.ts",
+ output: "weakref.ts.out",
+});
+
itest!(top_level_await_order {
args: "run --allow-read top_level_await_order.js",
output: "top_level_await_order.out",
diff --git a/cli/tests/performance_stats.out b/cli/tests/performance_stats.out
index a18e59da9..0fe7ba7f0 100644
--- a/cli/tests/performance_stats.out
+++ b/cli/tests/performance_stats.out
@@ -1,5 +1,5 @@
[WILDCARD]
-DEBUG RS - [WILDCARD] - Files: 46
+DEBUG RS - [WILDCARD] - Files: [WILDCARD]
DEBUG RS - [WILDCARD] - Nodes: [WILDCARD]
DEBUG RS - [WILDCARD] - Identifiers: [WILDCARD]
DEBUG RS - [WILDCARD] - Symbols: [WILDCARD]
diff --git a/cli/tests/weakref.ts b/cli/tests/weakref.ts
new file mode 100644
index 000000000..47c3985fe
--- /dev/null
+++ b/cli/tests/weakref.ts
@@ -0,0 +1 @@
+console.log(WeakRef, FinalizationRegistry);
diff --git a/cli/tests/weakref.ts.out b/cli/tests/weakref.ts.out
new file mode 100644
index 000000000..32bafcf2d
--- /dev/null
+++ b/cli/tests/weakref.ts.out
@@ -0,0 +1 @@
+[Function: WeakRef] [Function: FinalizationRegistry]