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

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

bj
登录
  • 友情链接
站内
react-testing-library

react-testing-library

go

如何正确模拟库以能够使用Jest和React测试库测试组件。

英文: How to properly mock library to be able to test the component with jest and react testing librar...
huangapple 2023年6月22日164评论jestjs reactjs
go

如何正确使用react-testing-library中的getByTestId查询?

英文: Ho do I use a query getByTestId from react-testing-library properly? 问题 I need my SideBar compon...
huangapple 2023年6月22日133评论reactjs testing
go

无法更新在React测试库中搜索到的待办事项?

英文: Can't update the searched todos in the react testing library? 问题 程序运行正常,但当我尝试测试它时,它不能正常工作。我想...
huangapple 2023年6月19日152评论javascript reactjs
go

如何在 MUI v5 中对 Slider 组件进行单元测试

英文: How to unit test the Slider component in mui v5 问题 我正在尝试为一个使用 Mui 滑块来选择配额的 React 组件编写单元测试。在该组件中,...
huangapple 2023年6月16日136评论javascript reactjs
go

为什么我的React测试库测试如此缓慢?

英文: Why are my React Testing Library tests so slow? 问题 我的工作场所有一个相当大的单页应用程序,它是在2020年构建的,使用Create Reac...
huangapple 2023年6月15日145评论jestjs reactjs
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日101评论jestjs react-router
go

Redux模拟存储在使用Jest/RTL的React测试环境中未更新。

英文: Redux mock store is not being updated on react test environment using Jest/RTL 问题 以下是翻译好的代码部分: I...
huangapple 2023年6月5日133评论reactjs unit-testing
go

“react-admin”,List页面的单元测试无法看到模拟数据。

英文: react-admin, the unit-test of a List-page can't see the mock data 问题 我正在尝试对典型的基于列表的react-adm...
huangapple 2023年6月2日155评论react-testing-library reactjs
go

如何在单元测试键盘可访问性时切换到非标准元素?

英文: How do I tab to a non-standard element while unit-testing for keyboard accessibility? 问题 ## 背景 我...
huangapple 2023年5月30日134评论reactjs unit-testing
go

TypeError: element.ownerDocument.getSelection is not a function

英文: Vitest testing library userEvent - TypeError: element.ownerDocument.getSelection is not a functi...
huangapple 2023年5月29日151评论reactjs unit-testing
5

文章导航

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

热门标签

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

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

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

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

闽 ICP 备 2022019110 号 - 1
weinxin
我的微信

微信