feat: use AsyncLocalStorage to store request state #1350
Annotations
4 errors
Run Test:
test/HttpClient.test.ts#L93
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'text/html'
- 'application/json'
Expected: "application/json"
Received: "text/html"
❯ test/HttpClient.test.ts:93:14
|
Run Test:
test/HttpClient.test.ts#L314
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'npmmirror.com'
- 'localhost'
Expected: "localhost"
Received: "npmmirror.com"
❯ Object.<anonymous> test/HttpClient.test.ts:314:16
❯ test/HttpClient.test.ts:307:7
|
Run Test:
test/HttpClient.test.ts#L377
AssertionError: Expected values to be strictly equal:
+ actual - expected
+ 'npmmirror.com'
- '127.0.0.1'
Expected: "127.0.0.1"
Received: "npmmirror.com"
❯ Object.<anonymous> test/HttpClient.test.ts:377:16
❯ test/HttpClient.test.ts:370:7
|
Run Test
Process completed with exit code 1.
|
Loading