diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2021-07-05 15:21:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-05 15:21:44 -0400 |
commit | ce3fbb4bd1bcdfbead8fb795d1ff2f71c6051bf4 (patch) | |
tree | e8f21a28dcd9860e9cff8e0d2bc3d481abc952be /cli/tests/info/data_null_error | |
parent | 334cef06e7778dabe7c9b6c4998f476675281698 (diff) |
chore: add tests for previous assertion error when file contained only triple slash references (#11285)
Diffstat (limited to 'cli/tests/info/data_null_error')
-rw-r--r-- | cli/tests/info/data_null_error/data_null_error.out | 6 | ||||
-rw-r--r-- | cli/tests/info/data_null_error/mod.ts | 1 | ||||
-rw-r--r-- | cli/tests/info/data_null_error/types.d.ts | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/info/data_null_error/data_null_error.out b/cli/tests/info/data_null_error/data_null_error.out new file mode 100644 index 000000000..89961be65 --- /dev/null +++ b/cli/tests/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/info/data_null_error/mod.ts b/cli/tests/info/data_null_error/mod.ts new file mode 100644 index 000000000..6e3e99bd4 --- /dev/null +++ b/cli/tests/info/data_null_error/mod.ts @@ -0,0 +1 @@ +/// <reference path="./types.d.ts" /> diff --git a/cli/tests/info/data_null_error/types.d.ts b/cli/tests/info/data_null_error/types.d.ts new file mode 100644 index 000000000..6ecc85676 --- /dev/null +++ b/cli/tests/info/data_null_error/types.d.ts @@ -0,0 +1 @@ +declare class Test {} |