Skip to content

Commit

Permalink
fix: typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 25, 2023
1 parent e2f20fc commit 8e9dfbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/token_providers/database.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test.group('Database token provider | createToken', () => {
/**
* Verifying the token public value matches the saved hash
*/
const { value } = TestToken.decode(token.value!)
const { value } = TestToken.decode(token.value!)!
assert.isTrue(freshToken.verify(value))
})

Expand All @@ -54,7 +54,7 @@ test.group('Database token provider | createToken', () => {
/**
* Verifying the token public value matches the saved hash
*/
const { value } = TestToken.decode(token.value!)
const { value } = TestToken.decode(token.value!)!
assert.isTrue(freshToken!.verify(value))
})

Expand Down

0 comments on commit 8e9dfbc

Please sign in to comment.