MCPcopy Index your code
hub / github.com/deployd/deployd / next

Function next

test/config-loader.unit.js:129–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 var callsLeft = 20;
128
129 function next() {
130 if (callsLeft == 0) {
131 expect(fs.readdir.callCount).to.equal(1);
132 return done();
133 }
134 callsLeft--;
135 server.route(req, res);
136 }
137
138 var originalLoadConfig = configLoader.loadConfig;
139 this.sinon.stub(configLoader, 'loadConfig').callsFake(function (basepath, server, fn) {

Callers 1

Calls 1

doneFunction · 0.50

Tested by

no test coverage detected