node.js - meanjs routes tests not working -


i using meanjs 0.4.0 branch. , while performing routes tests gives error timeout of 2000ms exceeded. error comes code:

before(function(done) {     var app = express.init(mongoose);     agent = request.agent(app);     done(); }); 

i think problem express server not running. in there master version code is:

var app = require('../../server'),    agent = request.agent(app); 

they have exported app object in server.js in route tests gets app instance. in 0.4.0 branch have not exported app object. how solve problem


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -