Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Fix DiscordTextChannel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhawk committed Jun 6, 2020
1 parent f713714 commit f8efea2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/discord/DiscordTextChannelTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,8 @@ describe("The class DiscordTextChannel", function() {
"some": "option"
};
let messagesReturned = {
cache: {
array: function() {
return [{}, {}];
}
array: function() {
return [{}, {}];
}
};
let awaitMessagesStub = sinon.stub(this.channel, "awaitMessages").returns(Promise.resolve(messagesReturned));
Expand Down

0 comments on commit f8efea2

Please sign in to comment.