Skip to content

Commit

Permalink
Updated the mock request builder from latest template
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Fernando Planella Gonzalez committed Oct 14, 2021
1 parent b8c0919 commit c988ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mock/request-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class RequestBuilder {
}
if (this._bodyContentType === 'application/x-www-form-urlencoded' && value !== null && typeof value === 'object') {
// Handle URL-encoded data
const pairs: string[][] = [];
const pairs: Array<[string, string]> = [];
for (const key of Object.keys(value)) {
let val = value[key];
if (!(val instanceof Array)) {
Expand Down

0 comments on commit c988ff2

Please sign in to comment.