Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / connect-redis / connect-redis.js
270 bytesRaw
1 | ; |
2 | |
3 | function Store () { |
4 | this.emit = function () {}; |
5 | } |
6 | |
7 | function MemoryStore () { |
8 | } |
9 | |
10 | var session = { Store: Store, MemoryStore: MemoryStore }; |
11 | var RedisStore = require('connect-redis')(session); |
12 | if (typeof RedisStore === 'function') { |
13 | console.log('ok'); |
14 | } |
15 |
Built with git-ssb-web