mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
test: adjust istanbul ignore statements
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user