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

feat(adapter): do not filter out karma/jasmine frames from stack if the stack consists entirely of said frames #87

Merged
merged 1 commit into from
May 12, 2015

Conversation

matthewjh
Copy link
Contributor

Use case:

If an error is thrown from within karma or jasmine during the running of a test, and this stack trace only contains karma- or jasmine-related entries, then debugging the error can be difficult because an empty stack trace will be logged to the console.

This PR changes the stack entry filtering such that entries from within karma or jasmine will be considered 'relevant' if these are the only frames in the stack, thereby preventing a scenario where an empty stack trace will be served up.

@matthewjh matthewjh force-pushed the stack-trace-fix branch 5 times, most recently from 65f9cc3 to 63b0070 Compare May 4, 2015 02:04
@maksimr
Copy link
Contributor

maksimr commented May 5, 2015

@matthewjh Thanks!

maksimr added a commit that referenced this pull request May 12, 2015
feat(adapter): do not filter out karma/jasmine frames from stack if the stack consists entirely of said frames
@maksimr maksimr merged commit dec1ef2 into karma-runner:master May 12, 2015
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

Successfully merging this pull request may close these issues.

2 participants