nodal
Version:
An API Server and Framework for node.js
25 lines (13 loc) • 353 B
JavaScript
;
const Nodal = require('nodal');
class IndexControllerTest extends Nodal.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;