test: update test-heapdump-vm-script.js for new version of V8

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/65161
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
Joyee Cheung authored and Antoine du Hamel committed 2026-10-04 22:38:24 +02:00
1 parent 27be1e05a4
commit 536cedd8bc
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ const script = new vm.Script(source);
const context = vm.createContext();
validateByRetainingPath('Node / ContextifyScript', [
{ node_name: '(shared function info)' }, // This is the UnboundScript referenced by ContextifyScript.
{ node_name: 'system / SharedFunctionInfo' }, // This is the UnboundScript referenced by ContextifyScript.
{ edge_name: 'script' },
{ edge_name: 'source', node_type: 'string', node_name: source },
]);