The script populates a few keys in redis (assuming it is running), and once that is complete, calls a series of tests trying to get them.
Each test stores a key in cls, and compares the key it is given when calling the get function with the one in CLS, before and after invoking GET on the redis client, failing if they are not the same.
Ther are two versions of the get function
- Straight up callback
- Promise based with Q
Regardless of whether hiredis is present in the project, am getting errors as follows.