Add customizability to weapon widget

This commit is contained in:
Kalle
2026-09-08 20:37:36 +03:00
parent ac9eb3723b
commit ac8ef0630d
33 changed files with 172 additions and 9 deletions

View File

@@ -54,7 +54,9 @@ describe("PlusVotingRepository.findAllUsersForVoting", () => {
});
test("returns no bio for a user without a bio widget", async () => {
const bio = await bioOf([{ id: "weapon-pool" }]);
const bio = await bioOf([
{ id: "weapon-pool", settings: { weaponPool: [] } },
]);
expect(bio).toBeNull();
});