gemercheung před 3 roky
rodič
revize
18236607b1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/main/command/test.mjs

+ 1 - 1
packages/main/command/test.mjs

@@ -29,7 +29,7 @@ let agentId = 0;
 
 const createAgent = () => {
   agentId += 1;
-  const nickName = `test_name_${agentId}`;
+  const nickName = `test_name_${userStartId}${agentId}`;
   const userId = `${userStartId}${agentId}`;
   const role = agentId === 1 ? "leader" : "customer";
   createClient({ userId, nickName, from: "0", role: role });