Skip to content

Conversation

saromanov
Copy link

Hi guys! It looks, that append command is missing, so i added it.

   var r = redismock.createClient();
   r.append("foo", "bar1", function(err, result) {
     r.append("foo", "bar2", function(err, result) {
         r.get("foo", function(err, result) {
               result.should.equal("bar1bar2")
               r.end();
               done();
            });
        });
      });

@danielzurawski
Copy link

👍 Any chance for this PR to be merged at some point? It seems this project has been abandoned by its maintainer (last commit 2015) and this PR is open since last year.

@danielzurawski
Copy link

I have now moved onto https://github.com/hdachev/fakeredis which works as a drop-in alternative for this library. It has .append implemented and seems more feature rich (e.g. simulate latencies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants