Fix typescript transpilation after typescript update

This commit is contained in:
Clement Michaud 2017-09-01 16:06:02 +02:00
parent 7be61d7357
commit 61d0c2e980

View File

@ -17,7 +17,7 @@ describe("test register handler", function () {
let authSession: AuthenticationSession.AuthenticationSession;
beforeEach(function () {
req = ExpressMock.RequestMock;
req = ExpressMock.RequestMock();
req.app = {};
const mocks = ServerVariablesMock.mock(req.app);
mocks.logger = winston;