Reinstall Node whenever a NodeRuntime operation has serious error
This commit is contained in:
@@ -2177,7 +2177,7 @@ mod tests {
|
||||
languages.set_executor(cx.background().clone());
|
||||
let languages = Arc::new(languages);
|
||||
let http = FakeHttpClient::with_404_response();
|
||||
let node_runtime = NodeRuntime::new(http, cx.background().to_owned());
|
||||
let node_runtime = NodeRuntime::instance(http, cx.background().to_owned());
|
||||
languages::init(languages.clone(), node_runtime);
|
||||
for name in languages.language_names() {
|
||||
languages.language_for_name(&name);
|
||||
|
||||
Reference in New Issue
Block a user