📌  相关文章
📜  “JestMatchers”类型上不存在属性“toHaveTextContent”<any> &#39; - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:47.348000             🧑  作者: Mango

代码示例1
$ yarn add @testing-library/jest-dom

import { render } from "@testing-library/react"
import "@testing-library/jest-dom/extend-expect"