TestBed.get is considered deprecated by the docs
See original GitHub issueDescription
TestBed.get
is considered deprecated according to the angular.io docs. Even though it isn’t deprecated according to the changelog.
🔬 Minimal Reproduction
What’s the affected URL?**
https://angular.io/api/core/testing/TestBed#get
Expected vs Actual Behavior**
Expected only one overload to be deprecated, as specified in the changelog: https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes
📷Screenshot
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
What's the difference between TestBed.get and new ...
As for the TestBed.get() being deprecated, in Angular 8.0.0, only the specific overload that allows any type was deprecated (see https://github.
Read more >Angular – What's the difference between TestBed.get and ...
As for the TestBed.get() being deprecated, in Angular 8.0.0, only the specific overload that allows any type was deprecated (see https://github.com/angular ...
Read more >TestBed
TestBed is the primary api for writing unit tests for Angular applications and libraries. ... get()link ... Deprecated from v9.0.0 use TestBed.inject ...
Read more >@angular/router-deprecated | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn. ≡. Home · Getting started.
Read more >Changelog
The Test Runner has a new 'Docs' menu with links and prompts specific to helping you get started writing tests, set up in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gkalpak @kapunahelewong we can close this test bed.get is deprecated in v9.0.0
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.