8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a766802 commit 31c9717Copy full SHA for 31c9717
test/addons-napi/test_async/test.js
@@ -9,7 +9,7 @@ const testException = 'test_async_cb_exception';
9
// Exception thrown from async completion callback.
10
// (Tested in a spawned process because the exception is fatal.)
11
if (process.argv[2] === 'child') {
12
- test_async.Test(1, common.mustCall(function(err, val) {
+ test_async.Test(1, common.mustCall(function() {
13
throw new Error(testException);
14
}));
15
return;
test/addons-napi/test_typedarray/test.js
@@ -44,7 +44,7 @@ const arrayTypes = [ Int8Array, Uint8Array, Uint8ClampedArray, Int16Array,
44
Uint16Array, Int32Array, Uint32Array, Float32Array,
45
Float64Array ];
46
47
-arrayTypes.forEach((currentType, key) => {
+arrayTypes.forEach((currentType) => {
48
const template = Reflect.construct(currentType, buffer);
49
const theArray = test_typedarray.CreateTypedArray(template, buffer);
50
test/addons/repl-domain-abort/test.js
@@ -25,7 +25,7 @@ const lines = [
25
const dInput = new stream.Readable();
26
const dOutput = new stream.Writable();
27
28
-dInput._read = function _read(size) {
+dInput._read = function _read() {
29
while (lines.length > 0 && this.push(lines.shift()));
30
if (lines.length === 0)
31
this.push(null);