MCPcopy
hub / github.com/socketio/socket.io / fixture

Function fixture

packages/socket.io/test/close.ts:95–103  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

93
94 describe("graceful close", () => {
95 function fixture(filename) {
96 return (
97 '"' +
98 process.execPath +
99 '" "' +
100 join(__dirname, "fixtures", filename) +
101 '"'
102 );
103 }
104
105 it("should stop socket and timers", (done) => {
106 exec(fixture("server-close.ts"), done);

Callers 1

close.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected