MCPcopy Create free account
hub / github.com/danielzzz/node-ping / fakePing

Function fakePing

test/test-ping.js:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25emitter.stdout = emitter
26
27function fakePing () {
28 windows_output.split('\n').forEach(function (line) {
29 emitter.emit('data', line)
30 })
31 emitter.emit('close', 0)
32}
33
34describe('Ping', function () {
35 var host = '127.0.0.1'

Callers 1

test-ping.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected