From 9a8b93e4b0b0b638c0a41772f23722f7fac976bd Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 15 Apr 2023 16:12:20 -0400 Subject: [PATCH] add logging --- src/HavenoClient.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index bace6ec5..241c57c6 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -475,10 +475,12 @@ test("Can manage an account (CI)", async () => { stream.end(); assert(size > 0); - // delete account + // delete account and wait until connected await user3.deleteAccount(); + HavenoUtils.log(1, "Waiting to be connected to havenod after deleting account"); // TODO: build this into deleteAccount do { await wait(1000); } while(!await user3.isConnectedToDaemon()); + HavenoUtils.log(1, "Reconnecting to havenod"); assert(!await user3.accountExists()); // restore account