summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/021_info_flag_setup.out1
-rw-r--r--tests/021_info_flag_setup.test4
-rw-r--r--tests/022_info_flag.out4
-rw-r--r--tests/022_info_flag.test4
4 files changed, 13 insertions, 0 deletions
diff --git a/tests/021_info_flag_setup.out b/tests/021_info_flag_setup.out
new file mode 100644
index 000000000..e965047ad
--- /dev/null
+++ b/tests/021_info_flag_setup.out
@@ -0,0 +1 @@
+Hello
diff --git a/tests/021_info_flag_setup.test b/tests/021_info_flag_setup.test
new file mode 100644
index 000000000..eaded0840
--- /dev/null
+++ b/tests/021_info_flag_setup.test
@@ -0,0 +1,4 @@
+# This is used to make sure code for remote source is compiled
+# such that 022_info_flag.test would function correctly
+args: --reload http://127.0.0.1:4545/tests/003_relative_import.ts
+output: tests/021_info_flag_setup.out
diff --git a/tests/022_info_flag.out b/tests/022_info_flag.out
new file mode 100644
index 000000000..9421387a6
--- /dev/null
+++ b/tests/022_info_flag.out
@@ -0,0 +1,4 @@
+local: [WILDCARD]deps/http/127.0.0.1_PORT4545/tests/003_relative_import.ts
+type: TypeScript
+compiled: [WILDCARD].js
+map: [WILDCARD].js.map
diff --git a/tests/022_info_flag.test b/tests/022_info_flag.test
new file mode 100644
index 000000000..e2132a85f
--- /dev/null
+++ b/tests/022_info_flag.test
@@ -0,0 +1,4 @@
+# The output assumes 003_relative_import.ts has already been run earlier
+# and its output is cached to $DENO_DIR.
+args: --info http://127.0.0.1:4545/tests/003_relative_import.ts
+output: tests/022_info_flag.out