summaryrefslogtreecommitdiff
path: root/tests/specs/info
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-13 12:21:13 -0400
committerGitHub <noreply@github.com>2024-03-13 16:21:13 +0000
commitb3ca3b2f25931afb350027bde87dc3d4f9a741b0 (patch)
treee8d4f1211310e4998cd21882b96d0a799a83de87 /tests/specs/info
parenteccdb0e99acd66cce38fc8535aeab221a8a6fffa (diff)
chore: rough first pass on spec tests (#22877)
Diffstat (limited to 'tests/specs/info')
-rw-r--r--tests/specs/info/ts_error/__test__.json4
-rw-r--r--tests/specs/info/ts_error/info_ts_error.out6
-rw-r--r--tests/specs/info/ts_error/info_ts_error.ts1
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/specs/info/ts_error/__test__.json b/tests/specs/info/ts_error/__test__.json
new file mode 100644
index 000000000..9ec9b6044
--- /dev/null
+++ b/tests/specs/info/ts_error/__test__.json
@@ -0,0 +1,4 @@
+{
+ "args": "info info_ts_error.ts",
+ "output": "info_ts_error.out"
+}
diff --git a/tests/specs/info/ts_error/info_ts_error.out b/tests/specs/info/ts_error/info_ts_error.out
new file mode 100644
index 000000000..d2e7aeb14
--- /dev/null
+++ b/tests/specs/info/ts_error/info_ts_error.out
@@ -0,0 +1,6 @@
+local: [WILDCARD]info_ts_error.ts
+type: TypeScript
+dependencies: 0 unique
+size: [WILDCARD]
+
+[WILDCARD]info_ts_error.ts ([WILDCARD])
diff --git a/tests/specs/info/ts_error/info_ts_error.ts b/tests/specs/info/ts_error/info_ts_error.ts
new file mode 100644
index 000000000..9b7492dbe
--- /dev/null
+++ b/tests/specs/info/ts_error/info_ts_error.ts
@@ -0,0 +1 @@
+const _foo: string = 1;