no-espam
Joined 15 years ago
Joined 15 years ago
it("should wait for socket", function(done) { socket.write("asdfadf", function(err, response) { assert.ok(response.indexOf('token') >= ); done() ); });
#4 If you need a new event loop then write the tests in another module, then simply run your test utility. `mocha` will run all tests in test/*test.js.
RSpec is DOG SLOW! I can run 100s of test in a couple of seconds. Can RSpec even startup in that time?
Riak looks interesting but its overkill. They recommend at least three nodes. We went back to PostgreSQL.
I do agree the ThinkPad keyboards were the best in its class.
My point is the inconsistency of the driver API vs the syntax used in the `mongo` utility. I don't know how many times I've looked at the MongoDB docs and then have to figure how to do the same thing with this driver.