Skip to content

Cannot read property 'stack' of undefined #44

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

Open
levidobson opened this issue Mar 21, 2016 · 0 comments
Open

Cannot read property 'stack' of undefined #44

levidobson opened this issue Mar 21, 2016 · 0 comments

Comments

@levidobson
Copy link

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;).

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

1 participant