diff --git a/packages/backend-core/tests/core/utilities/testContainerUtils.ts b/packages/backend-core/tests/core/utilities/testContainerUtils.ts index 845ea8d59d..7a8a6262cc 100644 --- a/packages/backend-core/tests/core/utilities/testContainerUtils.ts +++ b/packages/backend-core/tests/core/utilities/testContainerUtils.ts @@ -37,10 +37,6 @@ function getTestcontainers(): ContainerInfo[] { ) } -function removeContainer(container: ContainerInfo) { - execSync(`docker rm ${container.ID}`) -} - export function getContainerByImage(image: string) { const containers = getTestcontainers().filter(x => x.Image.startsWith(image)) if (containers.length > 1) { @@ -53,10 +49,6 @@ export function getContainerByImage(image: string) { return containers[0] } -function getContainerByName(name: string) { - return getTestcontainers().find(x => x.Names === name) -} - export function getContainerById(id: string) { return getTestcontainers().find(x => x.ID === id) }