From fec05858885937323b50b43fe166faba5346c94e Mon Sep 17 00:00:00 2001
From: Will Hunt <will@half-shot.uk>
Date: Mon, 29 Apr 2019 17:54:16 +0100
Subject: [PATCH] That didn't work as well as I hoped it might :(

---
 test/test_discordbot.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/test_discordbot.ts b/test/test_discordbot.ts
index 4730603..c50c76f 100644
--- a/test/test_discordbot.ts
+++ b/test/test_discordbot.ts
@@ -65,7 +65,8 @@ const modDiscordBot = Proxyquire("../src/bot", {
     "./clientfactory": require("./mocks/discordclientfactory"),
     "./util": {
         Util: {
-            ...Util,
+            AsyncForEach: Util.AsyncForEach,
+            DelayedPromise: Util.DelayedPromise,
             UploadContentFromUrl: async () => {
                 return {mxcUrl: "uploaded"};
             },
-- 
GitLab