From 90399545d8bf3813ff05520188e3769b5e16b5b9 Mon Sep 17 00:00:00 2001 From: Levi Kipke Date: Thu, 1 Apr 2021 14:48:36 -0700 Subject: [PATCH] fix(reporter): don't double-count tests (#86) --- src/reporter/JestReporter.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/reporter/JestReporter.ts b/src/reporter/JestReporter.ts index b1c95f9..3a9dd89 100644 --- a/src/reporter/JestReporter.ts +++ b/src/reporter/JestReporter.ts @@ -223,7 +223,6 @@ export class JestReporter { * @param status The test result status */ protected addNonFailureTestResult(assert: Assert, status: Status) { - this.currentResults.numPassingTests++; this.currentResults.testResults.push( createAssertionResult(status, assert.name) );