mirror of
https://github.com/mclueppers/xo-server.git
synced 2025-08-16 07:28:40 +02:00
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
var common = require('../../common');
|
|
var assert = require('assert');
|
|
var Connection = require(common.lib + '/Connection');
|
|
var pool = common.createPool();
|
|
|
|
pool.getConnection(function(err, connection) {
|
|
if (err) throw err;
|
|
assert.ok(connection instanceof Connection);
|
|
pool.end();
|
|
});
|