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
getJson 并未成功解析返回值。使用原生 fetch 没问题。
getJson
fetch
运行测试用例:tests/e2e/lib/getJson.spec.ts
tests/e2e/lib/getJson.spec.ts
应返回给定的 json 对象 :
{ foo: "bar" }
错误的情况:
使用原生的 fetch 结果是正确的:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
描述该错误
getJson
并未成功解析返回值。使用原生fetch
没问题。重现
运行测试用例:
tests/e2e/lib/getJson.spec.ts
预期行为
应返回给定的 json 对象 :
{ foo: "bar" }
截图
错误的情况:
getJson.spec.ts.mp4
使用原生的
fetch
结果是正确的:getJson.spec.ts.mp4
环境信息
The text was updated successfully, but these errors were encountered: