CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 11:32:13 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"49cfe57d437ae98b34f1ac617f4fc22b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=HiUmdmjsOCR2fypQ7YPvRYe89hXEcwdXgcvZ9atTMVYKt82saBsNpZkfNipZV1eCa35GwVIVCfukkm7W3SUorqTXx%2FXMA2T%2FLwmLx5VNm2fyHehrYdoJE0oWopf4gbsLgyebHUyxkwGUPZJWmuMfOfhock25zk%2Fmt%2BnbbySqLJn2o7%2Bz4j%2F4ADM0tgs%2F9%2Bc9gpZLssz32IbrTAttwoEZ4rMNxVzhDreaGRR08mexagkbuijOLNvbxkJDYvL3wNC%2FPPuft9RHZHk9f%2FX2LyohMQ%3D%3D--DLuaD9mMRWK0dMFn--W%2Bv7MZsX%2BO17PfI6vQIrwQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.219614335.1760182332; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 11:32:12 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 11:32:12 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 863C:3CB96D:61A813:829260:68EA403C
test_runner: clean up promisified interval generation · nodejs/node@57c3009 · GitHub
Copy file name to clipboardExpand all lines: lib/internal/test_runner/mock/mock_timers.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-mock-timers.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Commit 57c3009
test_runner: clean up promisified interval generation
* yield from loop instead of setting up custom iterator
* cancel abort listener on exit
* do not call <Array>.at(0)
PR-URL: #58824
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>1 parent c923cfe commit 57c3009Copy full SHA for 57c3009
File tree
Expand file treeCollapse file tree
2 files changed
+78
-76
lines changedFilter options
- lib/internal/test_runner/mock
- test/parallel
Expand file treeCollapse file tree
2 files changed
+78
-76
lines changedCollapse file: lib/internal/test_runner/mock/mock_timers.js
lib/internal/test_runner/mock/mock_timers.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/mock/mock_timers.js+42-76Lines changed: 42 additions & 76 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
5 | 4 |
| |
6 | 5 |
| |
7 | 6 |
| |
| |||
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
17 |
| - | |
| 16 | + | |
18 | 17 |
| |
19 |
| - | |
20 | 18 |
| |
21 | 19 |
| |
22 | 20 |
| |
| |||
38 | 36 |
| |
39 | 37 |
| |
40 | 38 |
| |
| 39 | + | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
| |||
430 | 429 |
| |
431 | 430 |
| |
432 | 431 |
| |
433 |
| - | |
434 | 432 |
| |
| 433 | + | |
| 434 | + | |
435 | 435 |
| |
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
442 |
| - | |
443 |
| - | |
444 |
| - | |
445 |
| - | |
446 |
| - | |
447 |
| - | |
448 |
| - | |
449 |
| - | |
450 |
| - | |
| 442 | + | |
| 443 | + | |
451 | 444 |
| |
452 | 445 |
| |
453 | 446 |
| |
454 | 447 |
| |
455 |
| - | |
456 |
| - | |
457 |
| - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
458 | 452 |
| |
459 |
| - | |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
475 |
| - | |
476 |
| - | |
477 |
| - | |
478 |
| - | |
479 |
| - | |
480 |
| - | |
481 |
| - | |
482 |
| - | |
483 |
| - | |
484 |
| - | |
485 |
| - | |
486 |
| - | |
487 |
| - | |
488 |
| - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
489 | 462 |
| |
490 | 463 |
| |
491 | 464 |
| |
| |||
497 | 470 |
| |
498 | 471 |
| |
499 | 472 |
| |
500 |
| - | |
501 |
| - | |
502 |
| - | |
503 |
| - | |
504 |
| - | |
505 |
| - | |
506 |
| - | |
507 |
| - | |
| 473 | + | |
| 474 | + | |
508 | 475 |
| |
509 |
| - | |
510 |
| - | |
511 |
| - | |
512 |
| - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
513 | 479 |
| |
514 |
| - | |
515 |
| - | |
516 |
| - | |
517 |
| - | |
518 |
| - | |
519 |
| - | |
520 |
| - | |
521 |
| - | |
522 |
| - | |
523 |
| - | |
524 |
| - | |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 |
| - | |
529 |
| - | |
| 480 | + | |
| 481 | + | |
530 | 482 |
| |
531 |
| - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
532 | 498 |
| |
533 | 499 |
| |
534 | 500 |
| |
|
Collapse file: test/parallel/test-runner-mock-timers.js
test/parallel/test-runner-mock-timers.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-mock-timers.js+36Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
422 | 423 |
| |
423 | 424 |
| |
424 | 425 |
| |
| 426 | + | |
| 427 | + | |
425 | 428 |
| |
426 | 429 |
| |
427 | 430 |
| |
| |||
515 | 518 |
| |
516 | 519 |
| |
517 | 520 |
| |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
518 | 537 |
| |
519 | 538 |
| |
520 | 539 |
| |
| |||
728 | 747 |
| |
729 | 748 |
| |
730 | 749 |
| |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
731 | 767 |
| |
732 | 768 |
| |
733 | 769 |
| |
|
You can’t perform that action at this time.
0 commit comments