mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
some cleanup on the initial spike
This commit is contained in:
parent
1dfe510abe
commit
643164d2f0
@ -1,2 +1,3 @@
|
||||
//require the c++ bindings & export to javascript
|
||||
var binding = require(__dirname + '/../build/default/binding');
|
||||
module.exports = binding.Connection;
|
||||
module.exports = binding;
|
||||
|
||||
2
lib/libpq.js
Normal file
2
lib/libpq.js
Normal file
@ -0,0 +1,2 @@
|
||||
var binding = require(__dirname + '/../build/default/binding');
|
||||
module.exports = binding.Connection;
|
||||
@ -1,5 +1,5 @@
|
||||
var helper = require(__dirname + "/../test-helper");
|
||||
var Connection = require(__dirname + "/../../lib/binding");
|
||||
var Connection = require(__dirname + "/../../lib/libpq").Connection;
|
||||
|
||||
test('calling connect without params raises error', function() {
|
||||
var con = new Connection();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user