diff --git a/package.json b/package.json index 1ccd7c1..5b1abc1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/rpx-xui-node-lib", - "version": "2.29.5-exui-2079-rc9", + "version": "2.29.5-exui-2079-rc10", "description": "Common nodejs library components for XUI", "main": "dist/index", "types": "dist/index.d.ts", diff --git a/src/auth/models/strategy.class.ts b/src/auth/models/strategy.class.ts index 28b2b7a..362c749 100644 --- a/src/auth/models/strategy.class.ts +++ b/src/auth/models/strategy.class.ts @@ -241,9 +241,9 @@ export abstract class Strategy extends events.EventEmitter { this.serializeUser() this.deserializeUser() - ; (async () => { - await Promise.all([this.initialiseStrategy(this.options)]) - })() + ;(async () => { + await Promise.all([this.initialiseStrategy(this.options)]) + })() this.initializePassport() this.initializeSession() diff --git a/src/auth/oidc/models/openid.class.spec.ts b/src/auth/oidc/models/openid.class.spec.ts index 135259a..88f9416 100644 --- a/src/auth/oidc/models/openid.class.spec.ts +++ b/src/auth/oidc/models/openid.class.spec.ts @@ -399,7 +399,7 @@ xtest('verify() Should return a no access roles messages if the User has no role const tokenSet = createMock() const userinfo = createMock() - const doneFunction = jest.fn((err, user, message) => { }) + const doneFunction = jest.fn((err, user, message) => {}) oidc.verify(tokenSet, userinfo, doneFunction) @@ -421,7 +421,7 @@ xtest('verify() Should return the user token set if a User has roles.', async () idToken: tokenSet.id_token, } - const doneFunction = jest.fn((err, user, message) => { }) + const doneFunction = jest.fn((err, user, message) => {}) oidc.verify(tokenSet, userinfo, doneFunction)