global.chai = require("chai");
global.expect = chai.expect;
global.sinon = require("sinon");

var sinonChai = require("sinon-chai");
chai.use(sinonChai);


var app = require('../lib/app');
var supertest = require("supertest");
global.request = supertest(app);

@@ -1,12 +1,14 @@
+%0A%0A
 global.chai 
@@ -150,16 +150,47 @@
 Chai);%0A%0A
+process.env.NODE_ENV = 'test';%0A
 %0Avar app

Add a test environment tag