From aef56f3d70f3c898d7c99b74ad72cc08a16e5780 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 27 Sep 2023 19:55:54 +0900 Subject: [PATCH] fix(cli): panic with __runtime_js_sources (#20704) Also a drive-by cleanup elsewhere (removing unused enum). Fixes #20702 --- cli/ops/mod.rs | 1 + cli/tools/test/mod.rs | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/cli/ops/mod.rs b/cli/ops/mod.rs index ad4e4bd4e6..ab3a554687 100644 --- a/cli/ops/mod.rs +++ b/cli/ops/mod.rs @@ -29,6 +29,7 @@ deno_core::extension!(cli, esm = [ dir "js", "40_testing.js", + "40_jupyter.js", "99_main.js" ], options = { diff --git a/cli/tools/test/mod.rs b/cli/tools/test/mod.rs index 550ec9f9bb..bf466579fa 100644 --- a/cli/tools/test/mod.rs +++ b/cli/tools/test/mod.rs @@ -173,13 +173,6 @@ pub struct TestDescription { pub location: TestLocation, } -#[derive(Debug, Clone, Eq, PartialEq, Deserialize)] -#[serde(rename_all = "camelCase")] -pub enum TestOutput { - String(String), - Bytes(Vec), -} - #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Debug, Clone, PartialEq, Deserialize)] #[serde(rename_all = "camelCase")]