Skip to content

Commit

Permalink
fix: onceHttpOk should be a property of ReadyContext, not a method
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Mar 28, 2021
1 parent d5917ed commit cc52499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/ReadyContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export interface ReadyContext {
*
* Works by trying the http request repeatedly.
*/
onceHttpOk(
onceHttpOk: (
requestOptions: { url?: string | undefined } & RequestOptions,
expectedStatus?: number | undefined,
): Promise<void>;
) => Promise<void>;

/**
* Wait until a line in the console output passes custom `test`
Expand Down

0 comments on commit cc52499

Please sign in to comment.