remove console.log
This commit is contained in:
@@ -137,7 +137,6 @@ describe('Verify', async () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test('Expired', () => {
|
test('Expired', () => {
|
||||||
console.log({ exp, now: Math.floor(Date.now() / 1000) })
|
|
||||||
expect(jwt.verify(expiredToken, secret, { throwError: true })).rejects.toThrowError('EXPIRED')
|
expect(jwt.verify(expiredToken, secret, { throwError: true })).rejects.toThrowError('EXPIRED')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user