fix(cli): panic with __runtime_js_sources (#20704)

Also a drive-by cleanup elsewhere (removing unused enum).

Fixes #20702
This commit is contained in:
Luca Casonato 2023-09-27 19:55:54 +09:00 committed by GitHub
parent 3b78981ffe
commit aef56f3d70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -29,6 +29,7 @@ deno_core::extension!(cli,
esm = [
dir "js",
"40_testing.js",
"40_jupyter.js",
"99_main.js"
],
options = {

View file

@ -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<u8>),
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Debug, Clone, PartialEq, Deserialize)]
#[serde(rename_all = "camelCase")]