git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-79-npm / connect-mongo / connect-mongo.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 MongoStore = require('connect-mongo')(session);
12if (typeof MongoStore === 'function') {
13 console.log('ok');
14}
15

Built with git-ssb-web