mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
test: adjust istanbul ignore statements
This commit is contained in:
@@ -193,10 +193,9 @@ export abstract class Plugin {
|
|||||||
*/
|
*/
|
||||||
private onListening() {
|
private onListening() {
|
||||||
const addr = this.server.address();
|
const addr = this.server.address();
|
||||||
|
/* istanbul ignore next */
|
||||||
const bind = typeof addr === 'string'
|
const bind = typeof addr === 'string'
|
||||||
/* istanbul ignore next */
|
|
||||||
? `pipe ${addr}` : addr === null
|
? `pipe ${addr}` : addr === null
|
||||||
/* istanbul ignore next */
|
|
||||||
? 'null' : `port ${addr.port}`;
|
? 'null' : `port ${addr.port}`;
|
||||||
Logger.ok(`Listening on ${bind}`);
|
Logger.ok(`Listening on ${bind}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user