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

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

bj
登录
  • 友情链接
站内
jestjs

jestjs

go

Angular 14: 使用Jest测试ngFor

英文: Angular 14: Test a ngFor using Jest 问题 这是我的简单面包屑组件。我想测试属性 *active* 是否存在于 `routerLink` 中。 我想获取 `&...
huangapple 2023年5月11日112评论angular testing
go

jest:无法使用 `jest.spyOn` 模拟方法/钩子

英文: jest: unable to mock methods/hooks using `jest.spyOn` 问题 I'll provide the translation of the rel...
huangapple 2023年5月10日140评论javascript next.js
go

Jest测试套件无法运行,导入模块时出现意外标记 – TypeScript

英文: Jest - Test suite failed to run with unexpected token on import module - TypeScript 问题 我在Vite和Ty...
huangapple 2023年5月10日150评论reactjs typescript
go

如何模拟一个带有一些附加属性的组件

英文: How to mock a component with some attach properties 问题 I'll provide translations for the code pa...
huangapple 2023年5月10日148评论javascript reactjs
go

如何使用axios进行React应用程序的API调用测试?

英文: How to test a react app with an axios api call? 问题 I will provide translations for the code part...
huangapple 2023年5月7日122评论react-hooks reactjs
go

使用Jest运行器时如何仅使用watch选项。

英文: How do I just the Jest runner with the watch option 问题 我正在测试随 v16 一起发布的新实验性 jest 运行器(@angular-de...
huangapple 2023年5月6日174评论angular jestjs
go

如何在Node中模拟一个流数据的端点?

英文: How do I mock an endpoint that streams data in Node? 问题 Here's the translated code portion you p...
huangapple 2023年4月20日117评论jestjs node.js
go

Test is failing in Detox when the layout is overlayed.

英文: Test is failing in Detox when the layout is overlayed 问题 Detox在测试点击按钮时出现以下错误,点击动作生效,但由于状态更改导致组件重...
huangapple 2023年4月17日145评论javascript reactjs
go

如何在React项目中使用Jest对由事件触发的函数执行单元测试。

英文: How to perform unit testing on function invoked by event using Jest in React project 问题 componen...
huangapple 2023年4月17日140评论javascript reactjs
go

如何编写条件语句的测试用例

英文: How to write test case for conditional statement 问题 以下是您提供的代码的中文翻译: 我有下面的条件语句,如何为条件运算符编写测试用例? co...
huangapple 2023年4月17日103评论jestjs react-testing-library
14

文章导航

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

热门标签

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

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

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

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

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

    本页二维码