Test Coverage
Added test coverage for all of the QueryBuilder methods which are the foundation to all of the other classes methods like Card.
This commit is contained in:
@ -45,7 +45,7 @@ export class Client {
|
||||
private static paramsToQuery(params?: IQuery[]): string {
|
||||
let query: string = '';
|
||||
|
||||
if (params !== null) {
|
||||
if (params) {
|
||||
params.map((q: IQuery) => {
|
||||
query += `${q.name}=${encodeURI(q.value.toString())}`.concat('&');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user