Skip to content

Commit

Permalink
test: fix typos in addon_build/index.js
Browse files Browse the repository at this point in the history
PR-URL: #838
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: NickNaso <[email protected]>
  • Loading branch information
RaisinTen authored and mhdawson committed Nov 23, 2020
1 parent 59c6a6a commit 6321f2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/addon_build/index.js
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -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.
Expand All @@ -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) {
Expand Down

0 comments on commit 6321f2b

Please sign in to comment.