0
点赞
收藏
分享

微信扫一扫

Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'.

烟中雯城 2023-05-13 阅读 88

npm i @types/testing-library__jest-dom -D

即可

Webpack 5 & Jest - Property 'toBeInTheDocument' does not exist on type 'JestMatchers'

箴言:因为这些东西是非常简单的。不要抱怨自己学不会,那是因为你没有足够用心。



举报

相关推荐

remote ref does not exist

0 条评论