From 9093caf4b2c6cb8cf5c326cb8fe0f65f738cef05 Mon Sep 17 00:00:00 2001 From: John French Date: Thu, 19 Nov 2020 18:46:40 +0530 Subject: [PATCH] test: fix typos in addon_build/index.js PR-URL: https://github.com/nodejs/node-addon-api/pull/838 Reviewed-By: Michael Dawson Reviewed-By: Chengzhong Wu Reviewed-By: NickNaso --- test/addon_build/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/addon_build/index.js b/test/addon_build/index.js index 0d0c6ea..c410bf3 100644 --- a/test/addon_build/index.js +++ b/test/addon_build/index.js @@ -1,7 +1,7 @@ 'use strict'; const { promisify } = require('util'); -const exec = promisify(require('child_process').exec); +const exec = promisify(require('child_process').exec); const { copy, remove } = require('fs-extra'); const path = require('path'); const assert = require('assert') @@ -26,8 +26,8 @@ async function test(addon) { const { stderr, stdout } = await exec('npm install', { cwd: path.join(ADDONS_FOLDER, addon) }) - console.log(` >Runting test for: '${addon}'`); - // Disabled the checks on stderr and stdout because of this issuue on npm: + console.log(` >Running test for: '${addon}'`); + // Disabled the checks on stderr and stdout because of this issue on npm: // Stop using process.umask(): https://github.com/npm/cli/issues/1103 // We should enable the following checks again after the resolution of // the reported issue. @@ -41,7 +41,6 @@ async function test(addon) { assert.strictEqual(binding.noexcept.echo(103), 103); } - module.exports = (async function() { await beforeAll(addons); for (const addon of addons) {