carthage
Version:
An API Server and Framework with scaffold functions for node.js
25 lines (13 loc) • 362 B
JavaScript
;
const Carthage = require('carthage');
class IndexControllerTest extends Carthage.mocha.Test {
test(expect) {
it('Should return an HTTP 200', done => {
this.endpoint('/').get((status, headers, body, json) => {
expect(status).to.equal(200);
done();
});
});
}
}
module.exports = IndexControllerTest;