Skip to content
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

Noisy output when testing exceptions #320

Open
CosmaTrix opened this issue Nov 2, 2019 · 1 comment
Open

Noisy output when testing exceptions #320

CosmaTrix opened this issue Nov 2, 2019 · 1 comment

Comments

@CosmaTrix
Copy link

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!

@zainab-amir
Copy link

@jp928 would really appreciate if this can be resolved. It is still causing issue and makes the test result really noisy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants