Home > @opengovsg/testcontainers > teardown
teardown() function
Stop and remove the given containers concurrently.
Signature:
typescript
teardown: (containers: {
container: StartedTestContainer;
}[]) => Promise<void>Parameters
| Parameter | Type | Description |
|---|---|---|
| containers | { container: StartedTestContainer; }[] |
Returns:
Promise<void>