Skip to content

Commit 84522a4

Browse files
Fix omit successful (#63)
Inverting `filter()` predicate to correctly omit `Successful` tests. Co-authored-by: Rob Herley <robherley@github.com>
1 parent 9f04f0f commit 84522a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Renderer {
5555
)
5656
.filter(result =>
5757
this.omit.has(OmitOption.Successful)
58-
? result.onlySuccessfulTests()
58+
? !result.onlySuccessfulTests()
5959
: true
6060
)
6161

0 commit comments

Comments
 (0)