Skip to content

Commit

Permalink
test: adapt test-v8-stats for V8 update
Browse files Browse the repository at this point in the history
PR-URL: nodejs#45230
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
  • Loading branch information
targos authored and marco-ippolito committed Nov 23, 2022
1 parent 8760552 commit cd01539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/parallel/test-v8-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ const expectedHeapSpaces = [
'new_space',
'old_space',
'read_only_space',
'shared_large_object_space',
'shared_space',
];
const heapSpaceStatistics = v8.getHeapSpaceStatistics();
const actualHeapSpaceNames = heapSpaceStatistics.map((s) => s.space_name);
Expand Down

0 comments on commit cd01539

Please sign in to comment.