Skip to content

Commit 6f8a712

Browse files
committed
style: apply linter formatting to test files
- Simplify function call formatting in http-client.test.mts - Use numeric separators for readability in socket-sdk-edge-cases.test.mts
1 parent bb844c8 commit 6f8a712

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/unit/http-client.test.mts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,11 +509,7 @@ describe('HTTP Client - createDeleteRequest', () => {
509509
)
510510

511511
it('should make successful DELETE request', async () => {
512-
const response = await createDeleteRequest(
513-
getBaseUrl(),
514-
'/test-delete',
515-
{},
516-
)
512+
const response = await createDeleteRequest(getBaseUrl(), '/test-delete', {})
517513

518514
expect(response.statusCode).toBe(204)
519515
})

test/unit/socket-sdk-edge-cases.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('SocketSdk - Edge Cases and Error Branches', () => {
1414
it('should handle SDK with all options', () => {
1515
const sdk = new SocketSdk('test-token', {
1616
baseUrl: 'https://custom.api.dev',
17-
timeout: 60000,
17+
timeout: 60_000,
1818
retries: 5,
1919
retryDelay: 2000,
2020
})

0 commit comments

Comments
 (0)