[add] 整理警告

This commit is contained in:
2022-04-29 15:12:51 +08:00
parent d797a2a41a
commit 3d331ee10d
10 changed files with 60 additions and 42 deletions

View File

@@ -17,14 +17,14 @@ describe("ApiSend", function (): void {
});
it("Success", async function (): Promise<void> {
let ret: any = await client.callApi("Send", {
let ret: any = await client.callApi("Join", {
content: "Test"
});
assert.ok(ret.isSucc)
assert.ok(ret.isSucc);
});
it("Check content is empty", async function (): Promise<void> {
let ret: any = await client.callApi("Send", {
let ret: any = await client.callApi("Join", {
content: ""
});
assert.deepStrictEqual(ret, {
@@ -33,7 +33,7 @@ describe("ApiSend", function (): void {
});
});
after(async function () {
after(async function (): Promise<void> {
await client.disconnect();
});
});