We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3594ab5 commit 128dbcbCopy full SHA for 128dbcb
1 file changed
test/native/callback-api-tests.js
@@ -0,0 +1,10 @@
1
+var helper = require(__dirname + "/../test-helper");
2
+var Client = require(__dirname + "/../../lib/native").Client;
3
+var conString = helper.connectionString();
4
+
5
+test('fires callback with results', function() {
6
+ var client = new Client(conString);
7
+ client.query('SELECT 1', assert.calls(function(result) {
8
9
+ }));
10
+})
0 commit comments