Add integration tests for /weather and /research endpoints #5
Annotations
10 errors
|
Test:
api.integration.test.ts#L383
AssertionError: expected '{"status":"throttled","message":"rate…' to match /solar|energy|renewable/
- Expected:
/solar|energy|renewable/
+ Received:
"{\"status\":\"throttled\",\"message\":\"rate limit exceeded. please wait.\",\"retry_after_seconds\":26,\"data\":null}"
❯ api.integration.test.ts:383:37
|
|
Test:
api.integration.test.ts#L357
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ api.integration.test.ts:357:44
|
|
Test:
api.integration.test.ts#L328
AssertionError: expected 91 to be greater than or equal to 3000
❯ api.integration.test.ts:328:18
|
|
Test:
api.integration.test.ts#L313
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ api.integration.test.ts:313:34
|
|
Test:
api.integration.test.ts#L244
AssertionError: expected '{"status":"throttled","message":"rate…' to contain 'tokyo'
Expected: "tokyo"
Received: "{"status":"throttled","message":"rate limit exceeded. please wait.","retry_after_seconds":27,"data":null}"
❯ api.integration.test.ts:244:37
|
|
Test:
api.integration.test.ts#L222
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ api.integration.test.ts:222:44
|
|
Test:
api.integration.test.ts#L201
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ api.integration.test.ts:201:44
|
|
Test:
api.integration.test.ts#L189
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ api.integration.test.ts:189:44
|
|
Test:
api.integration.test.ts#L164
AssertionError: expected '{"status":"throttled","message":"rate…' to contain 'london'
Expected: "london"
Received: "{"status":"throttled","message":"rate limit exceeded. please wait.","retry_after_seconds":28,"data":null}"
❯ api.integration.test.ts:164:37
|
|
Test:
api.integration.test.ts#L144
AssertionError: expected '{"status":"throttled","message":"rate…' to contain 'new york'
Expected: "new york"
Received: "{"status":"throttled","message":"rate limit exceeded. please wait.","retry_after_seconds":28,"data":null}"
❯ api.integration.test.ts:144:21
|
background
wait
wait-all
cancel
parallel
Loading