Skip to content

Commit

Permalink
rm extra await in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jehy committed Jun 23, 2022
1 parent 8b14f70 commit 785f898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/telegraf.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Telegram bot test', () => {
const res = await client.sendCommand(command);
assert.equal(res.ok, true);
const updates = await client.getUpdates();
await bot.stop();
bot.stop();
await server.stop();
assert.equal(updates.ok, true);
assert.equal(
Expand All @@ -28,7 +28,7 @@ describe('Telegram bot test', () => {
const res = await client.sendCallback(cb);
assert.equal(res.ok, true);
const updates = await client.getUpdates();
await bot.stop();
bot.stop();
await server.stop();
assert.equal(updates.ok, true);
assert.equal(
Expand Down

0 comments on commit 785f898

Please sign in to comment.