MCPcopy Index your code
hub / github.com/socketio/socket.io / fixture

Function fixture

test/close.ts:74–82  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

72
73 describe("graceful close", () => {
74 function fixture(filename) {
75 return (
76 '"' +
77 process.execPath +
78 '" "' +
79 join(__dirname, "fixtures", filename) +
80 '"'
81 );
82 }
83
84 it("should stop socket and timers", (done) => {
85 exec(fixture("server-close.ts"), done);

Callers 1

close.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected