Experience-Monks / Experience-Monks/tap-dev-tool

With lots of tests and at least one `setTimeout`, completes early in an error state

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
30
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When I tested on a single file, tap-dev-tool was working fine, but as soon as I loaded up a number of tests and put `setTimeout` in one of them, tap-dev-tool won't read tests properly past that point.

This is the output in the console when this occurs:
```
Failing Tests: 0

⨯ not ok
total: null
passing: 0
failing: 0
duration: 56 ms
ok 54 Timer started
ok 55 End time occurs after start time

1..55
# tests 55
# pass 55

# ok
```

I have confirmed when tap-dev-tool is disabled, the same issue does not occur. I'm using tape-catch through Webpack so that might have something to do with it. When running using tap-spec via PhantomJS, this issue also does not occur.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.