mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 13:30:43 +00:00
fixed
This commit is contained in:
@@ -52,6 +52,7 @@ describe("PlayerInfo", () => {
|
||||
|
||||
test("should extract clan from name when format is [xxxxx]Name", () => {
|
||||
const playerInfo = new PlayerInfo(
|
||||
undefined,
|
||||
"fr",
|
||||
"[abcde]PlayerName",
|
||||
PlayerType.Human,
|
||||
@@ -63,6 +64,7 @@ describe("PlayerInfo", () => {
|
||||
|
||||
test("should extract clan from name when format is [XxXxX]Name", () => {
|
||||
const playerInfo = new PlayerInfo(
|
||||
undefined,
|
||||
"fr",
|
||||
"[AbCdE]PlayerName",
|
||||
PlayerType.Human,
|
||||
|
||||
@@ -20,6 +20,7 @@ describe("Stats", () => {
|
||||
stats = new StatsImpl();
|
||||
game = await setup("half_land_half_ocean", {}, [
|
||||
new PlayerInfo(
|
||||
undefined,
|
||||
"us",
|
||||
"boat dude",
|
||||
PlayerType.Human,
|
||||
@@ -27,6 +28,7 @@ describe("Stats", () => {
|
||||
"player_1_id",
|
||||
),
|
||||
new PlayerInfo(
|
||||
undefined,
|
||||
"us",
|
||||
"boat dude",
|
||||
PlayerType.Human,
|
||||
|
||||
Reference in New Issue
Block a user