Skip to content

Commit

Permalink
fix: checking headers in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mercs600 committed Nov 15, 2024
1 parent 1bf33f0 commit b82c4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/apiClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ describe('T3ApiClient', () => {
})

expect(requestOptions).toHaveProperty('baseURL', 'https://api.t3pwa.com')
expect(requestOptions).toHaveProperty('headers.Authorization', 'Token')
expect(requestOptions.headers.get('Authorization')).toBe('Token')
})
})

0 comments on commit b82c4c2

Please sign in to comment.