summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-21 23:47:46 +0100
committerGitHub <noreply@github.com>2024-01-21 22:47:46 +0000
commit568337f3f43ef050cbbd95995f94e39663530ab4 (patch)
tree368f7d0740073f7b33e8da9aeada13bbdd95f595 /cli/tests/testdata
parent35fc6f3ab91a9f9fdecff5072677f12cde295f3a (diff)
fix: remove conditional unstable type-checking from other commands (#21991)
It appears I missed this in https://github.com/denoland/deno/pull/21825.
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/check/broadcast_channel.ts.error.out4
-rw-r--r--cli/tests/testdata/check/deno_unstable_not_found/deno.json3
-rw-r--r--cli/tests/testdata/check/deno_unstable_not_found/main.out16
-rw-r--r--cli/tests/testdata/check/deno_unstable_not_found/main.ts2
-rw-r--r--cli/tests/testdata/run/unstable_disabled.out5
5 files changed, 0 insertions, 30 deletions
diff --git a/cli/tests/testdata/check/broadcast_channel.ts.error.out b/cli/tests/testdata/check/broadcast_channel.ts.error.out
deleted file mode 100644
index baa6727e3..000000000
--- a/cli/tests/testdata/check/broadcast_channel.ts.error.out
+++ /dev/null
@@ -1,4 +0,0 @@
-error: TS2304 [ERROR]: Cannot find name 'BroadcastChannel'.
-const _channel = new BroadcastChannel("foo");
- ~~~~~~~~~~~~~~~~
- at [WILDCARD]
diff --git a/cli/tests/testdata/check/deno_unstable_not_found/deno.json b/cli/tests/testdata/check/deno_unstable_not_found/deno.json
deleted file mode 100644
index d7de05e18..000000000
--- a/cli/tests/testdata/check/deno_unstable_not_found/deno.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "unstable": ["cron", "http", "kv"]
-}
diff --git a/cli/tests/testdata/check/deno_unstable_not_found/main.out b/cli/tests/testdata/check/deno_unstable_not_found/main.out
deleted file mode 100644
index 98e437267..000000000
--- a/cli/tests/testdata/check/deno_unstable_not_found/main.out
+++ /dev/null
@@ -1,16 +0,0 @@
-error: TS2551 [ERROR]: Property 'openKv' does not exist on type 'typeof Deno'. Did you mean 'open'? 'Deno.openKv' is an unstable API. Did you forget to run with the '--unstable' flag, or did you mean 'open'? If not, try changing the 'lib' compiler option to include 'deno.unstable' or add a triple-slash directive to the top of your entrypoint (main file): /// <reference lib="deno.unstable" />
-Deno.openKv;
- ~~~~~~
- at file:///[WILDCARD]/deno_unstable_not_found/main.ts:1:6
-
- 'open' is declared here.
- export function open(
- ~~~~
- at asset:///lib.deno.ns.d.ts:[WILDCARD]:19
-
-TS2339 [ERROR]: Property 'createHttpClient' does not exist on type 'typeof Deno'. 'Deno.createHttpClient' is an unstable API. Did you forget to run with the '--unstable' flag? If not, try changing the 'lib' compiler option to include 'deno.unstable' or add a triple-slash directive to the top of your entrypoint (main file): /// <reference lib="deno.unstable" />
-Deno.createHttpClient;
- ~~~~~~~~~~~~~~~~
- at file:///[WILDCARD]/deno_unstable_not_found/main.ts:2:6
-
-Found 2 errors.
diff --git a/cli/tests/testdata/check/deno_unstable_not_found/main.ts b/cli/tests/testdata/check/deno_unstable_not_found/main.ts
deleted file mode 100644
index 6661bd205..000000000
--- a/cli/tests/testdata/check/deno_unstable_not_found/main.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-Deno.openKv;
-Deno.createHttpClient;
diff --git a/cli/tests/testdata/run/unstable_disabled.out b/cli/tests/testdata/run/unstable_disabled.out
deleted file mode 100644
index cf78e8ffc..000000000
--- a/cli/tests/testdata/run/unstable_disabled.out
+++ /dev/null
@@ -1,5 +0,0 @@
-[WILDCARD]
-error: TS2339 [ERROR]: Property 'umask' does not exist on type 'typeof Deno'. 'Deno.umask' is an unstable API. Did you forget to run with the '--unstable' flag? If not, try changing the 'lib' compiler option to include 'deno.unstable' or add a triple-slash directive to the top of your entrypoint (main file): /// <reference lib="deno.unstable" />
-console.log(Deno.umask);
- ~~~~~
- at [WILDCARD]/unstable.ts:1:18