git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / test / test-79-npm / redis-with-hiredis / redis.js

225 bytesRaw
1'use strict';
2
3var redis = require('redis');
4var client = redis.createClient();
5
6client.on('error', function (error) {
7 var ok = error.message.indexOf('ECONNREFUSED') >= 0;
8 if (ok) console.log('ok');
9 process.exit();
10});
11

Built with git-ssb-web