0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

refactor: fix api tests

This commit is contained in:
Gao Sun 2023-05-22 22:47:31 +08:00
parent 21fdaad149
commit c7ff18bbdf
No known key found for this signature in database
GPG key ID: 13EBE123E4773688

View file

@ -12,7 +12,7 @@ describe('content-type: application/json compatibility', () => {
const expectErrorMessageForPayload = async (
payload: Record<string, unknown>,
errorMessage: string,
headers?: Headers
headers: Headers = {}
) => {
return trySafe(
api.post('token', {