@@ -364,10 +364,13 @@ describe("RadialMenuElements", () => {
364364 mockPlayerActions . interaction = {
365365 ...mockPlayerActions . interaction ,
366366 canBreakAlliance : true ,
367- inAllianceExtensionWindow : true ,
368367 canExtendAlliance : false ,
369- myPlayerAgreedToExtend : true ,
370- otherPlayerAgreedToExtend : false ,
368+ allianceInfo : {
369+ expiresAt : 100 ,
370+ inExtensionWindow : true ,
371+ myPlayerAgreedToExtend : true ,
372+ otherAgreedToExtend : false ,
373+ } ,
371374 } ;
372375
373376 const subMenu = rootMenuElement . subMenu ! ( mockParams ) ;
@@ -387,8 +390,13 @@ describe("RadialMenuElements", () => {
387390 mockPlayerActions . interaction = {
388391 ...mockPlayerActions . interaction ,
389392 canBreakAlliance : true ,
390- inAllianceExtensionWindow : false ,
391393 canExtendAlliance : false ,
394+ allianceInfo : {
395+ expiresAt : 100 ,
396+ inExtensionWindow : false ,
397+ myPlayerAgreedToExtend : false ,
398+ otherAgreedToExtend : false ,
399+ } ,
392400 } ;
393401
394402 const subMenu = rootMenuElement . subMenu ! ( mockParams ) ;
@@ -408,10 +416,13 @@ describe("RadialMenuElements", () => {
408416 mockPlayerActions . interaction = {
409417 ...mockPlayerActions . interaction ,
410418 canBreakAlliance : true ,
411- inAllianceExtensionWindow : true ,
412419 canExtendAlliance : false ,
413- myPlayerAgreedToExtend : true ,
414- otherPlayerAgreedToExtend : false ,
420+ allianceInfo : {
421+ expiresAt : 100 ,
422+ inExtensionWindow : true ,
423+ myPlayerAgreedToExtend : true ,
424+ otherAgreedToExtend : false ,
425+ } ,
415426 } ;
416427
417428 const subMenu = rootMenuElement . subMenu ! ( mockParams ) ;
@@ -432,10 +443,13 @@ describe("RadialMenuElements", () => {
432443 mockPlayerActions . interaction = {
433444 ...mockPlayerActions . interaction ,
434445 canBreakAlliance : true ,
435- inAllianceExtensionWindow : true ,
436446 canExtendAlliance : true ,
437- myPlayerAgreedToExtend : false ,
438- otherPlayerAgreedToExtend : false ,
447+ allianceInfo : {
448+ expiresAt : 100 ,
449+ inExtensionWindow : true ,
450+ myPlayerAgreedToExtend : false ,
451+ otherAgreedToExtend : false ,
452+ } ,
439453 } ;
440454
441455 const subMenu = rootMenuElement . subMenu ! ( mockParams ) ;
0 commit comments