Skip to content

Commit 1479224

Browse files
committed
test: improve test file naming clarity and remove duplicates
- Rename socket-sdk-branch-coverage.test.mts to socket-sdk-json-parsing-errors.test.mts - Rename socket-sdk-edge-cases.test.mts to socket-sdk-api-error-responses.test.mts - Remove duplicate socket-sdk-basic.test.mts (functionality covered by authentication-basic.test.mts) - Add descriptive @fileoverview comments to renamed test files - Coverage maintained at 99.41%
1 parent 0c773d5 commit 1479224

3 files changed

Lines changed: 2 additions & 187 deletions

File tree

test/socket-sdk-edge-cases.test.mts renamed to test/socket-sdk-api-error-responses.test.mts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @fileoverview Tests for API error response handling and various error scenarios. */
12
import nock from 'nock'
23
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
34

test/socket-sdk-basic.test.mts

Lines changed: 0 additions & 186 deletions
This file was deleted.

test/socket-sdk-branch-coverage.test.mts renamed to test/socket-sdk-json-parsing-errors.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** @fileoverview Tests for missing branch coverage in socket-sdk-class.ts. */
1+
/** @fileoverview Tests for JSON parsing and syntax error handling in HTTP client. */
22
import nock from 'nock'
33
import { afterEach, beforeEach, describe, expect, it } from 'vitest'
44

0 commit comments

Comments
 (0)