b1b2801c71
The promise adapter I had implemented wasn't spec compliant: it didn't accept both `onSuccess` and `onFailure` in the call to `query#then`. This subtly broke yield & async/await because they both rely on `onError` being passed into `Promise#then`. The pool was also not returning the promise after a client was acquired, which broke awaiting on `pool.connect` - this is also fixed now. |
||
---|---|---|
.. | ||
double-connection-tests.js | ||
ending-empty-pool-tests.js | ||
ending-pool-tests.js | ||
error-tests.js | ||
idle-timeout-tests.js | ||
max-connection-tests.js | ||
native-instance-tests.js | ||
optional-config-tests.js | ||
single-connection-tests.js | ||
test-helper.js | ||
waiting-connection-tests.js | ||
yield-support-body.js | ||
yield-support-tests.js |