The custom reporter doesn't report errors

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
testing

Research direction

Start with src/intern/reporter.ts around the error event handler at line 83, where the custom Reporter is used instead of Intern's default reporter. Trace how fatal errors are handled and verify that the completed change reports them rather than allowing silent failures.

Written by the indexing model from the issue text.

Description

Bug

The custom Reporter class is used in place of Intern's default reporter, but doesn't actually report fatal errors in its error event handler (https://github.com/dojo/scripts/blob/master/src/intern/reporter.ts#L83). This can lead to silent failures.

Dominant language
TypeScript
Stars
2
Forks
9
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dojo/scripts

All issues in dojo/scripts

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.