From d21cfc0f34f700d73a83cbd98920e1ab9e1d2406 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Thu, 5 Dec 2024 16:16:27 +0000 Subject: [PATCH] Fix lint. --- .../tests/core/utilities/testContainerUtils.ts | 8 -------- 1 file changed, 8 deletions(-) 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) }