Skip to content

Commit

Permalink
amend testEnumerables on ObjectWrap
Browse files Browse the repository at this point in the history
  • Loading branch information
fholzer committed May 31, 2020
1 parent a0020a9 commit 2405844
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/objectwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,14 @@ const test = (binding) => {
}

assert(keys.length == 6);
// on prototype
assert(keys.includes("testGetSet"));
assert(keys.includes("testGetter"));
assert(keys.includes("testValue"));
assert(keys.includes("testMethod"));
// on object only
assert(keys.includes("ownProperty"));
assert(keys.includes("ownPropertyT"));
}
};

Expand Down

0 comments on commit 2405844

Please sign in to comment.