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 29959e7 commit d1c6519Copy full SHA for d1c6519
test/js-native-api/test_object/test.js
@@ -404,6 +404,7 @@ assert.deepStrictEqual(test_object.TestGetProperty(), {
404
405
const objectWithCustomPrototype = test_object.TestCreateObjectWithCustomPrototype();
406
assert.strictEqual(typeof objectWithCustomPrototype, 'object');
407
+ assert.deepStrictEqual(Object.getOwnPropertyNames(objectWithCustomPrototype), ['value']);
408
assert.strictEqual(objectWithCustomPrototype.value, 42);
409
assert.strictEqual(typeof objectWithCustomPrototype.test, 'function');
410
}
0 commit comments