feat : update

This commit is contained in:
2026-09-03 23:24:51 +07:00 Unverified
parent 0b16f5aa84
commit e72897e55b
10 changed files with 481 additions and 30 deletions
+8
View File
@@ -14,4 +14,12 @@ describe("guide validation messages", () => {
"Team 2: Team ต้องมีตัวละครไม่ซ้ำกัน 4 ตัว",
]);
});
it("uses the authored team name when one is available", () => {
expect(formatGuideValidationIssues(
"team",
[{ path: ["teams", 1, "combo"], message: "Invalid input" }],
{ teamNames: ["First team", "Hypercarry"] },
)).toEqual(["Hypercarry: กรุณากรอก Combo"]);
});
});