From 40128e38a3c21b367d617b02cc801ab71f1baa93 Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 11 Oct 2024 11:12:52 -0400 Subject: [PATCH] disable auto switch for monero connection test --- src/HavenoClient.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 83f828d1..9d825862 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -732,6 +732,10 @@ test("Can manage Monero daemon connections (CI)", async () => { // start user3 user3 = await initHaveno(); + // disable auto switch for tests + assert.equal(true, await user3.getAutoSwitch()); + await user3.setAutoSwitch(false); + // test default connections const monerodUrl1 = "http://127.0.0.1:" + getNetworkStartPort() + "8081"; // TODO: (woodser): move to config let connections: UrlConnection[] = await user3.getMoneroConnections();