René's URL Explorer Experiment


Title: doc: update examples in writing-tests.md by GaryGSC · Pull Request #30126 · nodejs/node · GitHub

Open Graph Title: doc: update examples in writing-tests.md by GaryGSC · Pull Request #30126 · nodejs/node

X Title: doc: update examples in writing-tests.md by GaryGSC · Pull Request #30126 · nodejs/node

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: writing-tests.md states to use arrow functions when appropriate. This updates the examples to do that. Further, this syncs the docs with what's found in test/parallel/test-http-agent-null.js Ch...

X Description: writing-tests.md states to use arrow functions when appropriate. This updates the examples to do that. Further, this syncs the docs with what's found in test/parallel/test-http-agent-null.j...

Opengraph URL: https://github.com/nodejs/node/pull/30126

X: @github

direct link

Domain: github.com

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:681ee71e-8ca0-2ab1-fafc-3358cd481669
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0F6:3C7A3:296A4AD:39E4561:6A4F6053
html-safe-noncef6ac60df39c5b7002067b72a93206ff461146d13cf269e78cd42d56930be28bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEY2OjNDN0EzOjI5NkE0QUQ6MzlFNDU2MTo2QTRGNjA1MyIsInZpc2l0b3JfaWQiOiI3NDAyNDA0NDQ0NTY5MDM0ODM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac13352dfe898e02ccece22ee2f6fcdfee6cd1f2f943bc0a6066797a8429d0f8ae
hovercard-subject-tagpull_request:332710608
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/nodejs/node/30126/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c99418ac322f0be154421339eacdbc56ffca901c0bc825abb776b0706831f3c9/nodejs/node/pull/30126
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c99418ac322f0be154421339eacdbc56ffca901c0bc825abb776b0706831f3c9/nodejs/node/pull/30126
og:image:altwriting-tests.md states to use arrow functions when appropriate. This updates the examples to do that. Further, this syncs the docs with what's found in test/parallel/test-http-agent-null.js Ch...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameGaryGSC
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/30126#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30126
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30126
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/30126
Reloadhttps://github.com/nodejs/node/pull/30126
Reloadhttps://github.com/nodejs/node/pull/30126
Please reload this pagehttps://github.com/nodejs/node/pull/30126
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/30126
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.3k https://github.com/nodejs/node/issues
Pull requests 970 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
GaryGSChttps://github.com/GaryGSC
nodejs:masterhttps://github.com/nodejs/node/tree/master
GaryGSC:doc-writing-testshttps://github.com/GaryGSC/node/tree/doc-writing-tests
Conversationhttps://github.com/nodejs/node/pull/30126
Commits3 (3)https://github.com/nodejs/node/pull/30126/commits
Checkshttps://github.com/nodejs/node/pull/30126/checks
Files changedhttps://github.com/nodejs/node/pull/30126/files
doc: update examples in writing-tests.mdhttps://github.com/nodejs/node/pull/30126#top
GaryGSChttps://github.com/GaryGSC
nodejs:masterhttps://github.com/nodejs/node/tree/master
GaryGSC:doc-writing-testshttps://github.com/GaryGSC/node/tree/doc-writing-tests
https://github.com/GaryGSC
GaryGSChttps://github.com/GaryGSC
Oct 25, 2019https://github.com/nodejs/node/pull/30126#issue-512757055
test/parallel/test-http-agent-null.jshttps://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js
commit guidelineshttps://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
Please reload this pagehttps://github.com/nodejs/node/pull/30126
GaryGSChttps://github.com/GaryGSC
October 25, 2019 17:04https://github.com/nodejs/node/pull/30126#commits-pushed-d2bb486
https://github.com/GaryGSC
doc: use arrow functions in writing-tests.mdhttps://github.com/nodejs/node/pull/30126/commits/d2bb4862d20d581f6f5511e1ebc3f9a1c821fbf6
d2bb486https://github.com/nodejs/node/pull/30126/commits/d2bb4862d20d581f6f5511e1ebc3f9a1c821fbf6
https://github.com/GaryGSC
doc: sync example in writing-tests.mdhttps://github.com/nodejs/node/pull/30126/commits/f57926fc6d9a4cc0a854652c615d2d55dd997d40
f57926fhttps://github.com/nodejs/node/pull/30126/commits/f57926fc6d9a4cc0a854652c615d2d55dd997d40
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
Oct 25, 2019https://github.com/nodejs/node/pull/30126#event-2745698770
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Oct 25, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307491614
View reviewed changes https://github.com/nodejs/node/pull/30126/files/f57926fc6d9a4cc0a854652c615d2d55dd997d40
https://github.com/GaryGSC
GaryGSChttps://github.com/GaryGSC
Oct 25, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307493572
View reviewed changes https://github.com/nodejs/node/pull/30126/files/f57926fc6d9a4cc0a854652c615d2d55dd997d40
doc/guides/writing-tests.mdhttps://github.com/nodejs/node/pull/30126/files/f57926fc6d9a4cc0a854652c615d2d55dd997d40#diff-3f15d4bee56a731494b667bd58f86f186b129a4439c29b03785c6826a8ce931e
Please reload this pagehttps://github.com/nodejs/node/pull/30126
https://github.com/GaryGSC
doc: match functionality in writing-tests.md examplehttps://github.com/nodejs/node/pull/30126/commits/e2e095af68268527d2e2bccf5809aeb86c9d2e21
e2e095ahttps://github.com/nodejs/node/pull/30126/commits/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/jasnell
jasnellhttps://github.com/jasnell
Oct 26, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307526922
View reviewed changes https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/trivikr
trivikrhttps://github.com/trivikr
Oct 26, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307528722
View reviewed changes https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/cjihrig
cjihrighttps://github.com/cjihrig
Oct 26, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307536620
View reviewed changes https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/lpinca
lpincahttps://github.com/lpinca
Oct 26, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-307542416
View reviewed changes https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/gireeshpunathil
gireeshpunathilhttps://github.com/gireeshpunathil
Oct 29, 2019 https://github.com/nodejs/node/pull/30126#pullrequestreview-308305378
View reviewed changes https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Oct 29, 2019https://github.com/nodejs/node/pull/30126#issuecomment-547286405
Please reload this pagehttps://github.com/nodejs/node/pull/30126
https://ci.nodejs.org/job/node-test-pull-request/26237/https://ci.nodejs.org/job/node-test-pull-request/26237/
Please reload this pagehttps://github.com/nodejs/node/pull/30126
https://github.com/gireeshpunathil
gireeshpunathilhttps://github.com/gireeshpunathil
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
Oct 29, 2019https://github.com/nodejs/node/pull/30126#event-2751047359
addaleaxhttps://github.com/addaleax
Nov 5, 2019 https://github.com/nodejs/node/pull/30126#ref-commit-0747300
https://github.com/GaryGSC
https://github.com/addaleax
doc: update examples in writing-tests.mdhttps://github.com/nodejs/node/commit/074730081db3269fc3559598c0698a9f6b7b20c2
0747300https://github.com/nodejs/node/commit/074730081db3269fc3559598c0698a9f6b7b20c2
https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.jshttps://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js
#30126https://github.com/nodejs/node/pull/30126
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Nov 5, 2019https://github.com/nodejs/node/pull/30126#issuecomment-550049469
0747300https://github.com/nodejs/node/commit/074730081db3269fc3559598c0698a9f6b7b20c2
Please reload this pagehttps://github.com/nodejs/node/pull/30126
https://github.com/addaleax
addaleaxhttps://github.com/addaleax
Nov 5, 2019https://github.com/nodejs/node/pull/30126#event-2773218100
https://github.com/GaryGSC
GaryGSChttps://github.com/GaryGSC
November 6, 2019 00:14https://github.com/nodejs/node/pull/30126#event-2773478927
MylesBorinshttps://github.com/MylesBorins
Nov 17, 2019 https://github.com/nodejs/node/pull/30126#ref-commit-fabc489
https://github.com/GaryGSC
https://github.com/MylesBorins
doc: update examples in writing-tests.mdhttps://github.com/nodejs/node/commit/fabc489dba208dd511f0806d139dffda684a335c
fabc489https://github.com/nodejs/node/commit/fabc489dba208dd511f0806d139dffda684a335c
https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.jshttps://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js
#30126https://github.com/nodejs/node/pull/30126
https://github.com/BridgeAR
BridgeARhttps://github.com/BridgeAR
Nov 19, 2019 https://github.com/nodejs/node/pull/30126#ref-pullrequest-525166118
v13.2.0 proposal #30547 https://github.com/nodejs/node/pull/30547
targoshttps://github.com/targos
Dec 1, 2019 https://github.com/nodejs/node/pull/30126#ref-commit-63f937d
https://github.com/GaryGSC
https://github.com/targos
doc: update examples in writing-tests.mdhttps://github.com/nodejs/node/commit/63f937d7ca40b1cd433cdd201933d2608bada098
63f937dhttps://github.com/nodejs/node/commit/63f937d7ca40b1cd433cdd201933d2608bada098
https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.jshttps://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js
#30126https://github.com/nodejs/node/pull/30126
https://github.com/BethGriggs
BethGriggshttps://github.com/BethGriggs
Dec 9, 2019 https://github.com/nodejs/node/pull/30126#ref-pullrequest-534888029
v12.13.2 proposal #30865 https://github.com/nodejs/node/pull/30865
MylesBorinshttps://github.com/MylesBorins
Dec 17, 2019 https://github.com/nodejs/node/pull/30126#ref-commit-fd16e9f
https://github.com/GaryGSC
https://github.com/MylesBorins
doc: update examples in writing-tests.mdhttps://github.com/nodejs/node/commit/fd16e9f6ffe1ec394dc9a65b0377e1b05277faee
fd16e9fhttps://github.com/nodejs/node/commit/fd16e9f6ffe1ec394dc9a65b0377e1b05277faee
https://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.jshttps://github.com/nodejs/node/blob/master/test/parallel/test-http-agent-null.js
#30126https://github.com/nodejs/node/pull/30126
https://github.com/BethGriggs
BethGriggshttps://github.com/BethGriggs
Dec 23, 2019 https://github.com/nodejs/node/pull/30126#ref-pullrequest-541795773
v12.14.1 proposal #31069 https://github.com/nodejs/node/pull/31069
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F30126
https://github.com/jasnell
jasnell https://github.com/jasnell
https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/addaleax
addaleax https://github.com/addaleax
https://github.com/nodejs/node/pull/30126/files/f57926fc6d9a4cc0a854652c615d2d55dd997d40
https://github.com/lpinca
lpinca https://github.com/lpinca
https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/cjihrig
cjihrig https://github.com/cjihrig
https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/gireeshpunathil
gireeshpunathil https://github.com/gireeshpunathil
https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
https://github.com/trivikr
trivikr https://github.com/trivikr
https://github.com/nodejs/node/pull/30126/files/e2e095af68268527d2e2bccf5809aeb86c9d2e21
author ready https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22author%20ready%22
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
Please reload this pagehttps://github.com/nodejs/node/pull/30126
https://github.com/GaryGSC
https://github.com/nodejs-github-bot
https://github.com/addaleax
https://github.com/jasnell
https://github.com/lpinca
https://github.com/cjihrig
https://github.com/gireeshpunathil
https://github.com/trivikr
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.