#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
How to fix hanging tests in Node.js
·
Christian
·
Aug. 20, 2025, 7:31 a.m.
Node.js
Testing
mocking
Integration tests
Summary
This blog post discusses how to fix hanging tests in Node.js due to setInterval calls. It recommends using the node:test library and mocking timers to prevent interference during integration tests.
Read full post on cri.dev →
MORE POSTS LIKE THIS
The Node.js built-in test runner
Flaviocopes ·
Aug 30, 2026
Node.js
Testing
Debugging callback structs
Users Rust Lang ·
Aug 28, 2026
Rust
Testing
Python: how time-machine is O(1) where freezegun is O(n)
Adamj ·
Aug 3, 2026
Python
posts
Qiuyi Zhang (Joyee): How Node.js and V8 keep each other working - workflows, challenges and tips
Blogs Igalia ·
May 18, 2026
Node.js
v8
PHPUnit 13: Managing return values for parameter sets
bitExpert AG ·
Mar 19, 2026
PHP
PHPUnit
Useful Newsletters
Gleb Bahmutov ·
Aug 20, 2025
products
advice,
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google