Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NuShoSinkuPomogliTebeTvoiSankcii committed Feb 5, 2024
1 parent 0401408 commit 586f6c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class HttpWaitStrategy extends AbstractWaitStrategy {
const exitStatus = "exited";
let containerExited = false;
const client = await getContainerRuntimeClient();
const {abortOnContainerExit} = this.options;
const { abortOnContainerExit } = this.options;

await new IntervalRetry<Response | undefined, Error>(this.readTimeout).retryUntil(
async () => {
Expand Down
6 changes: 5 additions & 1 deletion packages/testcontainers/src/wait-strategies/wait.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export class Wait {
return new HealthCheckWaitStrategy();
}

public static forHttp(path: string, port: number, options: HttpWaitStrategyOptions = { abortOnContainerExit: false }): HttpWaitStrategy {
public static forHttp(
path: string,
port: number,
options: HttpWaitStrategyOptions = { abortOnContainerExit: false }
): HttpWaitStrategy {
return new HttpWaitStrategy(path, port, options);
}

Expand Down

0 comments on commit 586f6c7

Please sign in to comment.