mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 07:47:50 +01:00
join purposefully as spectator, various improvements
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
@@ -163,7 +163,8 @@ export const mockGames = {
|
||||
paused: true,
|
||||
timeRemaining: 120000
|
||||
},
|
||||
isFull: true
|
||||
isFull: true,
|
||||
spectators: []
|
||||
},
|
||||
moderatorGame:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user