-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't report filtered tests as pending
- Loading branch information
1 parent
99a10a1
commit 23e302a
Showing
6 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import test from '../../../..'; | ||
|
||
test('passes needle', t => t.pass()); | ||
|
||
test.cb('slow needle', t => { | ||
setTimeout(t.end, 15000); | ||
}); | ||
test.cb('slow two', t => { | ||
setTimeout(t.end, 15000); | ||
}); | ||
test.cb('slow three needle', t => { | ||
setTimeout(t.end, 15000); | ||
}); | ||
|
||
test('passes two', t => t.pass()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
---tty-stream-chunk-separator | ||
[32m✔[39m passes needle | ||
---tty-stream-chunk-separator | ||
[31m[39m | ||
[31m✖ Timed out while running tests[39m | ||
|
||
2 tests were pending in ~/test/fixture/report/timeoutwithmatch/a.js | ||
|
||
◌ slow needle | ||
◌ slow three needle | ||
|
||
---tty-stream-chunk-separator | ||
|
||
[32m1 test passed[39m | ||
|
||
---tty-stream-chunk-separator |