chore(deps): bump undici from 6.20.0 to 7.0.0 #483
Annotations
32 errors and 30 warnings
test/request.spec.ts > request > express > multipart/form-data > should strip content-type header:
test/request.spec.ts#L204
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:204:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with filename:
test/request.spec.ts#L224
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:224:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with streams:
test/request.spec.ts#L252
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:252:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with blobs:
test/request.spec.ts#L280
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "application/octet-stream",
- "originalname": "undefined",
+ "originalname": "blob",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
- "content-length": "4877572",
+ "content-length": "4877569",
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:280:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L431
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:431:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should strip content-type header:
test/request.spec.ts#L721
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:721:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with filename:
test/request.spec.ts#L741
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:741:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with streams:
test/request.spec.ts#L759
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:759:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with blobs:
test/request.spec.ts#L776
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Array [
Object {
"encoding": "7bit",
"fieldname": "picture",
"fieldsCount": 1,
- "filename": "undefined",
+ "filename": "blob",
"mimetype": "application/octet-stream",
"size": 4877386,
},
],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:776:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L905
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:905:21
|
CI (18.x)
The job was canceled because "_20_x" failed.
|
test/request.spec.ts > request > express > multipart/form-data > should strip content-type header:
test/request.spec.ts#L204
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:204:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with filename:
test/request.spec.ts#L224
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:224:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with streams:
test/request.spec.ts#L252
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:252:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with blobs:
test/request.spec.ts#L280
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "application/octet-stream",
- "originalname": "undefined",
+ "originalname": "blob",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
- "content-length": "4877572",
+ "content-length": "4877569",
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:280:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L431
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:431:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should strip content-type header:
test/request.spec.ts#L721
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:721:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with filename:
test/request.spec.ts#L741
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:741:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with streams:
test/request.spec.ts#L759
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:759:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with blobs:
test/request.spec.ts#L776
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Array [
Object {
"encoding": "7bit",
"fieldname": "picture",
"fieldsCount": 1,
- "filename": "undefined",
+ "filename": "blob",
"mimetype": "application/octet-stream",
"size": 4877386,
},
],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:776:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L905
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:905:21
|
CI (22.x)
The job was canceled because "_20_x" failed.
|
test/request.spec.ts > request > express > multipart/form-data > should strip content-type header:
test/request.spec.ts#L204
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:204:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with filename:
test/request.spec.ts#L224
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:224:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with streams:
test/request.spec.ts#L252
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:252:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with blobs:
test/request.spec.ts#L280
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "application/octet-stream",
- "originalname": "undefined",
+ "originalname": "blob",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
- "content-length": "4877572",
+ "content-length": "4877569",
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:280:21
|
test/request.spec.ts > request > express > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L431
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:431:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should strip content-type header:
test/request.spec.ts#L721
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:721:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with filename:
test/request.spec.ts#L741
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:741:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with streams:
test/request.spec.ts#L759
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:759:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with blobs:
test/request.spec.ts#L776
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Array [
Object {
"encoding": "7bit",
"fieldname": "picture",
"fieldsCount": 1,
- "filename": "undefined",
+ "filename": "blob",
"mimetype": "application/octet-stream",
"size": 4877386,
},
],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:776:21
|
test/request.spec.ts > request > fastify > multipart/form-data > should work with buffered streams:
test/request.spec.ts#L905
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:905:21
|
CI (20.x):
src/SageFactory.ts#L8
Unexpected any. Specify a different type
|
CI (20.x):
src/SageHttpResponse.ts#L9
Unexpected any. Specify a different type
|
CI (20.x):
src/polyfill.ts#L9
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (20.x):
test/SageHttpResponse.spec.ts#L10
Unexpected any. Specify a different type
|
CI (20.x):
test/SageHttpResponse.spec.ts#L22
Unexpected any. Specify a different type
|
CI (20.x):
test/SageHttpResponse.spec.ts#L34
Unexpected any. Specify a different type
|
CI (20.x):
test/SageHttpResponse.spec.ts#L46
Unexpected any. Specify a different type
|
CI (20.x):
test/setup.ts#L10
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (20.x):
test/utils.ts#L14
Using exported name 'fastifyCookie' as identifier for default export
|
CI (20.x):
test/utils.ts#L67
'next' is defined but never used
|
CI (18.x):
src/SageFactory.ts#L8
Unexpected any. Specify a different type
|
CI (18.x):
src/SageHttpResponse.ts#L9
Unexpected any. Specify a different type
|
CI (18.x):
src/polyfill.ts#L9
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (18.x):
test/SageHttpResponse.spec.ts#L10
Unexpected any. Specify a different type
|
CI (18.x):
test/SageHttpResponse.spec.ts#L22
Unexpected any. Specify a different type
|
CI (18.x):
test/SageHttpResponse.spec.ts#L34
Unexpected any. Specify a different type
|
CI (18.x):
test/SageHttpResponse.spec.ts#L46
Unexpected any. Specify a different type
|
CI (18.x):
test/setup.ts#L10
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (18.x):
test/utils.ts#L14
Using exported name 'fastifyCookie' as identifier for default export
|
CI (18.x):
test/utils.ts#L67
'next' is defined but never used
|
CI (22.x):
src/SageFactory.ts#L8
Unexpected any. Specify a different type
|
CI (22.x):
src/SageHttpResponse.ts#L9
Unexpected any. Specify a different type
|
CI (22.x):
src/polyfill.ts#L9
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (22.x):
test/SageHttpResponse.spec.ts#L10
Unexpected any. Specify a different type
|
CI (22.x):
test/SageHttpResponse.spec.ts#L22
Unexpected any. Specify a different type
|
CI (22.x):
test/SageHttpResponse.spec.ts#L34
Unexpected any. Specify a different type
|
CI (22.x):
test/SageHttpResponse.spec.ts#L46
Unexpected any. Specify a different type
|
CI (22.x):
test/setup.ts#L10
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
CI (22.x):
test/utils.ts#L14
Using exported name 'fastifyCookie' as identifier for default export
|
CI (22.x):
test/utils.ts#L67
'next' is defined but never used
|