Skip to content

Commit 966ab5f

Browse files
Remove old method
1 parent 8560f4c commit 966ab5f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/testcontainers/src/generic-container/abstract-started-container.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Readable } from "stream";
22
import { RestartOptions, StartedTestContainer, StopOptions, StoppedTestContainer } from "../test-container";
33
import { CommitOptions, ContentToCopy, DirectoryToCopy, ExecOptions, ExecResult, FileToCopy, Labels } from "../types";
4-
import { WaitStrategy } from "../wait-strategies/wait-strategy";
54

65
export class AbstractStartedContainer implements StartedTestContainer {
76
constructor(protected readonly startedTestContainer: StartedTestContainer) {}
@@ -24,10 +23,6 @@ export class AbstractStartedContainer implements StartedTestContainer {
2423

2524
protected containerStopped?(): Promise<void>;
2625

27-
public setWaitStrategy(waitStrategy: WaitStrategy): void {
28-
this.startedTestContainer.setWaitStrategy(waitStrategy);
29-
}
30-
3126
public async restart(options?: Partial<RestartOptions>): Promise<void> {
3227
return this.startedTestContainer.restart(options);
3328
}

0 commit comments

Comments
 (0)