mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chore(lsp): remove TestingSettings::enable (#20407)
This commit is contained in:
parent
a9cc4631ca
commit
14522fc628
2 changed files with 1 additions and 10 deletions
|
@ -252,17 +252,12 @@ pub struct TestingSettings {
|
|||
/// a workspace.
|
||||
#[serde(default)]
|
||||
pub args: Vec<String>,
|
||||
/// Enable or disable the testing API if the client is capable of supporting
|
||||
/// the testing API.
|
||||
#[serde(default = "is_true")]
|
||||
pub enable: bool,
|
||||
}
|
||||
|
||||
impl Default for TestingSettings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
args: vec!["--allow-all".to_string(), "--no-check".to_string()],
|
||||
enable: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -971,7 +966,6 @@ mod tests {
|
|||
},
|
||||
testing: TestingSettings {
|
||||
args: vec!["--allow-all".to_string(), "--no-check".to_string()],
|
||||
enable: true
|
||||
},
|
||||
tls_certificate: None,
|
||||
unsafely_ignore_certificate_errors: None,
|
||||
|
|
|
@ -308,9 +308,6 @@ pub fn get_repl_workspace_settings() -> WorkspaceSettings {
|
|||
hosts: HashMap::from([("https://deno.land".to_string(), true)]),
|
||||
},
|
||||
},
|
||||
testing: TestingSettings {
|
||||
args: vec![],
|
||||
enable: false,
|
||||
},
|
||||
testing: TestingSettings { args: vec![] },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue