(log)
| 6 | var MAX_PAYLOAD_SIZE = 16384; |
| 7 | |
| 8 | function createFlow(log) { |
| 9 | var flowControlId = util.random(10, 100); |
| 10 | var flow = new Flow(flowControlId); |
| 11 | flow._log = util.log.child(log || {}); |
| 12 | return flow; |
| 13 | } |
| 14 | |
| 15 | describe('flow.js', function() { |
| 16 | describe('Flow class', function() { |