mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
`TestBed.get()` has been [deprecated in v9][1], in favor of `TestBed.inject()`. In ##32382, the HTTP guide wording has been updated to mention `TestBed.inject()` instead of `TestBed.get()`, but the associated code snippets (extracted from the `http` example) were not. This commit updates the HTTP guide examples to also use `TestBed.inject()`. [1]: https://v9.angular.io/guide/deprecations#testing Fixes #35609 PR Close #35777 |
||
|---|---|---|
| .. | ||
| e2e/src | ||
| src | ||
| example-config.json | ||
| specs.stackblitz.json | ||
| stackblitz.json | ||