join purposefully as spectator, various improvements

This commit is contained in:
AlecM33
2022-12-29 15:38:40 -05:00
parent 63b1157c7d
commit e0dffe17b6
22 changed files with 221 additions and 120 deletions

View File

@@ -199,7 +199,7 @@ describe('game page', () => {
it('should display the mod transfer modal, with the single spectator available for selection', () => {
document.getElementById('mod-transfer-button').click();
expect(document.querySelector('div[data-pointer="MGGVR8KQ7V7HGN3QBLJ5339ZL"].potential-moderator')
.innerText).toEqual('Matt');
.innerText).toContain('Matt');
document.getElementById('close-mod-transfer-modal-button').click();
});

View File

@@ -163,7 +163,8 @@ export const mockGames = {
paused: true,
timeRemaining: 120000
},
isFull: true
isFull: true,
spectators: []
},
moderatorGame:
{