mirror of
https://github.com/knex/knex.git
synced 2026-01-06 03:57:29 +00:00
Fixed integration now close connections
This commit is contained in:
parent
83b2c2b078
commit
36282de16b
@ -10,8 +10,9 @@ var pool = {
|
||||
expect(connection).to.have.property('__cid');
|
||||
callback(null, connection);
|
||||
},
|
||||
beforeDestroy: function(connection) {
|
||||
beforeDestroy: function(connection, continueFunc) {
|
||||
expect(connection).to.have.property('__cid');
|
||||
continueFunc();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user