Title: Timers and tests · Issue #27 · nodejs/testing · GitHub
Open Graph Title: Timers and tests · Issue #27 · nodejs/testing
X Title: Timers and tests · Issue #27 · nodejs/testing
Description: What should be the general things we want to happen with timers in tests? Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them is fine.) Do we distinguish between setT...
Open Graph Description: What should be the general things we want to happen with timers in tests? Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them ...
X Description: What should be the general things we want to happen with timers in tests? Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them ...
Opengraph URL: https://github.com/nodejs/testing/issues/27
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Timers and tests","articleBody":"What should be the general things we want to happen with timers in tests?\n- Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them is fine.)\n- Do we distinguish between `setTimeout()`, `setImmediate()`, and `process.nextTick()`? I think only `setTimeout()` is generally problematic. The other two are usually fine.\n- Tests that rely on timers should go in `sequential` and not in `parallel`.\n\nWhat else?\n","author":{"url":"https://github.com/Trott","@type":"Person","name":"Trott"},"datePublished":"2016-03-18T20:44:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/27/testing/issues/27"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c7b3ff64-7e82-bce2-fa9a-4eccfea22aa5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8BC:2FEA35:A6FF24:E94C39:6A4E7F85 |
| html-safe-nonce | 4e109e998f43493571b29ba965c372e2840f2c3300a5f482b7a9c36e348c1d0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEJDOjJGRUEzNTpBNkZGMjQ6RTk0QzM5OjZBNEU3Rjg1IiwidmlzaXRvcl9pZCI6IjY5MTg0OTA1Njk1MjI5NzA1MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bddb606634e42f13a3b8704d318471f2a3865acc8c0add3ab4d9cf245e3d0e50 |
| hovercard-subject-tag | issue:141973347 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/testing/27/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac2056bf6bc7ac47f73ad8ff65f5e3683f410d4dac72edf540ece8c2c2683910/nodejs/testing/issues/27 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac2056bf6bc7ac47f73ad8ff65f5e3683f410d4dac72edf540ece8c2c2683910/nodejs/testing/issues/27 |
| og:image:alt | What should be the general things we want to happen with timers in tests? Recommend against using timers if at all possible. (Obviously, if the test is specifically testing timers, then using them ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Trott |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/testing git https://github.com/nodejs/testing.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 49273232 |
| octolytics-dimension-repository_nwo | nodejs/testing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49273232 |
| octolytics-dimension-repository_network_root_nwo | nodejs/testing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width