Files: 938b7ea4cfaa3cef6e1690b9ef3ea8bd7a0d2de1 / test / test-79-npm / redis / redis.js
225 bytesRaw
1 | ; |
2 | |
3 | var redis = require('redis'); |
4 | var client = redis.createClient(); |
5 | |
6 | client.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