test: fix typings in fixture keySecret

This commit is contained in:
divlo 2021-01-28 19:12:46 +01:00
parent 959652b3d3
commit af7ff4e8d9

View File

@ -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 = {