TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Wirepig – Mock HTTP and TCP deps with real sockets in Node.js tests

1 点作者 griffinmyers大约 2 年前
Wirepig lets you stand up mock HTTP and TCP servers for your dependencies, all from within your testing process.<p>That means even in tests your application sends real requests over localhost, but without giving up the nice ergonomics of programmatically controlled mocks.<p>Let me know if you have any comments or suggestions!

暂无评论

暂无评论