未经手的承诺拒绝:超时投掷

发布于 2025-01-30 15:02:48 字数 192 浏览 2 评论 0原文

我正在Angular 12中处理单元测试案例,发现测试用例的这种随机行为,我发现有时我的测试用例正常工作,有时会抛出此错误“未经手的承诺拒绝:超时投掷”

这是我错误的图像

I am working on unit test case in angular 12 and i discover this random behaviour of test case where i found that some times my test cases are working normally and some times it throwing this error "Unhandled promise rejection: Timeout thrown"

Here is image of my error

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文