{"action":"created","issue":{"url":"https://api.github.com/repos/luin/ioredis/issues/43","repository_url":"https://api.github.com/repos/luin/ioredis","labels_url":"https://api.github.com/repos/luin/ioredis/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/luin/ioredis/issues/43/comments","events_url":"https://api.github.com/repos/luin/ioredis/issues/43/events","html_url":"https://github.com/luin/ioredis/issues/43","id":79688115,"number":43,"title":"A proposal for a mock module for ioredis","user":{"login":"RobinQu","id":342549,"avatar_url":"https://avatars.githubusercontent.com/u/342549?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinQu","html_url":"https://github.com/RobinQu","followers_url":"https://api.github.com/users/RobinQu/followers","following_url":"https://api.github.com/users/RobinQu/following{/other_user}","gists_url":"https://api.github.com/users/RobinQu/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinQu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinQu/subscriptions","organizations_url":"https://api.github.com/users/RobinQu/orgs","repos_url":"https://api.github.com/users/RobinQu/repos","events_url":"https://api.github.com/users/RobinQu/events{/privacy}","received_events_url":"https://api.github.com/users/RobinQu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-23T01:52:46Z","updated_at":"2016-02-05T17:04:24Z","closed_at":"2015-05-29T02:15:04Z","body":"mranney/node_redis has many mock libraries that help us to write unit tests without actually starting a Redis server.\r\n\r\nExamples are:\r\n\r\nhttps://github.com/faeldt/redis-mock\r\nhttps://github.com/hdachev/fakeredis\r\n\r\nAny plan to provide a mock interface?"},"comment":{"url":"https://api.github.com/repos/luin/ioredis/issues/comments/180442511","html_url":"https://github.com/luin/ioredis/issues/43#issuecomment-180442511","issue_url":"https://api.github.com/repos/luin/ioredis/issues/43","id":180442511,"user":{"login":"blimmer","id":630449,"avatar_url":"https://avatars.githubusercontent.com/u/630449?v=3","gravatar_id":"","url":"https://api.github.com/users/blimmer","html_url":"https://github.com/blimmer","followers_url":"https://api.github.com/users/blimmer/followers","following_url":"https://api.github.com/users/blimmer/following{/other_user}","gists_url":"https://api.github.com/users/blimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/blimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimmer/subscriptions","organizations_url":"https://api.github.com/users/blimmer/orgs","repos_url":"https://api.github.com/users/blimmer/repos","events_url":"https://api.github.com/users/blimmer/events{/privacy}","received_events_url":"https://api.github.com/users/blimmer/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T17:04:24Z","updated_at":"2016-02-05T17:04:24Z","body":"Ah, OK. I see now. Thank you for that clarification. It would be really nice if there were an equivalent of [fakeredis](https://github.com/hdachev/fakeredis) that worked with ioredis. Or, is there a way to make that work that I'm not thinking of?"}}