test: expand test coverage

This commit is contained in:
Rainer Killinger
2022-05-10 12:58:22 +02:00
parent 4bb46d8a06
commit 39e710e685
2 changed files with 74 additions and 39 deletions

View File

@@ -82,6 +82,7 @@ Please expose a port if the container should be accessible by NGINX.`);
// Docker Swarm network
if (
/* istanbul ignore next */
typeof container.NetworkSettings?.Networks?.ingress?.IPAddress !== 'undefined' &&
typeof container.Ports[0].PrivatePort !== 'undefined'
) {