Skip to content

Commit

Permalink
fix: use correct spelling for AssertionBuilder.responseTime() (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
clample authored Aug 3, 2023
1 parent 9335b50 commit 70de135
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/cli/src/constructs/api-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,14 @@ export class AssertionBuilder {
return new GeneralAssertionBuilder(AssertionSource.TEXT_BODY, property)
}

/** @deprecated Use responseTime() instead */
static responseTme () {
return new NumericAssertionBuilder(AssertionSource.RESPONSE_TIME)
}

static responseTime () {
return new NumericAssertionBuilder(AssertionSource.RESPONSE_TIME)
}
}

class NumericAssertionBuilder {
Expand Down

0 comments on commit 70de135

Please sign in to comment.