mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
11 lines
320 B
JavaScript
11 lines
320 B
JavaScript
var helper = require(__dirname + "/../test-helper");
|
|
var Client = require(__dirname + "/../../lib/native").Client;
|
|
var conString = helper.connectionString();
|
|
|
|
test('fires callback with results', function() {
|
|
var client = new Client(conString);
|
|
client.query('SELECT 1', assert.calls(function(result) {
|
|
|
|
}));
|
|
})
|