Fix lint.

This commit is contained in:
Sam Rose 2024-12-05 16:16:27 +00:00
parent 04cb51ed9c
commit d21cfc0f34
No known key found for this signature in database
1 changed files with 0 additions and 8 deletions

View File

@ -37,10 +37,6 @@ function getTestcontainers(): ContainerInfo[] {
) )
} }
function removeContainer(container: ContainerInfo) {
execSync(`docker rm ${container.ID}`)
}
export function getContainerByImage(image: string) { export function getContainerByImage(image: string) {
const containers = getTestcontainers().filter(x => x.Image.startsWith(image)) const containers = getTestcontainers().filter(x => x.Image.startsWith(image))
if (containers.length > 1) { if (containers.length > 1) {
@ -53,10 +49,6 @@ export function getContainerByImage(image: string) {
return containers[0] return containers[0]
} }
function getContainerByName(name: string) {
return getTestcontainers().find(x => x.Names === name)
}
export function getContainerById(id: string) { export function getContainerById(id: string) {
return getTestcontainers().find(x => x.ID === id) return getTestcontainers().find(x => x.ID === id)
} }