Skip to content

Commit efc2a65

Browse files
committed
refactor: change mockResponse type to Partial<AxiosResponse> for better flexibility in tests
1 parent 7f32aa9 commit efc2a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/auth-manager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe('AuthManager', () => {
221221
expiresAt: Date.now() - 1000, // Expired 1 second ago
222222
};
223223

224-
const mockResponse: AxiosResponse = {
224+
const mockResponse: Partial<AxiosResponse> = {
225225
data: {
226226
access_token: 'new-access-token',
227227
refresh_token: 'new-refresh-token',

0 commit comments

Comments
 (0)