René's URL Explorer Experiment


Title: doc: fix incorrect test runner mock examples by emmayusufu · Pull Request #63656 · nodejs/node · GitHub

Open Graph Title: doc: fix incorrect test runner mock examples by emmayusufu · Pull Request #63656 · nodejs/node

X Title: doc: fix incorrect test runner mock examples by emmayusufu · Pull Request #63656 · nodejs/node

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

Open Graph Description: Two examples in the test runner mocking docs were wrong and would throw if run: The CJS mock.timers.setTime example asserted callCount() === 1 right after setTime(1200) with no tick() call. That c...

X Description: Two examples in the test runner mocking docs were wrong and would throw if run: The CJS mock.timers.setTime example asserted callCount() === 1 right after setTime(1200) with no tick() call. That c...

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

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:2621b73f-a4b2-9118-8439-b8496b1af674
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE746:4D576:B4F0E8:FD649A:6A4CA1B8
html-safe-noncedcd81f71290beef4bceb8e61a56b28fee76b126e711a46c45fc6c7e8a970b517
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzQ2OjRENTc2OkI0RjBFODpGRDY0OUE6NkE0Q0ExQjgiLCJ2aXNpdG9yX2lkIjoiNDQ1ODU0MDAyMzQ0NDk3MTk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca85e14bf0ec7dbb774cfc28c083c3e42b5c6acc8cf8465b9362708d6980a1bb0
hovercard-subject-tagpull_request:3773275146
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/63656/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/85a8b180af087f7359bd1ded2a344dec2c66a027eb32920252c23aede531b9f9/nodejs/node/pull/63656
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/85a8b180af087f7359bd1ded2a344dec2c66a027eb32920252c23aede531b9f9/nodejs/node/pull/63656
og:image:altTwo examples in the test runner mocking docs were wrong and would throw if run: The CJS mock.timers.setTime example asserted callCount() === 1 right after setTime(1200) with no tick() call. That c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemmayusufu
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
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
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/63656#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F63656
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F63656
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/63656
Reloadhttps://github.com/nodejs/node/pull/63656
Reloadhttps://github.com/nodejs/node/pull/63656
Please reload this pagehttps://github.com/nodejs/node/pull/63656
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/pull/63656
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.4k https://github.com/nodejs/node/issues
Pull requests 964 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
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
emmayusufu:doc/fix-test-runner-mock-exampleshttps://github.com/emmayusufu/node/tree/doc/fix-test-runner-mock-examples
Conversationhttps://github.com/nodejs/node/pull/63656
Commits1 (1)https://github.com/nodejs/node/pull/63656/commits
Checkshttps://github.com/nodejs/node/pull/63656/checks
Files changedhttps://github.com/nodejs/node/pull/63656/files
doc: fix incorrect test runner mock exampleshttps://github.com/nodejs/node/pull/63656#top
nodejs-github-bothttps://github.com/nodejs-github-bot
nodejs:mainhttps://github.com/nodejs/node/tree/main
emmayusufu:doc/fix-test-runner-mock-exampleshttps://github.com/emmayusufu/node/tree/doc/fix-test-runner-mock-examples
https://github.com/emmayusufu
emmayusufuhttps://github.com/emmayusufu
May 30, 2026https://github.com/nodejs/node/pull/63656#issue-4553582975
Please reload this pagehttps://github.com/nodejs/node/pull/63656
https://github.com/emmayusufu
doc: fix incorrect test runner mock exampleshttps://github.com/nodejs/node/pull/63656/commits/786408943854cff7422b9113736a00ef3d052379
7864089https://github.com/nodejs/node/pull/63656/commits/786408943854cff7422b9113736a00ef3d052379
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
May 30, 2026https://github.com/nodejs/node/pull/63656#issuecomment-4581980765
Please reload this pagehttps://github.com/nodejs/node/pull/63656
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
test_runner https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest_runner
May 30, 2026https://github.com/nodejs/node/pull/63656#event-26138029368
https://github.com/atlowChemi
atlowChemihttps://github.com/atlowChemi
May 31, 2026 https://github.com/nodejs/node/pull/63656#pullrequestreview-4396946568
View reviewed changes https://github.com/nodejs/node/pull/63656/files/786408943854cff7422b9113736a00ef3d052379
https://github.com/JakobJingleheimer
JakobJingleheimerhttps://github.com/JakobJingleheimer
Jun 17, 2026 https://github.com/nodejs/node/pull/63656#pullrequestreview-4513960432
View reviewed changes https://github.com/nodejs/node/pull/63656/files/786408943854cff7422b9113736a00ef3d052379
JakobJingleheimerhttps://github.com/JakobJingleheimer
https://github.com/nodejs/node/pull/63656#pullrequestreview-4513960432
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/63656
https://github.com/JakobJingleheimer
JakobJingleheimerhttps://github.com/JakobJingleheimer
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
Jun 17, 2026https://github.com/nodejs/node/pull/63656#event-26851118531
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
commit-queue https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue
Jun 17, 2026https://github.com/nodejs/node/pull/63656#event-26851451351
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
ef42d32https://github.com/nodejs/node/commit/ef42d32d56cbe80ac45be78f575251543d556c6e
Jun 17, 2026https://github.com/nodejs/node/pull/63656#event-26851566985
Please reload this pagehttps://github.com/nodejs/node/pull/63656
https://github.com/nodejs-github-bot
nodejs-github-bothttps://github.com/nodejs-github-bot
Jun 17, 2026https://github.com/nodejs/node/pull/63656#issuecomment-4728006492
ef42d32https://github.com/nodejs/node/commit/ef42d32d56cbe80ac45be78f575251543d556c6e
Please reload this pagehttps://github.com/nodejs/node/pull/63656
aduh95https://github.com/aduh95
Jun 18, 2026 https://github.com/nodejs/node/pull/63656#ref-commit-205d0a5
https://github.com/emmayusufu
https://github.com/aduh95
doc: fix incorrect test runner mock exampleshttps://github.com/nodejs/node/commit/205d0a57f2f48907fe62db9de934fec154f0e54e
205d0a5https://github.com/nodejs/node/commit/205d0a57f2f48907fe62db9de934fec154f0e54e
#63656https://github.com/nodejs/node/pull/63656
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 22, 2026 https://github.com/nodejs/node/pull/63656#ref-pullrequest-4714405542
2026-06-23, Version 26.4.0 (Current) #64058 https://github.com/nodejs/node/pull/64058
luanmunizhttps://github.com/luanmuniz
Jun 25, 2026 https://github.com/nodejs/node/pull/63656#ref-commit-0af460e
https://github.com/emmayusufu
https://github.com/luanmuniz
doc: fix incorrect test runner mock exampleshttps://github.com/luanmuniz/node/commit/0af460eb9196a7b920b27a768ce9ad16562b04f8
0af460ehttps://github.com/luanmuniz/node/commit/0af460eb9196a7b920b27a768ce9ad16562b04f8
nodejs#63656https://github.com/nodejs/node/pull/63656
aduh95https://github.com/aduh95
Jun 25, 2026 https://github.com/nodejs/node/pull/63656#ref-commit-6723b1e
https://github.com/emmayusufu
https://github.com/aduh95
doc: fix incorrect test runner mock exampleshttps://github.com/nodejs/node/commit/6723b1e799aabefdf9c24ef0a00f7358491dc245
6723b1ehttps://github.com/nodejs/node/commit/6723b1e799aabefdf9c24ef0a00f7358491dc245
#63656https://github.com/nodejs/node/pull/63656
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%2F63656
https://github.com/JakobJingleheimer
JakobJingleheimer https://github.com/JakobJingleheimer
https://github.com/nodejs/node/pull/63656/files/786408943854cff7422b9113736a00ef3d052379
https://github.com/atlowChemi
atlowChemi https://github.com/atlowChemi
https://github.com/nodejs/node/pull/63656/files/786408943854cff7422b9113736a00ef3d052379
commit-queue-squash https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Acommit-queue-squash
doc https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Adoc
test_runner https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3Atest_runner
Please reload this pagehttps://github.com/nodejs/node/pull/63656
https://github.com/emmayusufu
https://github.com/nodejs-github-bot
https://github.com/JakobJingleheimer
https://github.com/atlowChemi
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.