| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:41564184-915c-938a-655b-db7ab734dbf2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9582:76F02:1DD01B7:2629CC6:6B01584D |
| html-safe-nonce | a837a711831bdadfcc4bcc5b51d2d90b926ab7d91abff86588e316ff7010c994 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTgyOjc2RjAyOjFERDAxQjc6MjYyOUNDNjo2QjAxNTg0RCIsInZpc2l0b3JfaWQiOiI0NTEyMDc4Mjk0MDQwMDA4NzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a78f7a2fc6d46afc9a3e8646d1a7722b5a2bc2de538af0e2bbd01926388bdc86 |
| hovercard-subject-tag | pull_request:2397158148 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular/pull/60414/files |
| twitter:image | https://avatars.githubusercontent.com/u/4450522?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4450522?s=400&v=4 |
| og:image:alt | TestBed.get isn't type safe and has been deprecated for several years now. These changes remove it from the public API.
BREAKING CHANGE:
TestBed.get has been removed. Use TestBed.inject instead. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/angular/angular/pull/60414/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F60414%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F60414%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular |
| Reload | https://github.com/angular/angular/pull/60414/files |
| Reload | https://github.com/angular/angular/pull/60414/files |
| Reload | https://github.com/angular/angular/pull/60414/files |
| angular | https://github.com/angular |
| angular | https://github.com/angular/angular |
| Code | https://github.com/angular/angular |
| Issues836 (836) | https://github.com/angular/angular/issues |
| Pull requests141 (141) | https://github.com/angular/angular/pulls |
| Discussions | https://github.com/angular/angular/discussions |
| Actions | https://github.com/angular/angular/actions |
| Projects | https://github.com/angular/angular/projects |
| Security and quality40 (40) | https://github.com/angular/angular/security |
| Insights | https://github.com/angular/angular/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose |
| crisbeto | https://github.com/crisbeto |
| angular:main | https://github.com/angular/angular/tree/main |
| crisbeto:test-bed-get-removal | https://github.com/crisbeto/angular/tree/test-bed-get-removal |
|
Conversation
9
| https://github.com/angular/angular/pull/60414 |
|
Commits
2
| https://github.com/angular/angular/pull/60414/commits |
|
Checks
0
| https://github.com/angular/angular/pull/60414/checks |
|
Files changed
| https://github.com/angular/angular/pull/60414/files |
| Please reload this page | https://github.com/angular/angular/pull/60414/files |
|
feat(core): remove TestBed.get
| https://github.com/angular/angular/pull/60414/files#top |
|
Show all changes
2 commits
| https://github.com/angular/angular/pull/60414/files |
|
f53d518
feat(core): remove TestBed.get
crisbeto Mar 17, 2025
| https://github.com/angular/angular/pull/60414/commits/f53d51844f5a8d870a92928da44a371d6668192c |
|
2abad2f
refactor(migrations): add migration for TestBed.get
crisbeto Mar 17, 2025
| https://github.com/angular/angular/pull/60414/commits/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5 |
|
Clear filters
| https://github.com/angular/angular/pull/60414/files |
| Please reload this page | https://github.com/angular/angular/pull/60414/files |
| Please reload this page | https://github.com/angular/angular/pull/60414/files |
|
index.api.md
| https://github.com/angular/angular/pull/60414/files#diff-b04a8dee8ef09ce0d91a355042c257919c14b410998663c34b74dbe110cc3495 |
|
module_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
|
BUILD.bazel
| https://github.com/angular/angular/pull/60414/files#diff-0237962d3d0f4090a0aadcb62f418e6484b60d0571265044c0d4ffc572ddf24a |
|
migrations.json
| https://github.com/angular/angular/pull/60414/files#diff-f201313890b0b55a2e0a53275e2549e2df7d66dc7af2cd3c14fc098002f57ae6 |
|
BUILD.bazel
| https://github.com/angular/angular/pull/60414/files#diff-8e7f6b945bf9806f31346984bdc6e9036f218aafc99589e32a5d9b9ece095308 |
|
README.md
| https://github.com/angular/angular/pull/60414/files#diff-3447161ddd699281cffe2ab261a16288a9f9fa2ae92f3c5a4f2cd54d8e198b7e |
|
index.ts
| https://github.com/angular/angular/pull/60414/files#diff-0509df0893cc48c10857740ae415a123bbd397127f67e7e5063afd6997e2717a |
|
test_bed_get_migration.ts
| https://github.com/angular/angular/pull/60414/files#diff-eafc023b5c396c930794b17e237afc2f3b5975e3869e5b4b866ac9f4cf08f7e1 |
|
test_bed_get_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-119f86a347c6dfa901f7c1b6cc5b2ed6947556d06e508d3fd025dc944242f060 |
|
di_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-ece22a8d8ae1405b0b70f8824055ccc962cd82206fcdc9932dfd754885e31be3 |
|
application_ref_integration_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-25793f8a6658d4fc885e26a31975e4ec7e9858daaa27130d6204d00166060702 |
|
application_ref_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-afa1cbf5d6f53fbdb7d6024f388412fc4e0f805606492ebd36d5edf98c5a0b4f |
|
integration_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-6c4b76ffae8d7951899be9c4be6c3d7ed2147cca8d29c71a31f31fda563f4fc3 |
|
security_integration_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-c600fb729e6d592bd1e1578516c56a1d878422664b4fde5aa975c26c8f8ebf76 |
|
providers_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-07d0240dbec17e9a7809e3a1c146ea042a8f59b70d3d4e9df49e7e8ac3d56733 |
|
test_bed.ts
| https://github.com/angular/angular/pull/60414/files#diff-2bd12fb2a5773e584a5fa36c468bbdb2a76747088b0444af9ff1a3034d6c562c |
|
http-client-backend-service_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-25f2f43c0366835b69419250e81749638615471dd324440296e786b329046044 |
|
hammer_gestures_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-9de7a7a06a2f5a6355f775a73f442812478f2069122bef0516f669cda2fadb30 |
|
testing_public_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-371a24810760cc82eb44712a4e04d46fd98d2387b649c669712cf463c877d112 |
|
regression_integration.spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-d0dfcbe50f176e4574459c50b421c0b41aaee623bd30a88a58efa313f11d2d22 |
|
router_preloader.spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-c7ff7195767c10ac50aa3d604c0f8f9df597be1a3df91eaac1573bc7a082eaa9 |
|
downgrade_component_adapter_spec.ts
| https://github.com/angular/angular/pull/60414/files#diff-16bd79d679aa61fc87fd1ee8ed9a73ccd166ee599e799906cce9530d00421289 |
| goldens/public-api/core/testing/index.api.md | https://github.com/angular/angular/pull/60414/files#diff-b04a8dee8ef09ce0d91a355042c257919c14b410998663c34b74dbe110cc3495 |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/goldens/public-api/core/testing/index.api.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/60414/files#diff-b04a8dee8ef09ce0d91a355042c257919c14b410998663c34b74dbe110cc3495 |
|
| https://github.com/angular/angular/pull/60414/files#diff-b04a8dee8ef09ce0d91a355042c257919c14b410998663c34b74dbe110cc3495 |
| packages/common/http/test/module_spec.ts | https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/common/http/test/module_spec.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
|
| https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
|
| https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
|
| https://github.com/angular/angular/pull/60414/files#diff-3878b319361ea90c07e14e77ae13541c7b401b0ff3b5fbdaf1631e2c222b0985 |
| packages/core/schematics/BUILD.bazel | https://github.com/angular/angular/pull/60414/files#diff-0237962d3d0f4090a0aadcb62f418e6484b60d0571265044c0d4ffc572ddf24a |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/BUILD.bazel |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/60414/files#diff-0237962d3d0f4090a0aadcb62f418e6484b60d0571265044c0d4ffc572ddf24a |
|
| https://github.com/angular/angular/pull/60414/files#diff-0237962d3d0f4090a0aadcb62f418e6484b60d0571265044c0d4ffc572ddf24a |
|
| https://github.com/angular/angular/pull/60414/files#diff-0237962d3d0f4090a0aadcb62f418e6484b60d0571265044c0d4ffc572ddf24a |
| packages/core/schematics/migrations.json | https://github.com/angular/angular/pull/60414/files#diff-f201313890b0b55a2e0a53275e2549e2df7d66dc7af2cd3c14fc098002f57ae6 |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/migrations.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
|
| https://github.com/angular/angular/pull/60414/files#diff-f201313890b0b55a2e0a53275e2549e2df7d66dc7af2cd3c14fc098002f57ae6 |
| packages/core/schematics/migrations/test-bed-get/BUILD.bazel | https://github.com/angular/angular/pull/60414/files#diff-8e7f6b945bf9806f31346984bdc6e9036f218aafc99589e32a5d9b9ece095308 |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/migrations/test-bed-get/BUILD.bazel |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
| packages/core/schematics/migrations/test-bed-get/README.md | https://github.com/angular/angular/pull/60414/files#diff-3447161ddd699281cffe2ab261a16288a9f9fa2ae92f3c5a4f2cd54d8e198b7e |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/migrations/test-bed-get/README.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
| packages/core/schematics/migrations/test-bed-get/index.ts | https://github.com/angular/angular/pull/60414/files#diff-0509df0893cc48c10857740ae415a123bbd397127f67e7e5063afd6997e2717a |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/migrations/test-bed-get/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
| packages/core/schematics/migrations/test-bed-get/test_bed_get_migration.ts | https://github.com/angular/angular/pull/60414/files#diff-eafc023b5c396c930794b17e237afc2f3b5975e3869e5b4b866ac9f4cf08f7e1 |
|
View file
| https://github.com/crisbeto/angular/blob/2abad2fd7d373b0b41138b19c2c956ac0a1b36a5/packages/core/schematics/migrations/test-bed-get/test_bed_get_migration.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/angular/angular/pull/60414/{{ revealButtonHref }} |
| Please reload this page | https://github.com/angular/angular/pull/60414/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |