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:
parent
21fdaad149
commit
c7ff18bbdf
1 changed files with 1 additions and 1 deletions
|
@ -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', {
|
||||
|
|
Loading…
Reference in a new issue