From 9d68107722f45290f64dcae2f16c243524591ffe Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Sun, 14 May 2023 18:23:52 +0200 Subject: [PATCH] Add test case for named servers Adapt all tests --- .../ServerDashboard/ServerDashboard.jsx | 6 +- .../ServerDashboard/ServerDashboard.test.js | 107 ++++++++++++------ 2 files changed, 79 insertions(+), 34 deletions(-) diff --git a/jsx/src/components/ServerDashboard/ServerDashboard.jsx b/jsx/src/components/ServerDashboard/ServerDashboard.jsx index 616f5a68..260ddb7f 100644 --- a/jsx/src/components/ServerDashboard/ServerDashboard.jsx +++ b/jsx/src/components/ServerDashboard/ServerDashboard.jsx @@ -323,7 +323,11 @@ const ServerDashboard = (props) => { const userServerName = user.name + serverNameDash; const open = collapseStates[userServerName] || false; return [ - +