Skip to content

Commit a398291

Browse files
Fix abstract started container
1 parent 312361f commit a398291

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,8 @@ export class AbstractStartedContainer implements StartedTestContainer {
9898
public logs(opts?: { since?: number; tail?: number }): Promise<Readable> {
9999
return this.startedTestContainer.logs(opts);
100100
}
101+
102+
async [Symbol.asyncDispose]() {
103+
await this[Symbol.asyncDispose]();
104+
}
101105
}

0 commit comments

Comments
 (0)