summaryrefslogtreecommitdiff
path: root/tests/specs/check/check_with_excluded_file_specified
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/check/check_with_excluded_file_specified')
-rw-r--r--tests/specs/check/check_with_excluded_file_specified/__test__.jsonc4
-rw-r--r--tests/specs/check/check_with_excluded_file_specified/check.out1
-rw-r--r--tests/specs/check/check_with_excluded_file_specified/deno.json6
-rw-r--r--tests/specs/check/check_with_excluded_file_specified/lib/types.d.ts2
4 files changed, 13 insertions, 0 deletions
diff --git a/tests/specs/check/check_with_excluded_file_specified/__test__.jsonc b/tests/specs/check/check_with_excluded_file_specified/__test__.jsonc
new file mode 100644
index 000000000..212ab8fb3
--- /dev/null
+++ b/tests/specs/check/check_with_excluded_file_specified/__test__.jsonc
@@ -0,0 +1,4 @@
+{
+ "args": "check lib/types.d.ts",
+ "output": "check.out"
+}
diff --git a/tests/specs/check/check_with_excluded_file_specified/check.out b/tests/specs/check/check_with_excluded_file_specified/check.out
new file mode 100644
index 000000000..2bc26aaaf
--- /dev/null
+++ b/tests/specs/check/check_with_excluded_file_specified/check.out
@@ -0,0 +1 @@
+Warning No matching files found.
diff --git a/tests/specs/check/check_with_excluded_file_specified/deno.json b/tests/specs/check/check_with_excluded_file_specified/deno.json
new file mode 100644
index 000000000..039be18df
--- /dev/null
+++ b/tests/specs/check/check_with_excluded_file_specified/deno.json
@@ -0,0 +1,6 @@
+{
+ "compilerOptions": {
+ "types": ["./lib/types.d.ts"]
+ },
+ "exclude": ["lib"]
+}
diff --git a/tests/specs/check/check_with_excluded_file_specified/lib/types.d.ts b/tests/specs/check/check_with_excluded_file_specified/lib/types.d.ts
new file mode 100644
index 000000000..a02ad0cbe
--- /dev/null
+++ b/tests/specs/check/check_with_excluded_file_specified/lib/types.d.ts
@@ -0,0 +1,2 @@
+// deno-lint-ignore-file
+declare var test: number;