Skip to content

Commit

Permalink
fixup! lib: support returning Safe collections from C++
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
ExE-Boss and aduh95 committed Jan 20, 2021
1 parent dd0b7a1 commit fd622d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/parallel/test-options-binding.js
Expand Up @@ -19,3 +19,6 @@ assert(
aliases instanceof SafeMap,
"require('internal/options').aliases is a SafeMap",
);

Map.prototype.get = function get() { return 'polluted result'; };
assert.strictEqual(getOptionValue('--expose-internals'), true);

0 comments on commit fd622d9

Please sign in to comment.