summaryrefslogtreecommitdiff
path: root/cli/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lib.rs')
-rw-r--r--cli/lib.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/cli/lib.rs b/cli/lib.rs
index 2a13d802d..2cd077ebb 100644
--- a/cli/lib.rs
+++ b/cli/lib.rs
@@ -481,6 +481,7 @@ async fn test_command(
flags: Flags,
include: Option<Vec<String>>,
fail_fast: bool,
+ quiet: bool,
allow_none: bool,
filter: Option<String>,
) -> Result<(), ErrBox> {
@@ -501,7 +502,7 @@ async fn test_command(
let test_file_url =
Url::from_file_path(&test_file_path).expect("Should be valid file url");
let test_file =
- test_runner::render_test_file(test_modules, fail_fast, filter);
+ test_runner::render_test_file(test_modules, fail_fast, quiet, filter);
let main_module =
ModuleSpecifier::resolve_url(&test_file_url.to_string()).unwrap();
let mut worker =
@@ -582,12 +583,12 @@ pub fn main() {
DenoSubcommand::Run { script } => run_command(flags, script).boxed_local(),
DenoSubcommand::Test {
fail_fast,
+ quiet,
include,
allow_none,
filter,
- } => {
- test_command(flags, include, fail_fast, allow_none, filter).boxed_local()
- }
+ } => test_command(flags, include, fail_fast, quiet, allow_none, filter)
+ .boxed_local(),
DenoSubcommand::Completions { buf } => {
if let Err(e) = write_to_stdout_ignore_sigpipe(&buf) {
eprintln!("{}", e);