diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-06-13 20:03:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 02:03:10 +0000 |
commit | ec8e9d4f5bd2c8eed5f086356c1c6dd7c8b40b7f (patch) | |
tree | 2ffda9204901bfb757e8ce6359d1fc6aa2f9964b /core/modules/tests.rs | |
parent | fd9d6baea311d9b227b130749647a86838ba2ccc (diff) |
chore(core): Refactor runtime and split out tests (#19491)
This is a quick first refactoring to split the tests out of runtime and
move runtime-related code to a top-level runtime module.
There will be a followup to refactor imports a bit, but this is the
major change that will most likely conflict with other work and I want
to merge it early.
Diffstat (limited to 'core/modules/tests.rs')
-rw-r--r-- | core/modules/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/tests.rs b/core/modules/tests.rs index d32d7244e..0eb7ce514 100644 --- a/core/modules/tests.rs +++ b/core/modules/tests.rs @@ -1,8 +1,8 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::ascii_str; use crate::resolve_import; -use crate::JsRuntime; -use crate::JsRuntimeForSnapshot; +use crate::runtime::JsRuntime; +use crate::runtime::JsRuntimeForSnapshot; use crate::RuntimeOptions; use crate::Snapshot; use deno_ops::op; |