summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-06-13 23:13:16 +0200
committerGitHub <noreply@github.com>2022-06-13 23:13:16 +0200
commit4a0a412d7cd077ff519b4da8f6ffd1247c6375a5 (patch)
treee5ad94395d7450db832d77cd158a4218ea50d038 /cli/tests/testdata
parent24571a395203aad7cda07ffef0ef64285351e42b (diff)
feat: no type-check by default (#14691)
This commit changes default default behavior of type checking for several subcommands. Instead of type checking and reporting type errors only for local files, the type checking is skipped entirely. Type checking can still be enabled using the "--check" flag. Following subcomands are affected: - deno cache - deno install - deno eval - deno run
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/cache/check_local_by_default2.out4
-rw-r--r--cli/tests/testdata/eval/check_local_by_default2.out7
-rw-r--r--cli/tests/testdata/future_check1.out1
3 files changed, 3 insertions, 9 deletions
diff --git a/cli/tests/testdata/cache/check_local_by_default2.out b/cli/tests/testdata/cache/check_local_by_default2.out
index 1367dc70e..e69de29bb 100644
--- a/cli/tests/testdata/cache/check_local_by_default2.out
+++ b/cli/tests/testdata/cache/check_local_by_default2.out
@@ -1,4 +0,0 @@
-error: TS2322 [ERROR]: Type '12' is not assignable to type '"b"'.
-const b: "b" = 12;
- ^
- at [WILDCARD]cache/check_local_by_default2.ts:3:7
diff --git a/cli/tests/testdata/eval/check_local_by_default2.out b/cli/tests/testdata/eval/check_local_by_default2.out
index 072068827..086d4bb34 100644
--- a/cli/tests/testdata/eval/check_local_by_default2.out
+++ b/cli/tests/testdata/eval/check_local_by_default2.out
@@ -1,4 +1,3 @@
-error: TS2322 [ERROR]: Type '12' is not assignable to type '"b"'.
-const b: "b" = 12;
- ^
- at [WILDCARD]eval/check_local_by_default2.ts:3:7
+12
+12
+Module {}
diff --git a/cli/tests/testdata/future_check1.out b/cli/tests/testdata/future_check1.out
deleted file mode 100644
index c626a5485..000000000
--- a/cli/tests/testdata/future_check1.out
+++ /dev/null
@@ -1 +0,0 @@
-Check [WILDCARD]/future_check.ts