Provide option to delete Deno namespace in worker (#2717)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-08-05 04:23:41 -07:00 committed by Ryan Dahl
parent aaa7a3eac4
commit ddee2dff14
18 changed files with 128 additions and 17 deletions

View file

@ -126,6 +126,7 @@ mod tests {
argv,
op_selector_std,
Progress::new(),
true,
)
.unwrap();
let state_ = state.clone();
@ -155,6 +156,7 @@ mod tests {
argv,
op_selector_std,
Progress::new(),
true,
)
.unwrap();
let state_ = state.clone();
@ -182,7 +184,7 @@ mod tests {
let mut flags = flags::DenoFlags::default();
flags.reload = true;
let state =
ThreadSafeState::new(flags, argv, op_selector_std, Progress::new())
ThreadSafeState::new(flags, argv, op_selector_std, Progress::new(), true)
.unwrap();
let state_ = state.clone();
tokio_util::run(lazy(move || {