New issue
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
test中的app.mockSession #2231
Comments
fixed at eggjs/egg-mock#68 |
临时解决方式是你先自己加个方法 |
@atian25 哦,因为是自己写着玩,然后就直接改了node_modules下的文件 |
node_modules 下的东西不要改~ |
已发布,更新下依赖即可 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用app.mockSession模拟session后,
如果测试对象中包含ctx.session.save(),
报错ctx.session.save is not a function
The text was updated successfully, but these errors were encountered: