mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:40:46 +00:00
Fix tests
This commit is contained in:
@@ -172,7 +172,7 @@ describe("assignTeams", () => {
|
||||
describe("computeClanTeamName", () => {
|
||||
const human = (id: string, clan?: string): PlayerInfo => {
|
||||
const name = clan ? `[${clan}]Player${id}` : `Player${id}`;
|
||||
return new PlayerInfo(name, PlayerType.Human, null, id);
|
||||
return new PlayerInfo(name, PlayerType.Human, null, id, false, clan ?? null);
|
||||
};
|
||||
|
||||
const bot = (id: string): PlayerInfo =>
|
||||
|
||||
Reference in New Issue
Block a user