René's URL Explorer Experiment


Title: feat(core): Add `TestBed.runInContext` to help test functions which use `inject` by atscott · Pull Request #47955 · angular/angular · GitHub

Open Graph Title: feat(core): Add `TestBed.runInContext` to help test functions which use `inject` by atscott · Pull Request #47955 · angular/angular

X Title: feat(core): Add `TestBed.runInContext` to help test functions which use `inject` by atscott · Pull Request #47955 · angular/angular

Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Open Graph Description: This commit adds TestBed.runInContext which is equivalent to TestBed.inject(EnvironmentInjector).runInContext. This function will help make tests for functions which call inject from @angular/core ...

X Description: This commit adds TestBed.runInContext which is equivalent to TestBed.inject(EnvironmentInjector).runInContext. This function will help make tests for functions which call inject from @angular/core ...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:07213fce-bbb1-b928-acd0-f249016973b5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9E4:1EC9BC:528F52:6B0FD9:6B00DACF
html-safe-nonce2c65e6b070bac097851554d864f2132eceec37f0d363e439668c68c86a4bddeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUU0OjFFQzlCQzo1MjhGNTI6NkIwRkQ5OjZCMDBEQUNGIiwidmlzaXRvcl9pZCI6IjU2OTU0MjI1MzgwNjMwNzYwNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7f58722f4809976a7b33fad1640ab7f521c2405d794db24eab5ff776c00128b4
hovercard-subject-tagpull_request:1109909455
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/angular/angular/47955/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dbc69f87c32b301714c10736183ff120fcc9caeee7d2f1183f3da67605f859bc/angular/angular/pull/47955
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dbc69f87c32b301714c10736183ff120fcc9caeee7d2f1183f3da67605f859bc/angular/angular/pull/47955
og:image:altThis commit adds TestBed.runInContext which is equivalent to TestBed.inject(EnvironmentInjector).runInContext. This function will help make tests for functions which call inject from @angular/core ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameatscott
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/angular/angular/pull/47955#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F47955
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%2F47955
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/47955
Reloadhttps://github.com/angular/angular/pull/47955
Reloadhttps://github.com/angular/angular/pull/47955
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests139 (139)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
https://github.com/angular/angular
atscotthttps://github.com/atscott
angular:mainhttps://github.com/angular/angular/tree/main
atscott:TestBedRunInContexthttps://github.com/atscott/angular/tree/TestBedRunInContext
Conversationhttps://github.com/angular/angular/pull/47955
Commits1 (1)https://github.com/angular/angular/pull/47955/commits
Checkshttps://github.com/angular/angular/pull/47955/checks
Files changedhttps://github.com/angular/angular/pull/47955/files
feat(core): Add TestBed.runInContext to help test functions which use injecthttps://github.com/angular/angular/pull/47955#top
atscotthttps://github.com/atscott
angular:mainhttps://github.com/angular/angular/tree/main
atscott:TestBedRunInContexthttps://github.com/atscott/angular/tree/TestBedRunInContext
https://github.com/atscott
atscotthttps://github.com/atscott
Nov 3, 2022https://github.com/angular/angular/pull/47955#issue-1435019545
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/atscott
atscotthttps://github.com/atscott
target: minor https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22target%3A%20minor%22
Nov 3, 2022https://github.com/angular/angular/pull/47955#event-7734430264
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
AndrewKushnirhttps://github.com/AndrewKushnir
alxhubhttps://github.com/alxhub
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
November 3, 2022 17:21https://github.com/angular/angular/pull/47955#event-7734431364
https://github.com/apps/angular-robot
angular-robothttps://github.com/apps/angular-robot
detected: feature https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22detected%3A%20feature%22
Nov 3, 2022https://github.com/angular/angular/pull/47955#event-7734432557
https://github.com/atscott
atscotthttps://github.com/atscott
force-pushedhttps://github.com/angular/angular/compare/cd3cc279a9b8153e9fb537439bca923304ea324f..a13ec338eefa1189d35d2357dbf030e4ffbb96d5
cd3cc27https://github.com/angular/angular/commit/cd3cc279a9b8153e9fb537439bca923304ea324f
a13ec33https://github.com/angular/angular/commit/a13ec338eefa1189d35d2357dbf030e4ffbb96d5
Compare https://github.com/angular/angular/compare/cd3cc279a9b8153e9fb537439bca923304ea324f..a13ec338eefa1189d35d2357dbf030e4ffbb96d5
November 3, 2022 18:15https://github.com/angular/angular/pull/47955#event-7734831653
https://github.com/AndrewKushnir
AndrewKushnirhttps://github.com/AndrewKushnir
Nov 4, 2022 https://github.com/angular/angular/pull/47955#pullrequestreview-1169262251
View reviewed changes https://github.com/angular/angular/pull/47955/files
AndrewKushnirhttps://github.com/AndrewKushnir
https://github.com/angular/angular/pull/47955#pullrequestreview-1169262251
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
AndrewKushnirhttps://github.com/AndrewKushnir
November 4, 2022 23:16https://github.com/angular/angular/pull/47955#event-7744444572
https://github.com/AndrewKushnir
AndrewKushnirhttps://github.com/AndrewKushnir
Nov 4, 2022 https://github.com/angular/angular/pull/47955#pullrequestreview-1169262333
View reviewed changes https://github.com/angular/angular/pull/47955/files
AndrewKushnirhttps://github.com/AndrewKushnir
https://github.com/angular/angular/pull/47955#pullrequestreview-1169262333
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
dylhunnhttps://github.com/dylhunn
November 4, 2022 23:17https://github.com/angular/angular/pull/47955#event-7744444985
https://github.com/atscott
atscotthttps://github.com/atscott
merge: caretaker note https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22merge%3A%20caretaker%20note%22
merge: caretaker note https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22merge%3A%20caretaker%20note%22
Nov 7, 2022https://github.com/angular/angular/pull/47955#event-7755382411
https://github.com/jessicajaniuk
jessicajaniukhttps://github.com/jessicajaniuk
area: core https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
Nov 9, 2022https://github.com/angular/angular/pull/47955#event-7778003615
https://github.com/apps/ngbot
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
Nov 9, 2022https://github.com/angular/angular/pull/47955#event-7778003874
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
Nov 14, 2022 https://github.com/angular/angular/pull/47955#pullrequestreview-1178847579
View reviewed changes https://github.com/angular/angular/pull/47955/files
goldens/public-api/core/testing/index.mdhttps://github.com/angular/angular/pull/47955/files#diff-4f50ea33609b81991fee42e14c4c0719d586ff8468db7a409067299bc1284af1
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/apps/pullapprove
pullapprovehttps://github.com/apps/pullapprove
jessicajaniukhttps://github.com/jessicajaniuk
November 14, 2022 10:52https://github.com/angular/angular/pull/47955#event-7802852546
https://github.com/atscott
atscotthttps://github.com/atscott
force-pushedhttps://github.com/angular/angular/compare/5760999769437a9aaade0ad3dc571e7fa9c7ecfa..49324e49be482b7690a0f4884ae32e84a4cec273
5760999https://github.com/angular/angular/commit/5760999769437a9aaade0ad3dc571e7fa9c7ecfa
49324e4https://github.com/angular/angular/commit/49324e49be482b7690a0f4884ae32e84a4cec273
Compare https://github.com/angular/angular/compare/5760999769437a9aaade0ad3dc571e7fa9c7ecfa..49324e49be482b7690a0f4884ae32e84a4cec273
November 17, 2022 18:41https://github.com/angular/angular/pull/47955#event-7836715247
https://github.com/atscott
feat(core): Add TestBed.runInInjectionContext to help test function…https://github.com/angular/angular/pull/47955/commits/3f45e2d027c322c365e3024fdab04e032931e1a2
3f45e2dhttps://github.com/angular/angular/pull/47955/commits/3f45e2d027c322c365e3024fdab04e032931e1a2
https://github.com/atscott
atscotthttps://github.com/atscott
force-pushedhttps://github.com/angular/angular/compare/49324e49be482b7690a0f4884ae32e84a4cec273..3f45e2d027c322c365e3024fdab04e032931e1a2
49324e4https://github.com/angular/angular/commit/49324e49be482b7690a0f4884ae32e84a4cec273
3f45e2dhttps://github.com/angular/angular/commit/3f45e2d027c322c365e3024fdab04e032931e1a2
Compare https://github.com/angular/angular/compare/49324e49be482b7690a0f4884ae32e84a4cec273..3f45e2d027c322c365e3024fdab04e032931e1a2
November 17, 2022 18:41https://github.com/angular/angular/pull/47955#event-7836718557
https://github.com/AndrewKushnir
AndrewKushnirhttps://github.com/AndrewKushnir
Nov 17, 2022 https://github.com/angular/angular/pull/47955#pullrequestreview-1185006423
View reviewed changes https://github.com/angular/angular/pull/47955/files/3f45e2d027c322c365e3024fdab04e032931e1a2
AndrewKushnirhttps://github.com/AndrewKushnir
https://github.com/angular/angular/pull/47955#pullrequestreview-1185006423
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/dylhunn
dylhunnhttps://github.com/dylhunn
Nov 21, 2022 https://github.com/angular/angular/pull/47955#pullrequestreview-1188739553
View reviewed changes https://github.com/angular/angular/pull/47955/files/3f45e2d027c322c365e3024fdab04e032931e1a2
dylhunnhttps://github.com/dylhunn
https://github.com/angular/angular/pull/47955#pullrequestreview-1188739553
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/atscott
atscotthttps://github.com/atscott
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
Nov 21, 2022https://github.com/angular/angular/pull/47955#event-7860024662
https://github.com/atscott
atscotthttps://github.com/atscott
alxhubhttps://github.com/alxhub
jessicajaniukhttps://github.com/jessicajaniuk
November 21, 2022 18:11https://github.com/angular/angular/pull/47955#event-7860029576
https://github.com/dylhunn
dylhunnhttps://github.com/dylhunn
Nov 22, 2022https://github.com/angular/angular/pull/47955#issuecomment-1324149841
@atscotthttps://github.com/atscott
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/dylhunn
dylhunnhttps://github.com/dylhunn
action: cleanup https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20cleanup%22
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
Nov 22, 2022https://github.com/angular/angular/pull/47955#event-7871095934
https://github.com/atscott
atscotthttps://github.com/atscott
action: cleanup https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20cleanup%22
Nov 22, 2022https://github.com/angular/angular/pull/47955#event-7871262043
https://github.com/atscott
atscotthttps://github.com/atscott
Nov 22, 2022https://github.com/angular/angular/pull/47955#issuecomment-1324237899
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/atscott
atscotthttps://github.com/atscott
merge: caretaker note https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22merge%3A%20caretaker%20note%22
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
Nov 22, 2022https://github.com/angular/angular/pull/47955#event-7871657793
https://github.com/dylhunn
dylhunnhttps://github.com/dylhunn
Nov 23, 2022https://github.com/angular/angular/pull/47955#issuecomment-1324416156
6acae14https://github.com/angular/angular/commit/6acae1477a212bbd85d0670913c2925fa3bc0c24
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/dylhunn
dylhunnhttps://github.com/dylhunn
6acae14https://github.com/angular/angular/commit/6acae1477a212bbd85d0670913c2925fa3bc0c24
Nov 23, 2022https://github.com/angular/angular/pull/47955#event-7872724791
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
Dec 24, 2022https://github.com/angular/angular/pull/47955#issuecomment-1364549814
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
Dec 24, 2022https://github.com/angular/angular/pull/47955#event-8107568458
trekladyonehttps://github.com/trekladyone
Feb 1, 2023 https://github.com/angular/angular/pull/47955#ref-commit-dd572ff
https://github.com/atscott
https://github.com/trekladyone
feat(core): Add TestBed.runInInjectionContext to help test function…https://github.com/trekladyone/angular/commit/dd572ff32275699fbcce6ecf52f7a1605c8a6040
dd572ffhttps://github.com/trekladyone/angular/commit/dd572ff32275699fbcce6ecf52f7a1605c8a6040
angular#47955https://github.com/angular/angular/pull/47955
angular#47955https://github.com/angular/angular/pull/47955
https://github.co/hiddenchars
https://github.com/angular/angular/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F47955
https://github.com/pkozlowski-opensource
pkozlowski-opensource https://github.com/pkozlowski-opensource
https://github.com/angular/angular/pull/47955/files/a13ec338eefa1189d35d2357dbf030e4ffbb96d5
https://github.com/AndrewKushnir
AndrewKushnir https://github.com/AndrewKushnir
https://github.com/angular/angular/pull/47955/files/3f45e2d027c322c365e3024fdab04e032931e1a2
https://github.com/dylhunn
dylhunn https://github.com/dylhunn
https://github.com/angular/angular/pull/47955/files/3f45e2d027c322c365e3024fdab04e032931e1a2
Please reload this pagehttps://github.com/angular/angular/pull/47955
action: merge https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22action%3A%20merge%22
area: core https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
detected: feature https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22detected%3A%20feature%22
merge: caretaker note https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22merge%3A%20caretaker%20note%22
target: minor https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22target%3A%20minor%22
Backlog https://github.com/angular/angular/milestone/82
Please reload this pagehttps://github.com/angular/angular/pull/47955
https://github.com/atscott
https://github.com/dylhunn
https://github.com/pkozlowski-opensource
https://github.com/AndrewKushnir
https://github.com/jessicajaniuk
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.