summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli/tests/integration/watcher_tests.rs1
-rw-r--r--runtime/js/90_deno_ns.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/cli/tests/integration/watcher_tests.rs b/cli/tests/integration/watcher_tests.rs
index 289e645ee..1a5fb6203 100644
--- a/cli/tests/integration/watcher_tests.rs
+++ b/cli/tests/integration/watcher_tests.rs
@@ -1494,7 +1494,6 @@ async fn test_watch_serve() {
.current_dir(util::testdata_path())
.arg("run")
.arg("--watch")
- .arg("--unstable")
.arg("--allow-net")
.arg("-L")
.arg("debug")
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 423a0dd83..ffa4bf529 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -129,6 +129,7 @@ const denoNs = {
PermissionStatus: permissions.PermissionStatus,
// TODO(bartlomieju): why is this not in one of extensions?
serveHttp: httpRuntime.serveHttp,
+ serve: http.serve,
resolveDns: net.resolveDns,
upgradeWebSocket: http.upgradeWebSocket,
utime: fs.utime,
@@ -171,7 +172,6 @@ const denoNsUnstable = {
funlock: fs.funlock,
funlockSync: fs.funlockSync,
upgradeHttp: http.upgradeHttp,
- serve: http.serve,
openKv: kv.openKv,
AtomicOperation: kv.AtomicOperation,
Kv: kv.Kv,