1
0
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:
Ruben Bridgewater
2017-05-05 18:24:31 +02:00
parent c81f85576c
commit 086c90d938
8 changed files with 19 additions and 18 deletions

View File

@@ -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);

View File

@@ -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({

View File

@@ -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;