diff --git a/test/addons/worker-buffer-callback/test.js b/test/addons/worker-buffer-callback/test.js index b04984f1576432..08625b72384eb1 100644 --- a/test/addons/worker-buffer-callback/test.js +++ b/test/addons/worker-buffer-callback/test.js @@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads'); const { buffer } = require(`./build/${common.buildType}/binding`); // Test that buffers allocated with a free callback through our APIs are not -// transfered. +// transferred. const { port1 } = new MessageChannel(); const origByteLength = buffer.byteLength; diff --git a/test/parallel/test-buffer-pool-untransferable.js b/test/parallel/test-buffer-pool-untransferable.js index 96e109c113fee8..d39b03435fa5b7 100644 --- a/test/parallel/test-buffer-pool-untransferable.js +++ b/test/parallel/test-buffer-pool-untransferable.js @@ -15,6 +15,6 @@ const length = a.length; const { port1 } = new MessageChannel(); port1.postMessage(a, [ a.buffer ]); -// Verify that the pool ArrayBuffer has not actually been transfered: +// Verify that the pool ArrayBuffer has not actually been transferred: assert.strictEqual(a.buffer, b.buffer); assert.strictEqual(a.length, length);