(cont)
| 31 | var opts = { limit: 0, interval: 500 }; |
| 32 | plugin = cpuUsageThrottle(opts); |
| 33 | function next(cont) { |
| 34 | assert(cont instanceof Error, 'Should call next with error'); |
| 35 | assert.equal(cont.statusCode, 503, 'Defaults to 503 status'); |
| 36 | done(); |
| 37 | } |
| 38 | plugin({}, {}, next); |
| 39 | }); |
| 40 |
no test coverage detected