Fix failing test
This commit is contained in:
parent
665d3166ed
commit
fa197ad583
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ describe('nativeImage module', () => {
|
||||||
assert.equal(nsimage.length, 8);
|
assert.equal(nsimage.length, 8);
|
||||||
|
|
||||||
// If all bytes are null, that's Bad
|
// If all bytes are null, that's Bad
|
||||||
assert.equal(nsimage.reduce((acc,x) => acc || (x != 0)), true);
|
assert.equal(!!nsimage.reduce((acc,x) => acc || (x != 0)), true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue