来源:https://stackoverflow.com/questions/56547215/react-testing-library-why-is-tobeinthedocument-not-a-function 标签 reactjs react-testing-library