Merge pull request #72 from clems4ever/fix-registration-handler-test

Fix typescript transpilation after typescript update
pull/74/head
Clément Michaud 2017-09-01 17:19:17 +02:00 committed by GitHub
commit 0b8ac83566
1 changed files with 1 additions and 1 deletions

View File

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