-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate Angular teardown #253
Comments
When
Other |
This might be of interest: Improving Angular tests by enabling Angular testing module teardown. |
@LayZeeDK sorry to ping you here, but this reproduction should cause an error, right? I'm asking because I don't get the error. |
I would think so, it's similar to what it looks like in my repo where I had the issue. Try putting the teardown in a beforeAll hook. I'll try to set up a minimal reproduction repo myself within the next week. This is the time and repo where I had the issue. Using Angular 12, Jest, Nx, Angular Testing Library 10 https://github.com/Energinet-DataHub/greenforce-frontend/blob/2e23092ab700beb3cc2f6cd112dd767276cd4c59/libs/ett/auth/feature-login/src/lib/ett-authentication-link.directive.spec.ts |
Thanks @LayZeeDK I'll have a look at that spec later. |
I just cloned that repo, and it seems fine to me, even when I set |
Thanks for your support, @timdeschryver. I'm also unable to reproduce now. It must have been a local dependency issue. You can close this issue. |
No problem, thanks for your input! |
Will become the default:
angular/angular#43353
The text was updated successfully, but these errors were encountered: