summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-06-11 15:03:27 +0000
committerGitHub <noreply@github.com>2020-06-11 11:03:27 -0400
commit813210d4337bf6e174f1da1f1a6c6fb9b073afa2 (patch)
treefa408a74ced787b2864dbfec524c1ea6588fde00 /cli/tests/integration_tests.rs
parent5ee2ce1b1c37f08b11a25e6c0d190f3c397c7ec2 (diff)
fix: WebAssembly runtime error propagation (#6137)
Currently WebAssembly runtime errors don't propagate up to the user as they use urls to denote where the error occurred which get caught by the source-map pipeline which doesn't support the wasm scheme.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 5ecd6d35b..9bdc1db60 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1872,6 +1872,12 @@ itest!(wasm_async {
output: "wasm_async.out",
});
+itest!(wasm_unreachable {
+ args: "run wasm_unreachable.js",
+ output: "wasm_unreachable.out",
+ exit_code: 1,
+});
+
itest!(top_level_await {
args: "run --allow-read top_level_await.js",
output: "top_level_await.out",