No need to pass undefined
This commit is contained in:
parent
4bdcafad4b
commit
2e6b909173
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ export function tests() {
|
||||||
homeserver: "https://hs.tld",
|
homeserver: "https://hs.tld",
|
||||||
});
|
});
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const result = await hsApi._get("foo", undefined, undefined, undefined).response();
|
const result = await hsApi._get("foo").response();
|
||||||
assert.strictEqual(result, 42);
|
assert.strictEqual(result, 42);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue