Skip to content

Commit

Permalink
wait for contains
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Jul 14, 2021
1 parent e0fb742 commit 914e2f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/blocks/verticalresults.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ class VerticalResults {
* Returns true if there exists a query response from logger with status code 200
* @returns {boolean}
*/
isLoggerResultsPresent() {
return this._queryRequestLogger.contains(r => r.response.statusCode === 200);
async isLoggerResultsPresent() {
return await this._queryRequestLogger.contains(r => r.response.statusCode === 200);
}

/**
Expand Down

0 comments on commit 914e2f9

Please sign in to comment.