summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/info
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/info')
-rw-r--r--cli/tests/testdata/info/data_null_error/data_null_error.out6
-rw-r--r--cli/tests/testdata/info/data_null_error/mod.ts1
-rw-r--r--cli/tests/testdata/info/data_null_error/types.d.ts1
-rw-r--r--cli/tests/testdata/info/types_header.out8
4 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/testdata/info/data_null_error/data_null_error.out b/cli/tests/testdata/info/data_null_error/data_null_error.out
new file mode 100644
index 000000000..89961be65
--- /dev/null
+++ b/cli/tests/testdata/info/data_null_error/data_null_error.out
@@ -0,0 +1,6 @@
+local: [WILDCARD]mod.ts
+type: TypeScript
+dependencies: 1 unique (total [WILDCARD])
+
+file://[WILDCARD]/mod.ts ([WILDCARD])
+└── file://[WILDCARD]/types.d.ts ([WILDCARD])
diff --git a/cli/tests/testdata/info/data_null_error/mod.ts b/cli/tests/testdata/info/data_null_error/mod.ts
new file mode 100644
index 000000000..6e3e99bd4
--- /dev/null
+++ b/cli/tests/testdata/info/data_null_error/mod.ts
@@ -0,0 +1 @@
+/// <reference path="./types.d.ts" />
diff --git a/cli/tests/testdata/info/data_null_error/types.d.ts b/cli/tests/testdata/info/data_null_error/types.d.ts
new file mode 100644
index 000000000..6ecc85676
--- /dev/null
+++ b/cli/tests/testdata/info/data_null_error/types.d.ts
@@ -0,0 +1 @@
+declare class Test {}
diff --git a/cli/tests/testdata/info/types_header.out b/cli/tests/testdata/info/types_header.out
new file mode 100644
index 000000000..d3b6e8c4e
--- /dev/null
+++ b/cli/tests/testdata/info/types_header.out
@@ -0,0 +1,8 @@
+[WILDCARD]
+local: [WILDCARD]type_directives_01.ts
+type: TypeScript
+dependencies: 2 unique (total [WILDCARD])
+
+[WILDCARD]/type_directives_01.ts ([WILDCARD])
+└─┬ http://127.0.0.1:4545/xTypeScriptTypes.js ([WILDCARD])
+ └── http://127.0.0.1:4545/xTypeScriptTypes.d.ts ([WILDCARD])