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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Tell HN: Nobody at Facebook has worked on Jest for years

84 点作者 tmvnty超过 3 年前

6 条评论

tmvnty超过 3 年前
Comment: <a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;jest&#x2F;pull&#x2F;11529#issuecomment-1027152470" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;jest&#x2F;pull&#x2F;11529#issuecomment-102...</a>
DylanSp超过 3 年前
This is really frustrating, if not surprising. Jest generally just works out of the box for me with Typescript (and ts-jest), including coverage, whereas the Mocha ecosystem tends to involve wrangling multiple packages with varying levels of Typescript compatibility. Jest has generally been slower to run, though, and I&#x27;ve noticed various problems over the years that aren&#x27;t getting solved due to the lack of maintenance.
parthokr超过 3 年前
&quot;Which unit-testing frameworks &#x2F; tools do you regularly use?&quot; 42% don&#x27;t seem to write test for javascript.<p>Source: <a href="https:&#x2F;&#x2F;www.jetbrains.com&#x2F;lp&#x2F;devecosystem-2021&#x2F;javascript&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jetbrains.com&#x2F;lp&#x2F;devecosystem-2021&#x2F;javascript&#x2F;</a><p>I think this is okay with javascript.
评论 #30182820 未加载
评论 #30182720 未加载
matt7340超过 3 年前
I’ve been considering switching from karma to jest for our angular project, this certainly brings a new angle to that decision.<p>Frustrating. I guess I get crappy karma “supported” by google, or the much better jest that’s maintained by one person with almost no backing.
评论 #30174540 未加载
评论 #30174544 未加载
idontwantthis超过 3 年前
SimenB reply:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;jest&#x2F;pull&#x2F;11529#issuecomment-1027405616" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;jest&#x2F;pull&#x2F;11529#issuecomment-102...</a><p>tl;dr FB has offered him compensation and he turned it down for personal reasons.
评论 #30175297 未加载
评论 #30174669 未加载
评论 #30175061 未加载
tootie超过 3 年前
I&#x27;ve used this for years and never even knew it came out of Facebook