From d2327469284327c5ec9bbf72d5d16b9b9f8135d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 21 Nov 2022 14:36:26 +0100 Subject: feat(core): Ability to create snapshots from existing snapshots (#16597) Co-authored-by: crowlkats --- cli/lsp/testing/execution.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/lsp/testing/execution.rs') diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 950f2a96e..d839cda56 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -7,7 +7,6 @@ use super::lsp_custom; use crate::args::flags_from_vec; use crate::args::DenoSubcommand; use crate::checksum; -use crate::create_main_worker; use crate::lsp::client::Client; use crate::lsp::client::TestingNotification; use crate::lsp::config; @@ -16,6 +15,7 @@ use crate::ops; use crate::proc_state; use crate::tools::test; use crate::tools::test::TestEventSender; +use crate::worker::create_main_worker_for_test_or_bench; use deno_core::anyhow::anyhow; use deno_core::error::AnyError; @@ -154,7 +154,7 @@ async fn test_specifier( filter: test::TestFilter, ) -> Result<(), AnyError> { if !token.is_cancelled() { - let mut worker = create_main_worker( + let mut worker = create_main_worker_for_test_or_bench( &ps, specifier.clone(), permissions, -- cgit v1.2.3