test: adjust istanbul ignore statements

This commit is contained in:
Rainer Killinger
2021-08-04 11:05:08 +02:00
parent 546aa14895
commit 0a10ef1362

View File

@@ -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}`);
}