Skip to content

Commit

Permalink
added testing for new function
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hanneforth committed Jun 21, 2021
1 parent e66d0e6 commit 8b420d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions __tests__/notification.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ describe("testing notifications", () => {
await bot.directMessageUser(testingUsername, testingMessage);
});

test(`it should get all direct messages from ${testingUsername}`, async () => {
await bot.getChannelMessages(testingUsername);
});

test("it should logout", async () => {
await bot.logout();
});
Expand Down

0 comments on commit 8b420d8

Please sign in to comment.