Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Aug 20, 2023
1 parent b2d7bec commit 3d51725
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/jwt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ Deno.test('jwt', async () => {

const token = await jwt.sign(key, { example: 'object' })

assertEquals(await jwt.verify(await createJwtSecret(), token) === undefined, true)
assertEquals(
await jwt.verify(await createJwtSecret(), token) === undefined,
true,
)
assertEquals(await jwt.verify(key, token) !== undefined, true)

Deno.env.set('jwt_secret', key)
Expand Down

0 comments on commit 3d51725

Please sign in to comment.