failing test for simple query with callback
This commit is contained in:
parent
3594ab5185
commit
128dbcb84c
10
test/native/callback-api-tests.js
Normal file
10
test/native/callback-api-tests.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
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) {
|
||||||
|
|
||||||
|
}));
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user