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/tools/test.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/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 09257efff..1bb891a1e 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -5,7 +5,6 @@ use crate::args::TestFlags; use crate::args::TypeCheckMode; use crate::checksum; use crate::colors; -use crate::create_main_worker; use crate::display; use crate::file_fetcher::File; use crate::file_watcher; @@ -18,6 +17,7 @@ use crate::graph_util::contains_specifier; use crate::graph_util::graph_valid; use crate::ops; use crate::proc_state::ProcState; +use crate::worker::create_main_worker_for_test_or_bench; use deno_ast::swc::common::comments::CommentKind; use deno_ast::MediaType; @@ -715,7 +715,7 @@ async fn test_specifier( sender: &TestEventSender, options: TestSpecifierOptions, ) -> Result<(), AnyError> { - let mut worker = create_main_worker( + let mut worker = create_main_worker_for_test_or_bench( &ps, specifier.clone(), permissions, |