You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just some comparison images of @angular/core/testing which works, and @testing-library/angular/jest-utils which doesn't.
@angular/core/testing
@testing-library/angular/jest-utils
The text was updated successfully, but these errors were encountered:
dzonatan
changed the title
broken @testing-library/angular/jest-utils module resolution in Jest v28
broken <ATL>/jest-utils module resolution in Jest v28
Jun 9, 2022
dzonatan
added a commit
to dzonatan/angular-testing-library
that referenced
this issue
Jun 9, 2022
follow-up on jestjs/jest#12927
TLDR:
![image](https://user-images.githubusercontent.com/5166666/172627756-bd68ea8c-2183-4c74-bae6-0852e3c488bd.png)
@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:
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-splittingJust some comparison images of
@angular/core/testing
which works, and@testing-library/angular/jest-utils
which doesn't.@angular/core/testing
@testing-library/angular/jest-utils
The text was updated successfully, but these errors were encountered: