Closed jculvey closed 1 month ago
Replaces the current auto-mocking of 'constants' to support destructured ESM imports and allow for functional polyfill coverage in the future.
Polyfills the node:constants module. Also relocates the os constants to this new module and re-exports them from os.
node:constants
os
Replaces the current auto-mocking of 'constants' to support destructured ESM imports and allow for functional polyfill coverage in the future.
๐ Linked issue
โ Type of change
๐ Description
Polyfills the
node:constants
module. Also relocates theos
constants to this new module and re-exports them fromos
.๐ Checklist