From 0a10ef136237637164ea1ec666b1aa6398d02f9d Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Wed, 4 Aug 2021 11:05:08 +0200 Subject: [PATCH] test: adjust istanbul ignore statements --- src/plugin.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugin.ts b/src/plugin.ts index b7873a76..722e3f87 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -193,10 +193,9 @@ export abstract class Plugin { */ private onListening() { const addr = this.server.address(); + /* istanbul ignore next */ const bind = typeof addr === 'string' - /* istanbul ignore next */ ? `pipe ${addr}` : addr === null - /* istanbul ignore next */ ? 'null' : `port ${addr.port}`; Logger.ok(`Listening on ${bind}`); }