No need to pass undefined

This commit is contained in:
RMidhunSuresh 2021-11-24 12:59:10 +05:30
parent 4bdcafad4b
commit 2e6b909173

View file

@ -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);
} }
} }