diff options
Diffstat (limited to 'cli/tests/unit_node')
-rw-r--r-- | cli/tests/unit_node/buffer_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit_node/http_test.ts | 2 | ||||
-rw-r--r-- | cli/tests/unit_node/worker_threads_test.ts | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/unit_node/buffer_test.ts b/cli/tests/unit_node/buffer_test.ts index 74415d0d5..5244764c6 100644 --- a/cli/tests/unit_node/buffer_test.ts +++ b/cli/tests/unit_node/buffer_test.ts @@ -215,7 +215,7 @@ Deno.test({ assertEquals( Buffer.byteLength(Buffer.alloc(0)), Buffer.alloc(0).byteLength, - "Byte lenght differs on buffers", + "Byte length differs on buffers", ); }, }); diff --git a/cli/tests/unit_node/http_test.ts b/cli/tests/unit_node/http_test.ts index d54368003..2a2203e05 100644 --- a/cli/tests/unit_node/http_test.ts +++ b/cli/tests/unit_node/http_test.ts @@ -288,7 +288,7 @@ Deno.test("[node/http] non-string buffer response", { }); // TODO(kt3k): Enable this test -// Currently ImcomingMessage constructor has incompatible signature. +// Currently IncomingMessage constructor has incompatible signature. /* Deno.test("[node/http] http.IncomingMessage can be created without url", () => { const message = new http.IncomingMessage( diff --git a/cli/tests/unit_node/worker_threads_test.ts b/cli/tests/unit_node/worker_threads_test.ts index c46df057e..a43a1b506 100644 --- a/cli/tests/unit_node/worker_threads_test.ts +++ b/cli/tests/unit_node/worker_threads_test.ts @@ -103,7 +103,7 @@ Deno.test({ worker.postMessage("Hello, how are you my thread?"); assertEquals((await once(worker, "message"))[0], "I'm fine!"); const data = (await once(worker, "message"))[0]; - // data.threadId can be 1 when this test is runned individually + // data.threadId can be 1 when this test is run individually if (data.threadId === 1) data.threadId = 3; assertObjectMatch(data, { isMainThread: false, @@ -144,7 +144,7 @@ Deno.test({ }); Deno.test({ - name: "[worker_threads] inheritences", + name: "[worker_threads] inheritances", async fn() { const worker = new workerThreads.Worker( ` |