Skip to content

doc,test: update the v8.startupSnapshot doc and test the example

The API is now available to user-land run-time snapshots. So update the example. This also makes the intention of the examples a bit clearer and test it in our test suite.

This depends on https://github.com/nodejs/node/pull/47466 and https://github.com/nodejs/node/pull/47467, otherwise the example is broken.

Merge request reports

Loading