From d39094913e91e5193f63459d9c5ca6ddc7779477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 24 Jun 2022 12:00:53 +0200 Subject: fix: don't error if Deno.bench() or Deno.test() are used in run subcommand (#14946) --- cli/tests/integration/run_tests.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index fb0d6313b..09a1ba500 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2728,3 +2728,8 @@ fn running_declaration_files() { assert!(output.status.success()); } } + +itest!(test_and_bench_are_noops_in_run { + args: "run test_and_bench_in_run.js", + output_str: Some(""), +}); -- cgit v1.2.3