Switch from axios to fetch (#288) #116
integration-tests.yaml
on: push
integration-tests
1m 36s
Annotations
10 errors and 1 warning
|
tests/client.test.ts > createPeer > creates a peer with default options:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 502
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:107:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 502, details: 'Unknown error' }
|
|
tests/client.test.ts > getRoom > throws RoomNotFoundException for a non-existent room id:
packages/js-server-sdk/tests/client.test.ts#L98
AssertionError: expected error to be instance of RoomNotFoundException
- Expected:
[Function RoomNotFoundException]
+ Received:
UnknownException {
"message": "Request failed with status code 500",
"statusCode": 500,
"details": {
"detail": "Internal Server Error",
},
}
❯ tests/client.test.ts:98:5
|
|
tests/client.test.ts > getRoom > returns the correct room:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 502
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:88:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 502, details: 'Unknown error' }
|
|
tests/client.test.ts > getAllRooms > returns an array containing the created room:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 500
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:77:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 500, details: { detail: 'Internal Server Error' } }
|
|
tests/client.test.ts > deleteRoom > throws RoomNotFoundException for a non-existent room id:
packages/js-server-sdk/tests/client.test.ts#L68
AssertionError: expected error to be instance of RoomNotFoundException
- Expected:
[Function RoomNotFoundException]
+ Received:
UnknownException {
"message": "Request failed with status code 502",
"statusCode": 502,
"details": "Unknown error",
}
❯ tests/client.test.ts:68:5
|
|
tests/client.test.ts > deleteRoom > deletes an existing room:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 500
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:57:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 500, details: { detail: 'Internal Server Error' } }
|
|
tests/client.test.ts > createRoom > creates a room with custom maxPeers:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 500
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:47:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 500, details: { detail: 'Internal Server Error' } }
|
|
tests/client.test.ts > createRoom > creates a room with default config:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 500
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:36:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 500, details: { detail: 'Internal Server Error' } }
|
|
tests/client.test.ts > Authentication > succeeds with valid credentials:
packages/js-server-sdk/src/exceptions/mapper.ts#L58
Error: Request failed with status code 500
❯ mapException src/exceptions/mapper.ts:58:14
❯ FishjamClient.createRoom src/client.ts:135:13
❯ tests/client.test.ts:26:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { statusCode: 500, details: { detail: 'Internal Server Error' } }
|
|
tests/client.test.ts > Authentication > throws UnauthorizedException with invalid token:
packages/js-server-sdk/tests/client.test.ts#L21
AssertionError: expected error to be instance of UnauthorizedException
- Expected:
[Function UnauthorizedException]
+ Received:
UnknownException {
"message": "Request failed with status code 502",
"statusCode": 502,
"details": "Unknown error",
}
❯ tests/client.test.ts:21:5
|
|
integration-tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|