Skip to content

Commit

Permalink
test: adapt to new V8 trusted memory spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored and nodejs-github-bot committed Oct 5, 2023
1 parent 92520d3 commit 9c3dbd5
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 @@ -48,6 +48,8 @@ const expectedHeapSpaces = [
'read_only_space',
'shared_large_object_space',
'shared_space',
'trusted_large_object_space',
'trusted_space',
];
const heapSpaceStatistics = v8.getHeapSpaceStatistics();
const actualHeapSpaceNames = heapSpaceStatistics.map((s) => s.space_name);
Expand Down

0 comments on commit 9c3dbd5

Please sign in to comment.