fix(upload-client/group): use body to send query parameters #542
Annotations
3 errors and 1 warning
API - group › should fail with [HTTP 400] No files[N] parameters found.:
src/request/request.node.ts#L141
expect(received).rejects.toThrowError(expected)
Expected substring: "No files[N] parameters found."
Received message: "The \"chunk\" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of FormData"
139 | }
140 | } else {
> 141 | req.end(data)
| ^
142 | }
143 | })
144 | )
at src/request/request.node.ts:141:17
at src/request/request.node.ts:81:9
at Object.<anonymous> (test/api/group.test.ts:26:5)
at Object.toThrowError (../../node_modules/expect/build/index.js:210:22)
at Object.<anonymous> (test/api/group.test.ts:26:47)
|
API - group › should be rejected with error code if failed:
packages/upload-client/test/api/group.test.ts#L72
expect(received).toEqual(expected) // deep equality
Expected: "pub_key is invalid."
Received: "The \"chunk\" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of FormData"
at Object.<anonymous> (test/api/group.test.ts:72:46)
|
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|