如何让跳过的测试开玩笑地失败?

ale*_*bel 5 javascript testing node.js jestjs

当在 Circle ci 环境中使用 jest 时,我们发现跳过的测试不会因 jest 而失败。所以我的问题是:如果跳过测试(使用了 test.todo),是否有任何方法(如配置)让 jest 失败

我们使用 jest 版本 24.7.1。我已经尝试使用 setupFiles 标志覆盖 test.skip 方法,但随后它说:测试未定义