git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / 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