diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-11-21 14:36:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 14:36:26 +0100 |
commit | d2327469284327c5ec9bbf72d5d16b9b9f8135d6 (patch) | |
tree | 598c7dde3ba436b27abf2f6be0c7a9770637e352 /cli/lsp/testing/execution.rs | |
parent | fedeea6dde91874774f5a9eb518635427a88e86c (diff) |
feat(core): Ability to create snapshots from existing snapshots (#16597)
Co-authored-by: crowlkats <crowlkats@toaxl.com>
Diffstat (limited to 'cli/lsp/testing/execution.rs')
-rw-r--r-- | cli/lsp/testing/execution.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |