summaryrefslogtreecommitdiff
path: root/cli/tests/integration/check_tests.rs
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-05-14 20:27:14 +0900
committerGitHub <noreply@github.com>2023-05-14 20:27:14 +0900
commit6bea6b31d3b502165e7e890c889919d67df1a795 (patch)
treec73a589905eb62f835bfb12c28063ae067f6ab26 /cli/tests/integration/check_tests.rs
parent226a373c497cc3439e032332fefaffa75211afbd (diff)
fix(dts): move BroadcastChannel type to lib.deno.unstable.d.ts (#19108)
Diffstat (limited to 'cli/tests/integration/check_tests.rs')
-rw-r--r--cli/tests/integration/check_tests.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/integration/check_tests.rs b/cli/tests/integration/check_tests.rs
index 84ddd53be..84ed92990 100644
--- a/cli/tests/integration/check_tests.rs
+++ b/cli/tests/integration/check_tests.rs
@@ -84,6 +84,17 @@ itest!(check_no_error_truncation {
exit_code: 1,
});
+itest!(check_broadcast_channel_stable {
+ args: "check --quiet check/broadcast_channel.ts",
+ output: "check/broadcast_channel.ts.error.out",
+ exit_code: 1,
+});
+
+itest!(check_broadcast_channel_unstable {
+ args: "check --quiet --unstable check/broadcast_channel.ts",
+ exit_code: 0,
+});
+
#[test]
fn cache_switching_config_then_no_config() {
let context = TestContext::default();