开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
jestjs

jestjs

go

Jest没有并行运行测试用例。

英文: Jest is not running tests cases in parallel 问题 根据JEST文档,如果测试用例位于不同的文件/文件夹中,它们应该并行运行。但在我的当前项目中,尽管...
huangapple 2023年6月13日118评论jestjs node.js
go

为什么Jest看不到函数调用?

英文: Why doesn't Jest see the function call? 问题 我有一个带有 login 方法的类: import authService from "....
huangapple 2023年6月13日119评论express jestjs
go

创建使用Jest测试或模拟DiscordJS Fetch/Catch。

英文: Create tests or Mock DiscordJS Fetch/Catch using Jest 问题 I have translated the non-code part of ...
huangapple 2023年6月12日145评论javascript node.js
go

Vitest Mock Factory 从未被调用

英文: Vitest Mock Factory Never Called 问题 这一行 console.log(ssmClient) 看到了吗?它打印的是真实的实现,而不是模拟对象,尽管它应该返回 s...
huangapple 2023年6月11日149评论javascript node.js
go

Vitest: 我如何模拟被测试函数使用的函数?

英文: Vitest: How can I mock a function that the function being tested uses? 问题 Here is the translated...
huangapple 2023年6月9日145评论jestjs vite
go

为什么取消测试失败?

英文: Why onCancel test is failing? 问题 I've reviewed the code and the issue you're facing. It appears ...
huangapple 2023年6月9日144评论javascript reactjs
go

是否可以使用Jest来模拟在方法中使用的内部类对象

英文: Is it possible to mock an internal class object used in a method using Jest 问题 这是您要翻译的代码部分: impo...
huangapple 2023年6月8日124评论mocking typescript
go

RequireActual用于手动模拟。

英文: RequireActual for a manual mock 问题 在一个手动模拟文件__mocks__/axios.js中,我模拟了axios,但有时我想使用实际的axios实现(就像注释...
huangapple 2023年6月8日145评论axios javascript
go

React Testing Library 的 `render` 不与 React Router DOM 的 `Navigate` 配合工作。

英文: React Testing Library render does not work with react router dom Navigate 问题 我有一个组件,里面包含一个名为&quo...
huangapple 2023年6月6日100评论jestjs react-router
go

如何使用jest测试useFormContext(react-hook-form)。

英文: How to test useFormContext(react-hook-form) using jest 问题 以下是您要求的翻译部分: I have a CDOB component a...
huangapple 2023年6月5日193评论jestjs reactjs
14

文章导航

1 2 3 4 5 6 7 8 … 14
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17063293

热门标签

arrays json c++ typescript python spring css javascript node.js flutter c# html spring-boot go r reactjs java android sql pandas

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码