diff --git a/src/node_messaging.h b/src/node_messaging.h index 643604e4a99..6b65d4523e6 100644 --- a/src/node_messaging.h +++ b/src/node_messaging.h @@ -316,7 +316,7 @@ class MessagePort : public HandleWrap { }; // Provide a base class from which JS classes that should be transferable or -// cloneable by postMesssage() can inherit. +// cloneable by postMessage() can inherit. // See e.g. FileHandle in internal/fs/promises.js for an example. class JSTransferable : public BaseObject { public: diff --git a/test/es-module/test-esm-cjs-exports.js b/test/es-module/test-esm-cjs-exports.js index 4a5a9ffceec..4f79d2ce4bc 100644 --- a/test/es-module/test-esm-cjs-exports.js +++ b/test/es-module/test-esm-cjs-exports.js @@ -17,7 +17,7 @@ describe('ESM: importing CJS', { concurrency: true }, () => { assert.strictEqual(stdout, 'ok\n'); }); - it('should eror on invalid CJS exports', async () => { + it('should error on invalid CJS exports', async () => { const invalidEntry = fixtures.path('/es-modules/cjs-exports-invalid.mjs'); const { code, signal, stderr } = await spawnPromisified(execPath, [invalidEntry]);