missed a couple files #206
Annotations
5 errors
|
npm install, build, and test:
test/__tests__/client/request.test.ts#L42
AssertionError: expected { url: '/', method: 'GET', …(3) } to deeply equal { url: '/', method: 'GET', …(3) }
- Expected
+ Received
Object {
"body": "",
"headers": Object {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"accept-language": "*",
"connection": "keep-alive",
"host": "127.0.0.1:8081",
"one": "two",
"sec-fetch-mode": "cors",
- "user-agent": "node",
+ "user-agent": "undici",
},
"message": "hello!",
"method": "GET",
"url": "/",
}
❯ test/__tests__/client/request.test.ts:42:49
|
npm install, build, and test:
test/__tests__/client/request.test.ts#L72
AssertionError: expected { url: '/', method: 'GET', …(3) } to deeply equal { url: '/', method: 'GET', …(3) }
- Expected
+ Received
Object {
"body": "",
"headers": Object {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"accept-language": "*",
"connection": "keep-alive",
"host": "127.0.0.1:8081",
"one": "two, three",
"sec-fetch-mode": "cors",
- "user-agent": "node",
+ "user-agent": "undici",
},
"message": "hello!",
"method": "GET",
"url": "/",
}
❯ test/__tests__/client/request.test.ts:72:49
|
npm install, build, and test:
test/__tests__/client/request.test.ts#L110
AssertionError: expected { url: '/', method: 'POST', …(3) } to match object { url: '/', method: 'POST', …(3) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": "{\"yeah\": \"what\"}",
"headers": Object {
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"connection": "keep-alive",
"content-length": "16",
"content-type": "text/plain;charset=UTF-8",
"host": "127.0.0.1:8081",
"three": "four",
- "user-agent": "node",
+ "user-agent": "undici",
},
"message": "hello!",
"method": "POST",
"url": "/",
}
❯ test/__tests__/client/request.test.ts:110:49
|
npm install, build, and test
Process completed with exit code 1.
|
Loading