If the saga encounters an exception, you will see something like this in the console:
console.warn src/amo/sagas/your-saga.js:76
[Some information about the exception]
Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
It would be great if the exception were just thrown so you wouldn't have to wait for the timeout and dig through the console to find the warning.
We use a pattern like this to test sagas:
If the saga encounters an exception, you will see something like this in the console:
It would be great if the exception were just thrown so you wouldn't have to wait for the timeout and dig through the console to find the warning.