redux-saga-test-plan
redux-saga-test-plan copied to clipboard
Noisy output when testing exceptions
Hi there,
I've been trying to test an exception. It's similar to the Throw Errors example and the test itself works as expected, but the output is really noisy.
console.error node_modules/@redux-saga/core/dist/io-9e79e69e.js:115
Error:
# the complete error stack
console.error node_modules/@redux-saga/core/dist/io-9e79e69e.js:116
The above error occurred in task saga
I might be wrong, but it looks like the thrown exception is not handled internally. I suppose that the error stack shouldn't be displayed here and the error should be caught by .throws
. Any thoughts?
Thanks!
@jp928 would really appreciate if this can be resolved. It is still causing issue and makes the test result really noisy