Skip to content

Commit 6321f2b

Browse files
RaisinTenmhdawson
authored andcommitted
test: fix typos in addon_build/index.js
PR-URL: #838 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: NickNaso <nicoladelgobbo@gmail.com>
1 parent 59c6a6a commit 6321f2b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/addon_build/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const { promisify } = require('util');
4-
const exec = promisify(require('child_process').exec);
4+
const exec = promisify(require('child_process').exec);
55
const { copy, remove } = require('fs-extra');
66
const path = require('path');
77
const assert = require('assert')
@@ -26,8 +26,8 @@ async function test(addon) {
2626
const { stderr, stdout } = await exec('npm install', {
2727
cwd: path.join(ADDONS_FOLDER, addon)
2828
})
29-
console.log(` >Runting test for: '${addon}'`);
30-
// Disabled the checks on stderr and stdout because of this issuue on npm:
29+
console.log(` >Running test for: '${addon}'`);
30+
// Disabled the checks on stderr and stdout because of this issue on npm:
3131
// Stop using process.umask(): https://github.com/npm/cli/issues/1103
3232
// We should enable the following checks again after the resolution of
3333
// the reported issue.
@@ -41,7 +41,6 @@ async function test(addon) {
4141
assert.strictEqual(binding.noexcept.echo(103), 103);
4242
}
4343

44-
4544
module.exports = (async function() {
4645
await beforeAll(addons);
4746
for (const addon of addons) {

0 commit comments

Comments
 (0)