diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-01-21 15:53:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 15:53:29 +0100 |
commit | 5e2fd183ff1fe240ddbd864dbf1e6a0941fb4582 (patch) | |
tree | bf550552bd54e7adbd87749ae663b8fafb2c4f0d /cli/worker.rs | |
parent | 0cd605515c99458fa80cd4a1a3906f3db37a86ca (diff) |
refactor: Rename JS entry functions (#3732)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 4601a6021..4ad79a09b 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -339,7 +339,7 @@ mod tests { state, ext, ); - worker.execute("denoMain()").unwrap(); + worker.execute("bootstrapMainRuntime()").unwrap(); let result = worker .execute_mod_async(&module_specifier, None, false) .await; @@ -371,8 +371,8 @@ mod tests { state, ext, ); - worker.execute("denoMain()").unwrap(); - worker.execute("workerMain()").unwrap(); + worker.execute("bootstrapMainRuntime()").unwrap(); + worker.execute("bootstrapWorkerRuntime()").unwrap(); worker } |