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

Fix typescript transpilation after typescript update
This commit is contained in:
Clément Michaud 2017-09-01 17:19:17 +02:00 committed by GitHub
commit 0b8ac83566

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;