12 Commits

Author SHA1 Message Date
Brian C
8798e50ad3 Re-enable eslint with standard format (#1367)
* Work on converting lib to standard

* Finish updating lib

* Finish linting lib

* Format test files

* Add .eslintrc with standard format

* Supply full path to eslint bin

* Move lint command to package.json

* Add eslint as dev dependency
2017-07-15 12:05:58 -05:00
Brian Carlson
27450d07e6 Throw on reconnect attempt
Clients are not reusable.  This changes the client to raise errors whenever you try to reconnect a client that's already been used.  They're cheap to create: just instantiate a new one (or use the pool) 😉.

Closes #1352
2017-07-15 11:02:09 -05:00
Brian M. Carlson
0f1f8626cf Add use strict to every file 2017-06-18 16:48:14 -05:00
Brian M. Carlson
d615ebee17 Start cleaning up tests 2017-06-15 10:32:38 -05:00
Mayhem
e5d2f96099 Use strictEqual instead 2015-02-22 21:30:22 +01:00
Mayhem
37956e22c5 Fix result.rowCount being a string instead of a number via native bindings.
Fixes #708
2015-02-21 17:32:39 +01:00
Andrey Popp
fddf0546d0 test for native to preserve an active domain 2013-05-20 18:30:56 +04:00
Alexander Sulfrian
f698ed4459 use config dict in all test
instead of the connection string use the config dict in all tests to
be able to specify things like binary mode
2011-11-22 05:00:54 +01:00
brianc
4cb97a2b9e switch to node-pool from custom client pool 2011-08-11 20:59:56 -05:00
bmc
47591d677b callback api working 2011-03-01 19:51:25 +00:00
brianc
ded6c05ed6 callback api failures 2011-02-28 23:09:09 -06:00
brianc
128dbcb84c failing test for simple query with callback 2011-02-28 22:59:54 -06:00