You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a beforeEach hook in which I call a promise that can be rejected, without parameters (Promise.reject()). This results in the above exception output to console. This problem can be resolved by passing an Error object in the reject function (reject(new Error('hello world'))), however I am not the maintainer of the package that rejects the promise.
The error happens in jasminewd2 in index.js at line 100 (err.stack = err.stack + '\nFrom asynchronous test: \n' + driverError.stack;).
The text was updated successfully, but these errors were encountered:
sjelin
added a commit
to sjelin/jasminewd
that referenced
this issue
Mar 21, 2016
I have a beforeEach hook in which I call a promise that can be rejected, without parameters (
Promise.reject()
). This results in the above exception output to console. This problem can be resolved by passing an Error object in the reject function (reject(new Error('hello world'))
), however I am not the maintainer of the package that rejects the promise.The error happens in jasminewd2 in index.js at line 100 (
err.stack = err.stack + '\nFrom asynchronous test: \n' + driverError.stack;
).The text was updated successfully, but these errors were encountered: