rushstack
rushstack copied to clipboard
[heft-jest-plugin] Upgrade to Jest 28.1.0+ to support additional ESM constructs
Summary
Jest 27 has limited support for ES modules. For example, it doesn't support subpath exports.
From what I can see, Jest 28 now adds more support for ESM. It'd be great if we can upgrade the jest libs here to use that.