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 6831e42 commit d054e94Copy full SHA for d054e94
test/addons-napi/test_typedarray/test.js
@@ -49,7 +49,9 @@ arrayTypes.forEach((currentType) => {
49
const theArray = test_typedarray.CreateTypedArray(template, buffer);
50
51
assert.ok(theArray instanceof currentType,
52
- 'Type of new array should match that of the template');
+ 'Type of new array should match that of the template. ' +
53
+ `Expected type: ${currentType.name}, ` +
54
+ `actual type: ${template.constructor.name}`);
55
assert.notStrictEqual(theArray, template);
56
assert.strictEqual(theArray.buffer, buffer);
57
});
0 commit comments