nodejs-restful-jsonapi-seed
Version:
Everything you need to start building a scalable web application.
18 lines (14 loc) • 344 B
JavaScript
import app from '../src/app.js';
import chai from 'chai';
import chaiHttp from 'chai-http';
import shared from 'mocha-shared';
chai.use(chaiHttp);
/**
* Shared behaviors.
*/
shared.setup('AppSetup', function() {
beforeEach(function() {
// Create shared request agent.
this.request = chai.request.agent(app);
});
});