From ec8e9d4f5bd2c8eed5f086356c1c6dd7c8b40b7f Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Tue, 13 Jun 2023 20:03:10 -0600 Subject: 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. --- core/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ops.rs') diff --git a/core/ops.rs b/core/ops.rs index b766eb60d..372ffe5b2 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -1,10 +1,10 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. use crate::error::AnyError; +use crate::error::GetErrorClassFn; use crate::gotham_state::GothamState; -use crate::realm::ContextState; use crate::resources::ResourceTable; -use crate::runtime::GetErrorClassFn; +use crate::runtime::ContextState; use crate::runtime::JsRuntimeState; use crate::OpDecl; use crate::OpsTracker; -- cgit v1.2.3