René's URL Explorer Experiment


Title: doc: fix incorrect test runner mock examples · nodejs/node@b7a8f8f · GitHub

Open Graph Title: doc: fix incorrect test runner mock examples · nodejs/node@b7a8f8f

X Title: doc: fix incorrect test runner mock examples · nodejs/node@b7a8f8f

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

Open Graph Description: The CJS mock.timers.setTime example asserted the timer ran right after setTime() with no tick() call, which contradicts the documented behavior and the ESM example above it. The mock.module example...

X Description: The CJS mock.timers.setTime example asserted the timer ran right after setTime() with no tick() call, which contradicts the documented behavior and the ESM example above it. The mock.module example...

Opengraph URL: /nodejs/node/commit/b7a8f8fabddcf94152bf27eee3e565d3be7830fc

X: @github

direct link

Domain: redirect.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/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:7c01d7c3-569e-2833-33dc-687479154e32
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8D62:296A7E:CC9CD:10BC6E:6AFBAE2F
html-safe-noncef8d7921bea9d9efd13e44396b184ace6d6d04fc9852d189790164510ba41118b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDYyOjI5NkE3RTpDQzlDRDoxMEJDNkU6NkFGQkFFMkYiLCJ2aXNpdG9yX2lkIjoiNTg1NDEzMzcxMjkzMjU0ODE0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacce75c847ab97d9fccf224f07aeacf3051994f663b480bf45378d3cc360f35827
hovercard-subject-tagrepository:27193779
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/commit/b7a8f8fabd
twitter:imagehttps://opengraph.githubassets.com/020d6dd071fc3e09eb5d4ac0aa3b90ed129d99b2ce76fa872e0f6e82f75e31e3/nodejs/node/commit/b7a8f8fabddcf94152bf27eee3e565d3be7830fc
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/020d6dd071fc3e09eb5d4ac0aa3b90ed129d99b2ce76fa872e0f6e82f75e31e3/nodejs/node/commit/b7a8f8fabddcf94152bf27eee3e565d3be7830fc
og:image:altThe CJS mock.timers.setTime example asserted the timer ran right after setTime() with no tick() call, which contradicts the documented behavior and the ESM example above it. The mock.module example...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1785412297
hostnamegithub.com
expected-hostnamegithub.com
Nonee25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55
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
release08c8f17f9d27054a108b8b6254e405de0151f660
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namecommits

Links:

Skip to contenthttps://redirect.github.com/nodejs/node/commit/b7a8f8fabd#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fcommit%2Fb7a8f8fabd
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fcommit%2Fb7a8f8fabd
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommit%2Fshow&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://redirect.github.com/nodejs/node/commit/b7a8f8fabd
Reloadhttps://redirect.github.com/nodejs/node/commit/b7a8f8fabd
Reloadhttps://redirect.github.com/nodejs/node/commit/b7a8f8fabd
nodejshttps://redirect.github.com/nodejs
nodehttps://redirect.github.com/nodejs/node
Codehttps://redirect.github.com/nodejs/node
Issues643 (643)https://redirect.github.com/nodejs/node/issues
Pull requests678 (678)https://redirect.github.com/nodejs/node/pulls
Actionshttps://redirect.github.com/nodejs/node/actions
Projectshttps://redirect.github.com/nodejs/node/projects
Security and qualityhttps://redirect.github.com/nodejs/node/security
Insightshttps://redirect.github.com/nodejs/node/pulse
https://redirect.github.com/nodejs/node
Browse fileshttps://redirect.github.com/nodejs/node/tree/b7a8f8fabddcf94152bf27eee3e565d3be7830fc
https://redirect.github.com/nodejs/node/tree/b7a8f8fabddcf94152bf27eee3e565d3be7830fc
emmayusufuhttps://redirect.github.com/nodejs/node/commits?author=emmayusufu
aduh95https://redirect.github.com/nodejs/node/commits?author=aduh95
#63656https://github.com/nodejs/node/pull/63656
c757e3ehttps://redirect.github.com/nodejs/node/commit/c757e3ef599c802af732bbdc7d80be7a32fdb74a
test.mdhttps://redirect.github.com/nodejs/node/commit/b7a8f8fabd#diff-7ef19622f4f1c831ca0e6ed0edc03cb517f16969f1f1b0972a117bd3fa65c44a
‎doc/api/test.md‎https://redirect.github.com/nodejs/node/commit/b7a8f8fabd#diff-7ef19622f4f1c831ca0e6ed0edc03cb517f16969f1f1b0972a117bd3fa65c44a
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.