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 048b3de commit f9ea52eCopy full SHA for f9ea52e
test/parallel/test-vm-context.js
@@ -72,3 +72,7 @@ assert.throws(function() {
72
}, function(err) {
73
return /expected-filename.js:33:130/.test(err.stack);
74
}, 'Expected appearance of proper offset in Error stack');
75
+
76
+// https://github.com/nodejs/node/issues/6158
77
+ctx = new Proxy({}, {});
78
+assert.strictEqual(typeof vm.runInNewContext('String', ctx), 'function');
0 commit comments