mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-16 11:14:09 +08:00
Initial work on the server
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
});
|
||||
Reference in New Issue
Block a user