Skip to content

Commit

Permalink
fix: responseData assertion does not have properties
Browse files Browse the repository at this point in the history
  • Loading branch information
sorccu committed Jan 24, 2025
1 parent 49263e5 commit 2c7b8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/constructs/tcp-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ type TcpAssertionSource = 'RESPONSE_DATA' | 'RESPONSE_TIME'
export type TcpAssertion = CoreAssertion<TcpAssertionSource>

export class TcpAssertionBuilder {
static responseData (property?: string) {
return new GeneralAssertionBuilder<TcpAssertionSource>('RESPONSE_DATA', property)
static responseData () {
return new GeneralAssertionBuilder<TcpAssertionSource>('RESPONSE_DATA')
}

static responseTime () {
Expand Down

0 comments on commit 2c7b8b8

Please sign in to comment.