summaryrefslogtreecommitdiff
path: root/js/net_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/net_test.ts')
-rw-r--r--js/net_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/net_test.ts b/js/net_test.ts
index 0b6db7afa..93ad6ee00 100644
--- a/js/net_test.ts
+++ b/js/net_test.ts
@@ -9,7 +9,7 @@ testPerm({ net: true }, function netListenClose() {
});
testPerm({ net: true }, async function netDialListen() {
- let addr = "127.0.0.1:4500";
+ const addr = "127.0.0.1:4500";
const listener = deno.listen("tcp", addr);
listener.accept().then(async conn => {
await conn.write(new Uint8Array([1, 2, 3]));