git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / connect-redis / connect-redis.js

270 bytesRaw
1'use strict';
2
3function Store () {
4 this.emit = function () {};
5}
6
7function MemoryStore () {
8}
9
10var session = { Store: Store, MemoryStore: MemoryStore };
11var RedisStore = require('connect-redis')(session);
12if (typeof RedisStore === 'function') {
13 console.log('ok');
14}
15

Built with git-ssb-web