summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/error_009_missing_js_module.js.out2
-rw-r--r--tests/error_010_nonexistent_arg.out1
-rw-r--r--tests/error_010_nonexistent_arg.test4
3 files changed, 6 insertions, 1 deletions
diff --git a/tests/error_009_missing_js_module.js.out b/tests/error_009_missing_js_module.js.out
index ca41435fa..edb08da1c 100644
--- a/tests/error_009_missing_js_module.js.out
+++ b/tests/error_009_missing_js_module.js.out
@@ -1 +1 @@
-Uncaught Cannot resolve module "./bad-module.js" from "[WILDCARD]error_009_missing_js_module.js"
+Cannot resolve module "./bad-module.js" from "[WILDCARD]error_009_missing_js_module.js"
diff --git a/tests/error_010_nonexistent_arg.out b/tests/error_010_nonexistent_arg.out
new file mode 100644
index 000000000..248cbc329
--- /dev/null
+++ b/tests/error_010_nonexistent_arg.out
@@ -0,0 +1 @@
+[WILDCARD]Cannot resolve module "not-a-valid-filename.ts" from "."
diff --git a/tests/error_010_nonexistent_arg.test b/tests/error_010_nonexistent_arg.test
new file mode 100644
index 000000000..9d183107c
--- /dev/null
+++ b/tests/error_010_nonexistent_arg.test
@@ -0,0 +1,4 @@
+args: not-a-valid-filename.ts
+output: tests/error_010_nonexistent_arg.out
+exit_code: 1
+check_stderr: true