Skip to content

Commit

Permalink
lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MunishSharmaHMCTS committed Nov 21, 2024
1 parent 27f3d19 commit 66e2616
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/auth/models/strategy.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions src/auth/oidc/models/openid.class.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ xtest('verify() Should return a no access roles messages if the User has no role
const tokenSet = createMock<TokenSet>()
const userinfo = createMock<UserinfoResponse>()

const doneFunction = jest.fn((err, user, message) => { })
const doneFunction = jest.fn((err, user, message) => {})

oidc.verify(tokenSet, userinfo, doneFunction)

Expand All @@ -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)

Expand Down

0 comments on commit 66e2616

Please sign in to comment.