summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run')
-rw-r--r--cli/tests/testdata/run/remote_type_error/main.ts3
-rw-r--r--cli/tests/testdata/run/remote_type_error/remote.ts5
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/remote_type_error/main.ts b/cli/tests/testdata/run/remote_type_error/main.ts
new file mode 100644
index 000000000..00f8a52df
--- /dev/null
+++ b/cli/tests/testdata/run/remote_type_error/main.ts
@@ -0,0 +1,3 @@
+import { doAction } from "http://localhost:4545/run/remote_type_error/remote.ts";
+
+doAction();
diff --git a/cli/tests/testdata/run/remote_type_error/remote.ts b/cli/tests/testdata/run/remote_type_error/remote.ts
new file mode 100644
index 000000000..6e9bf4adb
--- /dev/null
+++ b/cli/tests/testdata/run/remote_type_error/remote.ts
@@ -0,0 +1,5 @@
+export function doAction() {
+ // this is an intentional type error
+ const val: number = "test";
+ console.log(val);
+}