(value)
| 2722 | }); |
| 2723 | |
| 2724 | function cb(value) { |
| 2725 | expect(value).to.eql(lastCbFired + 1); |
| 2726 | lastCbFired = value; |
| 2727 | if (value === 3) { |
| 2728 | done(); |
| 2729 | } |
| 2730 | } |
| 2731 | |
| 2732 | // 2 and 3 will be in the same payload |
| 2733 | socket.once("flush", () => { |