Closed jculvey closed 4 months ago
Replaces the current auto-mocking of 'cluster' to support destructured ESM imports and allow for functional polyfill coverage in the future.
Adds a polyfill for the node:cluster module.
node:cluster
Nice work.
Checking Node.js implementation it seems they directly assign certain properties to the instance of EventEmitter. perhaps we can make it closer to this?
EventEmitter
Thanks.
Replaces the current auto-mocking of 'cluster' to support destructured ESM imports and allow for functional polyfill coverage in the future.
๐ Linked issue
โ Type of change
๐ Description
Adds a polyfill for the
node:cluster
module.๐ Checklist