You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
doc: fix typos
This commit is contained in:
@@ -64,7 +64,7 @@ describe("The 'batch' method", function () {
|
||||
client.end(true);
|
||||
});
|
||||
|
||||
it('returns an empty array and keep the execution order in takt', function (done) {
|
||||
it('returns an empty array and keep the execution order in tact', function (done) {
|
||||
var called = false;
|
||||
client.set('foo', 'bar', function (err, res) {
|
||||
called = true;
|
||||
@@ -78,7 +78,7 @@ describe("The 'batch' method", function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('runs normal calls inbetween batch', function (done) {
|
||||
it('runs normal calls in-between batch', function (done) {
|
||||
var batch = client.batch();
|
||||
batch.set('m1', '123');
|
||||
client.set('m2', '456', done);
|
||||
|
@@ -265,6 +265,7 @@ describe('connection tests', function () {
|
||||
|
||||
describe('when not connected', function () {
|
||||
|
||||
// TODO: Fix this test
|
||||
it.skip('emit an error after the socket timeout exceeded the connectTimeout time', function (done) {
|
||||
var connectTimeout = 500; // in ms
|
||||
client = redis.createClient({
|
||||
|
@@ -933,7 +933,7 @@ describe('The nodeRedis client', function () {
|
||||
});
|
||||
client.once('ready', function () {
|
||||
client.set('foo', 'bar', function (err, res) {
|
||||
assert.strictEqual(err.message, 'Fatal error encountert. Command aborted. It might have been processed.');
|
||||
assert.strictEqual(err.message, 'Fatal error encountered. Command aborted. It might have been processed.');
|
||||
assert.strictEqual(err.code, 'NR_FATAL');
|
||||
assert(err instanceof redis.AbortError);
|
||||
error = err.origin;
|
||||
|
Reference in New Issue
Block a user