git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / express-load / express-load.js

290 bytesRaw
1'use strict';
2
3var load = require('express-load');
4
5var app = {};
6app.get = function () {};
7app.index = 'Welcome!';
8
9var opts = {};
10// opts.verbose = true;
11
12load('controllers', opts).then('routes').into(app);
13
14if (app.controllers.fixture &&
15 app.routes.fixture) {
16 console.log('ok');
17}
18

Built with git-ssb-web