nl_tokens: / * eslint - enable
pl_tokens: function mockPrepareHosts ( command ) { // first filter all special case examples from the mockHost list (eg. no entry) const workingHosts = mockHosts . filter ( i => i . indexOf ( 'no entry' ) < 0 ) let r = workingHosts . join ( '\n' ) if ( command . <mask> ( '-n' ) ) { const ip = command . match ( / arp -(.*){1} (.*) / ) [ 2 ] r = mockHosts . find ( i => i . indexOf ( ip ) > 0 ) } return r }