René's URL Explorer Experiment


Title: feat(core): remove TestBed.get by crisbeto · Pull Request #60414 · angular/angular · GitHub

Open Graph Title: feat(core): remove TestBed.get by crisbeto · Pull Request #60414 · angular/angular

X Title: feat(core): remove TestBed.get by crisbeto · Pull Request #60414 · angular/angular

Description: 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.

Open Graph Description: 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.

X Description: 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.

Opengraph URL: https://github.com/angular/angular/pull/60414

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:41564184-915c-938a-655b-db7ab734dbf2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9582:76F02:1DD01B7:2629CC6:6B01584D
html-safe-noncea837a711831bdadfcc4bcc5b51d2d90b926ab7d91abff86588e316ff7010c994
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTgyOjc2RjAyOjFERDAxQjc6MjYyOUNDNjo2QjAxNTg0RCIsInZpc2l0b3JfaWQiOiI0NTEyMDc4Mjk0MDQwMDA4NzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca78f7a2fc6d46afc9a3e8646d1a7722b5a2bc2de538af0e2bbd01926388bdc86
hovercard-subject-tagpull_request:2397158148
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/60414/files
twitter:imagehttps://avatars.githubusercontent.com/u/4450522?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4450522?s=400&v=4
og:image:altTestBed.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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/60414/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F60414%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F60414%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/angular/angular/pull/60414/files
Reloadhttps://github.com/angular/angular/pull/60414/files
Reloadhttps://github.com/angular/angular/pull/60414/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
crisbetohttps://github.com/crisbeto
angular:mainhttps://github.com/angular/angular/tree/main
crisbeto:test-bed-get-removalhttps://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 pagehttps://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 pagehttps://github.com/angular/angular/pull/60414/files
Please reload this pagehttps://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.mdhttps://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.tshttps://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.bazelhttps://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.jsonhttps://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.bazelhttps://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.mdhttps://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.tshttps://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.tshttps://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 pagehttps://github.com/angular/angular/pull/60414/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.