Lines Matching refs:checkInvocations
11 const { checkInvocations } = require('./hook-checks');
36 checkInvocations(tcpserver, { init: 1 }, 'when calling server.listen');
57 checkInvocations(tcpserver, { init: 1 },
59 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client is connecting');
76 checkInvocations(
92 checkInvocations(tcpconnect, expected,
104 checkInvocations(tcpserver, expected, 'tcpserver when client connects');
105 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client connects');
121 checkInvocations(tcpserver, { init: 1, before: 1 },
123 checkInvocations(tcp1, { init: 1 }, 'tcp1 when server receives connection');
124 checkInvocations(tcp2, { init: 1 }, 'tcp2 when server receives connection');
132 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 },
134 checkInvocations(tcp1, { init: 1, before: 2, after: 2, destroy: 1 },
137 checkInvocations(tcp2, { init: 1, before: 1, after: 1 },
141 checkInvocations(tcp2, { init: 1, before: 2, after: 2, destroy: 1 },
143 checkInvocations(tcpconnect, { init: 1, before: 1, after: 1, destroy: 1 },
154 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 },
156 checkInvocations(
159 checkInvocations(
162 checkInvocations(