8.0 #207
Annotations
11 errors and 2 warnings
test/__tests__/client/request.test.ts > request > Request Without Body:
src/client/request.ts#L51
ReferenceError: Headers is not defined
❯ Request.request src/client/request.ts:51:22
❯ test/__tests__/client/request.test.ts:38:19
❯ test/__tests__/client/request.test.ts:37:10
|
test/__tests__/client/request.test.ts > request > Request with duplicate headers:
src/client/request.ts#L51
ReferenceError: Headers is not defined
❯ Request.request src/client/request.ts:51:22
❯ test/__tests__/client/request.test.ts:68:19
❯ test/__tests__/client/request.test.ts:67:10
|
test/__tests__/client/request.test.ts > request > Request With Body:
src/client/request.ts#L51
ReferenceError: Headers is not defined
❯ Request.request src/client/request.ts:51:22
❯ test/__tests__/client/request.test.ts:105:19
❯ test/__tests__/client/request.test.ts:104:10
|
build (16.x)
Process completed with exit code 1.
|
build (14.x)
The job was canceled because "_16_x" failed.
|
build (14.x)
The operation was canceled.
|
build (19.x)
The job was canceled because "_16_x" failed.
|
test/__tests__/client/request.test.ts > request > Request Without Body:
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
|
test/__tests__/client/request.test.ts > request > Request with duplicate headers:
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
|
test/__tests__/client/request.test.ts > request > Request With Body:
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
|
build (19.x)
The operation was canceled.
|
build (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (16.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|