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
res.allLogs
I've encountered an issue while using jest-mock-extended - the issue is that when you create a response like this:
const response = mock<Response>();
This instantiates allLogs as a mocked function and this check passes.
allLogs
Does it make sense to change this line to !Array.isArray(allLogs)? Would be happy to submit a PR.
!Array.isArray(allLogs)
The text was updated successfully, but these errors were encountered:
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.
Sorry, something went wrong.
Will do.
Successfully merging a pull request may close this issue.
I've encountered an issue while using jest-mock-extended - the issue is that when you create a response like this:
This instantiates
allLogs
as a mocked function and this check passes.Does it make sense to change this line to
!Array.isArray(allLogs)
? Would be happy to submit a PR.The text was updated successfully, but these errors were encountered: