summaryrefslogtreecommitdiff
path: root/tests/specs/test/check_local_by_default
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/check_local_by_default')
-rw-r--r--tests/specs/test/check_local_by_default/__test__.jsonc4
-rw-r--r--tests/specs/test/check_local_by_default/main.out4
-rw-r--r--tests/specs/test/check_local_by_default/main.ts3
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/test/check_local_by_default/__test__.jsonc b/tests/specs/test/check_local_by_default/__test__.jsonc
new file mode 100644
index 000000000..602250082
--- /dev/null
+++ b/tests/specs/test/check_local_by_default/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "test --quiet main.ts",
+ "output": "main.out"
+}
diff --git a/tests/specs/test/check_local_by_default/main.out b/tests/specs/test/check_local_by_default/main.out
new file mode 100644
index 000000000..be21aa963
--- /dev/null
+++ b/tests/specs/test/check_local_by_default/main.out
@@ -0,0 +1,4 @@
+running 0 tests from ./main.ts
+
+ok | 0 passed | 0 failed ([WILDCARD])
+
diff --git a/tests/specs/test/check_local_by_default/main.ts b/tests/specs/test/check_local_by_default/main.ts
new file mode 100644
index 000000000..2ae8c2692
--- /dev/null
+++ b/tests/specs/test/check_local_by_default/main.ts
@@ -0,0 +1,3 @@
+import * as a from "http://localhost:4545/subdir/type_error.ts";
+
+console.log(a.a);