()
| 31 | |
| 32 | test.cb('should execute promise and callback', t => { |
| 33 | const cb = () => new CompositeResponse(); // just empty response |
| 34 | const promise = new Promise((resolve) => { |
| 35 | // let's do some custom asynchronous operation here, this is why this handler was introduced. |
| 36 | setTimeout(resolve, 1); |