Skip to content

Commit

Permalink
count each test runs as one test (subquery#1957)
Browse files Browse the repository at this point in the history
* count each test runs as one test

* update changelog
  • Loading branch information
guplersaxanoid authored Aug 17, 2023
1 parent 8ce4b40 commit 709438b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/node-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Use test runs as unit for tests instead of entity checks (#1957)

## [4.2.3] - 2023-08-17
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions packages/node-core/src/indexer/testing.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ export abstract class TestingService<A, SA, B, DS> {
this.indexBlock.bind(this)
);

this.totalPassedTests += passedTests;
this.totalFailedTests += failedTests;
failedTests > 0 ? this.totalFailedTests++ : this.totalPassedTests++;

if (failedTestSummary) {
this.failedTestsSummary.push(failedTestSummary);
}
Expand Down

0 comments on commit 709438b

Please sign in to comment.