Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
emitter.stdout = emitter
26
27
function
fakePing () {
28
windows_output.split(
'\n'
).forEach(
function
(line) {
29
emitter.emit(
'data'
, line)
30
})
31
emitter.emit(
'close'
, 0)
32
}
33
34
describe(
'Ping'
,
function
() {
35
var
host =
'127.0.0.1'
Callers
1
test-ping.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected