Skip to content

Conversation

crisbeto
Copy link
Member

We have some tests that are using the inject function from @angular/core/testing to inject services. This hasn't been the standard for a while and leads to a lot of boilerplate. These changes switch to using TestBed.inject and clean up the existing code.

We have some tests that are using the `inject` function from `@angular/core/testing` to inject services. This hasn't been the standard for a while and leads to a lot of boilerplate. These changes switch to using `TestBed.inject` and clean up the existing code.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Apr 11, 2025
@crisbeto crisbeto requested a review from a team as a code owner April 11, 2025 07:28
@crisbeto crisbeto requested review from mmalerba and wagnermaciel and removed request for a team April 11, 2025 07:28
@mmalerba mmalerba added the action: merge The PR is ready for merge by the caretaker label Apr 11, 2025
@crisbeto crisbeto removed the request for review from wagnermaciel April 11, 2025 20:47
@crisbeto crisbeto added target: major This PR is targeted for the next major release and removed target: patch This PR is targeted for the next patch release labels Apr 11, 2025
@crisbeto crisbeto merged commit 4e0ea8e into angular:main Apr 11, 2025
26 of 29 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants