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 Sep 18, 2023
1 parent 748471f commit 37d0630
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 37d0630

Please sign in to comment.