Chore: homepage tests (#6278)

This commit is contained in:
shamoon
2026-02-04 19:58:39 -08:00
committed by GitHub
parent 7d019185a3
commit 872a3600aa
558 changed files with 32606 additions and 84 deletions
+2 -1
View File
@@ -86,7 +86,7 @@ export async function servicesFromDocker() {
// bad docker connections can result in a <Buffer ...> object?
// in any case, this ensures the result is the expected array
if (!Array.isArray(containers)) {
return [];
return { server: serverName, services: [] };
}
const discovered = containers.map((container) => {
@@ -188,6 +188,7 @@ export async function servicesFromKubernetes() {
const resources = [...ingressList, ...traefikIngressList, ...httpRouteList];
/* c8 ignore next 3 -- resources is always an array once the spreads succeed */
if (!resources) {
return [];
}