@@ -120,7 +120,6 @@ test("Set custom network config", async () => {
120120 const minInitiateIntervalMs = 20_000 ;
121121 const initiateJitterMs = 5_000 ;
122122 const roundTimeoutMs = 20_000 ;
123- const transportTimeoutS = 1_000 ;
124123 const targetArcFactor = 0 ;
125124
126125 const alice = await scenario . addPlayerWithApp ( {
@@ -134,7 +133,6 @@ test("Set custom network config", async () => {
134133 minInitiateIntervalMs,
135134 initiateJitterMs,
136135 roundTimeoutMs,
137- transportTimeoutS,
138136 targetArcFactor,
139137 } ,
140138 } ,
@@ -158,15 +156,15 @@ test("Set custom network config", async () => {
158156 assert . strictEqual ( network . target_arc_factor , targetArcFactor ) ;
159157
160158 assert . ok (
161- advanced && typeof advanced === "object" && "tx5Transport " in advanced ,
159+ advanced && typeof advanced === "object" && "irohTransport " in advanced ,
162160 ) ;
163- const { tx5Transport } = advanced ;
161+ const { irohTransport } = advanced ;
164162 assert . ok (
165- tx5Transport &&
166- typeof tx5Transport === "object" &&
167- "timeoutS " in tx5Transport ,
163+ irohTransport &&
164+ typeof irohTransport === "object" &&
165+ "relayAllowPlainText " in irohTransport ,
168166 ) ;
169- assert . strictEqual ( tx5Transport . timeoutS , transportTimeoutS ) ;
167+ assert . strictEqual ( irohTransport . relayAllowPlainText , true ) ;
170168
171169 assert . ok ( advanced && typeof advanced === "object" && "k2Gossip" in advanced ) ;
172170 const { k2Gossip } = advanced ;
@@ -192,7 +190,6 @@ test("Default network config", async () => {
192190 const minInitiateIntervalMs = 3_000 ;
193191 const initiateJitterMs = 1_000 ;
194192 const roundTimeoutMs = 5_000 ;
195- const transportTimeoutS = 15 ;
196193 const targetArcFactor = 1 ;
197194
198195 const alice = await scenario . addPlayerWithApp ( {
@@ -220,15 +217,15 @@ test("Default network config", async () => {
220217 assert . strictEqual ( network . target_arc_factor , targetArcFactor ) ;
221218
222219 assert . ok (
223- advanced && typeof advanced === "object" && "tx5Transport " in advanced ,
220+ advanced && typeof advanced === "object" && "irohTransport " in advanced ,
224221 ) ;
225- const { tx5Transport } = advanced ;
222+ const { irohTransport } = advanced ;
226223 assert . ok (
227- tx5Transport &&
228- typeof tx5Transport === "object" &&
229- "timeoutS " in tx5Transport ,
224+ irohTransport &&
225+ typeof irohTransport === "object" &&
226+ "relayAllowPlainText " in irohTransport ,
230227 ) ;
231- assert . strictEqual ( tx5Transport . timeoutS , transportTimeoutS ) ;
228+ assert . strictEqual ( irohTransport . relayAllowPlainText , true ) ;
232229
233230 assert . ok ( advanced && typeof advanced === "object" && "k2Gossip" in advanced ) ;
234231 const { k2Gossip } = advanced ;
0 commit comments