Closed
Description
follow-up on jestjs/jest#12927
TLDR: @testing-library/angular/jest-utils
import in Jest v28 is broken and results in this error:
Based on Simen's comment it seems like this library uses a bad package format:
@testing-library/angular
needs to add an entry for it in exports.
Which is probably true because other packages like @angular/core/testing
are following this format. There is even a comment about this in the Angular package format: https://angular.io/guide/angular-package-format#entrypoints-and-code-splitting
Just some comparison images of @angular/core/testing
which works, and @testing-library/angular/jest-utils
which doesn't.