From 61d0c2e980e02dd5559c3fde7bee9b4f518f4817 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Fri, 1 Sep 2017 16:06:02 +0200 Subject: [PATCH] Fix typescript transpilation after typescript update --- .../secondfactor/u2f/identity/RegistrationHandler.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts b/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts index 4fb13a283..21b04c090 100644 --- a/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts +++ b/test/unit/server/routes/secondfactor/u2f/identity/RegistrationHandler.test.ts @@ -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;