Node 16.12.0 and higher replaces the getSource and getFormat hooks
with a load hook. This has now been added, calling into the
getSource hook in order to not duplicate its complexity.
There's no need for a separate test, but eventually some mechanism of
testing all supported Node.js versions and collecting the coverage data
will be required, since not all lines are now covered on every Node.js
version.
Node 16.12.0 and higher replaces the
getSource
andgetFormat
hooks with aload
hook. This has now been added, calling into thegetSource
hook in order to not duplicate its complexity.There's no need for a separate test, but eventually some mechanism of testing all supported Node.js versions and collecting the coverage data will be required, since not all lines are now covered on every Node.js version.