We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
跟随教程练习,tsconfig.json 中 types 添加 @testing-library/jest-dom 报错:
tsconfig.json
Entry point of type library '@testing-library/jest-dom' specified in compilerOptions
查询后找到 testing-library/jest-dom#123 (comment)
Add @types/testing-library__jest-dom to @testing-library/jest-dom dependencies Add testing-library__jest-dom to DefinitelyTyped
按照这两条指示,测试运行成功。
这是我的 commit。
The text was updated successfully, but these errors were encountered:
我 checkout 到这个 commit,使用 npm 安装,去掉 @testing-library_jest-dom 的一些配置,发现没有这个报错诶。目前还没想明白是什么原因,我在文档里加个 Hint,导到这个 Issue 上吧。
@testing-library_jest-dom
Sorry, something went wrong.
feat: 添加 #26 Issue 补充
399d9f0
No branches or pull requests
跟随教程练习,
tsconfig.json
中 types 添加 @testing-library/jest-dom 报错:查询后找到 testing-library/jest-dom#123 (comment)
按照这两条指示,测试运行成功。
这是我的 commit。
The text was updated successfully, but these errors were encountered: