test: fix typings in fixture keySecret
This commit is contained in:
parent
959652b3d3
commit
af7ff4e8d9
@ -31,7 +31,7 @@ export const fixtureStart = async (
|
||||
if (typeof options.secret === 'string') {
|
||||
keySecret = options.secret
|
||||
} else {
|
||||
keySecret = await options.secret(() => {})
|
||||
keySecret = await options.secret({ header: { alg: 'RS256' }, payload: '' })
|
||||
}
|
||||
app.post('/login', (_req, res) => {
|
||||
const profile = {
|
||||
|
Reference in New Issue
Block a user