Skip to content

Commit e47b38e

Browse files
committed
Enabling a test of a non-configurable property of a sandbox.
1 parent 2a070af commit e47b38e

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • graal-nodejs/test/graal/unit

graal-nodejs/test/graal/unit/vm.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ describe('vm', function () {
7575
assert.strictEqual(desc.value, value);
7676
assert.strictEqual(desc.writable, false);
7777
assert.strictEqual(desc.enumerable, false);
78-
// The following assertion holds on the original Node.js but we
79-
// fail to satisfy it because the global object of the context
80-
// is implemented by Proxy that cannot have non-configurable
81-
// properties not present in the target (which is the original
82-
// global object, not the sandbox - where the non-configurable
83-
// property is defined)
84-
//assert.strictEqual(desc.configurable, false);
78+
assert.strictEqual(desc.configurable, false);
8579
});
8680
});

0 commit comments

Comments
 (0)