Bump the development group with 14 updates #1130
Annotations
4 errors
src/api/Api.test.ts > apiClient > should return data on success:
src/api/Api.test.ts#L12
AssertionError: expected { status: 'error', …(1) } to deeply equal { status: 'success', data: { …(1) } }
- Expected
+ Received
Object {
- "data": Object {
- "features": Object {
- "telegramEnabled": true,
- },
+ "error": Object {
+ "code": 500,
+ "message": "Failed to parse URL from /admin/features",
},
- "status": "success",
+ "status": "error",
}
❯ src/api/Api.test.ts:12:22
|
src/api/Api.test.ts > apiClient > should throw error on non-200 status:
src/api/Api.test.ts#L21
AssertionError: expected { status: 'error', …(1) } to deeply equal { status: 'error', …(1) }
- Expected
+ Received
Object {
"error": Object {
"code": 500,
- "message": "Internal Server Error",
+ "message": "Failed to parse URL from /admin/features",
},
"status": "error",
}
❯ src/api/Api.test.ts:21:22
|
src/api/Api.test.ts > apiClient > should throw error on network error:
src/api/Api.test.ts#L29
AssertionError: expected { status: 'error', …(1) } to deeply equal { status: 'error', …(1) }
- Expected
+ Received
Object {
"error": Object {
"code": 500,
- "message": "Network error",
+ "message": "Failed to parse URL from /admin/features",
},
"status": "error",
}
❯ src/api/Api.test.ts:29:22
|
Test
Process completed with exit code 1.
|