diff --git a/test/lib/apiClient.spec.ts b/test/lib/apiClient.spec.ts index 7e2c8642..9e2ca73a 100644 --- a/test/lib/apiClient.spec.ts +++ b/test/lib/apiClient.spec.ts @@ -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') }) })