Skip to content

Shorten stack traces #545

Closed
Closed
@haraldrudell

Description

80% of the AssertionError stack trace is uninteresting mocha internal code

Suggestion:
suppress all frames from Test.Runnable.run and previous

Suggestion:

  1. Reformat the stack trace so the first text is base-file:line:column, then Object.function, then directory.
  2. Directory can be shortened to be relative to the deploy folder (ie. where app.js is)

I am using node assert, ui exports and spec reporter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions