summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/info
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/testdata/info
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
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])