diff --git a/src/modules/game/constants/game-options/game-options.constant.ts b/src/modules/game/constants/game-options/game-options.constant.ts index e064bfe04..2f6ac47d9 100644 --- a/src/modules/game/constants/game-options/game-options.constant.ts +++ b/src/modules/game/constants/game-options/game-options.constant.ts @@ -16,6 +16,7 @@ const DEFAULT_GAME_OPTIONS: ReadonlyDeep = { phase: GamePhases.NIGHT, }, hasDoubledVote: true, + mustSettleTieInVotes: true, }, bigBadWolf: { isPowerlessIfWerewolfDies: true }, whiteWerewolf: { wakingUpInterval: 2 }, diff --git a/src/modules/game/dto/create-game/create-game-options/create-roles-game-options/create-sheriff-game-options/create-sheriff-game-options.dto.ts b/src/modules/game/dto/create-game/create-game-options/create-roles-game-options/create-sheriff-game-options/create-sheriff-game-options.dto.ts index 2446c52c6..be240d81f 100644 --- a/src/modules/game/dto/create-game/create-game-options/create-roles-game-options/create-sheriff-game-options/create-sheriff-game-options.dto.ts +++ b/src/modules/game/dto/create-game/create-game-options/create-roles-game-options/create-sheriff-game-options/create-sheriff-game-options.dto.ts @@ -31,6 +31,14 @@ class CreateSheriffGameOptionsDto { @IsOptional() @IsBoolean() public hasDoubledVote: boolean = SHERIFF_GAME_OPTIONS_FIELDS_SPECS.hasDoubledVote.default; + + @ApiProperty({ + ...SHERIFF_GAME_OPTIONS_API_PROPERTIES.mustSettleTieInVotes, + required: false, + } as ApiPropertyOptions) + @IsOptional() + @IsBoolean() + public mustSettleTieInVotes: boolean = SHERIFF_GAME_OPTIONS_FIELDS_SPECS.mustSettleTieInVotes.default; } export { CreateSheriffGameOptionsDto }; \ No newline at end of file diff --git a/src/modules/game/providers/services/game-play/game-play-maker.service.ts b/src/modules/game/providers/services/game-play/game-play-maker.service.ts index 54c6387b2..fd7d2ea3c 100644 --- a/src/modules/game/providers/services/game-play/game-play-maker.service.ts +++ b/src/modules/game/providers/services/game-play/game-play-maker.service.ts @@ -6,7 +6,7 @@ import type { MakeGamePlayWithRelationsDto } from "@/modules/game/dto/make-game- import { GamePlayActions, GamePlayCauses, WitchPotions } from "@/modules/game/enums/game-play.enum"; import { PlayerAttributeNames, PlayerGroups } from "@/modules/game/enums/player.enum"; import { createGamePlaySurvivorsVote, createGamePlaySheriffSettlesVotes, createGamePlaySurvivorsElectSheriff } from "@/modules/game/helpers/game-play/game-play.factory"; -import { createGame } from "@/modules/game/helpers/game.factory"; +import { createGame, createGameWithCurrentGamePlay } from "@/modules/game/helpers/game.factory"; import { getFoxSniffedPlayers, getPlayerWithActiveAttributeName, getPlayerWithCurrentRole } from "@/modules/game/helpers/game.helper"; import { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from "@/modules/game/helpers/game.mutator"; import { createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createInLoveByCupidPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByDefenderPlayerAttribute, createScandalmongerMarkByScandalmongerPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffBySurvivorsPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute, createPowerlessByAccursedWolfFatherPlayerAttribute } from "@/modules/game/helpers/player/player-attribute/player-attribute.factory"; @@ -100,14 +100,15 @@ export class GamePlayMakerService { } private async handleTieInVotes(game: GameWithCurrentPlay): Promise { - const clonedGame = createGame(game) as GameWithCurrentPlay; + const clonedGame = createGameWithCurrentGamePlay(game); + const { mustSettleTieInVotes: mustSheriffSettleTieInVotes } = clonedGame.options.roles.sheriff; const scapegoatPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.SCAPEGOAT); if (scapegoatPlayer && isPlayerAliveAndPowerful(scapegoatPlayer, game)) { const playerVoteScapegoatedBySurvivorsDeath = createPlayerVoteScapegoatedBySurvivorsDeath(); return this.playerKillerService.killOrRevealPlayer(scapegoatPlayer._id, clonedGame, playerVoteScapegoatedBySurvivorsDeath); } const sheriffPlayer = getPlayerWithActiveAttributeName(clonedGame, PlayerAttributeNames.SHERIFF); - if (sheriffPlayer?.isAlive === true) { + if (sheriffPlayer?.isAlive === true && mustSheriffSettleTieInVotes) { const gamePlaySheriffSettlesVotes = createGamePlaySheriffSettlesVotes(); return prependUpcomingPlayInGame(gamePlaySheriffSettlesVotes, clonedGame); } diff --git a/src/modules/game/schemas/game-options/roles-game-options/sheriff-game-options/sheriff-game-options.schema.constant.ts b/src/modules/game/schemas/game-options/roles-game-options/sheriff-game-options/sheriff-game-options.schema.constant.ts index 738cf62fc..96f05fd6a 100644 --- a/src/modules/game/schemas/game-options/roles-game-options/sheriff-game-options/sheriff-game-options.schema.constant.ts +++ b/src/modules/game/schemas/game-options/roles-game-options/sheriff-game-options/sheriff-game-options.schema.constant.ts @@ -22,6 +22,10 @@ const SHERIFF_GAME_OPTIONS_FIELDS_SPECS = { required: true, default: DEFAULT_GAME_OPTIONS.roles.sheriff.hasDoubledVote, }, + mustSettleTieInVotes: { + required: true, + default: DEFAULT_GAME_OPTIONS.roles.sheriff.mustSettleTieInVotes, + }, } as const satisfies Record; const SHERIFF_GAME_OPTIONS_API_PROPERTIES: ReadonlyDeep> = { @@ -37,6 +41,10 @@ const SHERIFF_GAME_OPTIONS_API_PROPERTIES: ReadonlyDeep { phase: GamePhases.DAY, }, hasDoubledVote: false, + mustSettleTieInVotes: false, }, bigBadWolf: { isPowerlessIfWerewolfDies: false }, whiteWerewolf: { wakingUpInterval: 5 }, diff --git a/tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory.ts b/tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory.ts index 6a728c687..ed1f0f981 100644 --- a/tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory.ts +++ b/tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory.ts @@ -213,6 +213,7 @@ function createFakeCreateSheriffGameOptionsDto(sheriffGameOptions: Partial (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:59:44)", - "status": "Killed", - "testsCompleted": 21, + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(14,43): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1233" - ], + "killedBy": [], "coveredBy": [ "578", "579", + "580", "612", "613", "614", + "615", "616", "617", "618", @@ -1860,80 +1859,99 @@ "622", "623", "624", + "625", "626", "627", "628", "629", + "630", "1232", - "1233" + "1233", + "1234" ], "location": { "end": { - "column": 69, - "line": 17 + "column": 4, + "line": 22 }, "start": { - "column": 52, - "line": 17 + "column": 57, + "line": 14 } } }, { - "id": "73", - "mutatorName": "BlockStatement", + "id": "69", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(19,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"d9e8b9fe15bbbc138583455c\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:59:44)", + "status": "Killed", + "testsCompleted": 21, "static": false, - "killedBy": [], + "killedBy": [ + "1234" + ], "coveredBy": [ - "578", - "612", - "616", + "579", + "580", + "613", + "614", + "615", "617", + "618", + "619", + "620", + "621", "622", + "623", "624", - "626", - "1232" + "625", + "627", + "628", + "629", + "630", + "1233", + "1234" ], "location": { "end": { - "column": 6, - "line": 20 + "column": 69, + "line": 17 }, "start": { - "column": 24, - "line": 18 + "column": 52, + "line": 17 } } }, { - "id": "70", + "id": "71", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(21,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "578", "579", - "612", + "580", "613", "614", - "616", + "615", "617", "618", "619", "620", "621", "622", + "623", "624", - "626", + "625", "627", "628", "629", - "1232", - "1233" + "630", + "1233", + "1234" ], "location": { "end": { @@ -1947,22 +1965,18 @@ } }, { - "id": "68", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(14,43): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "70", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(21,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "577", - "578", "579", - "611", - "612", + "580", "613", "614", "615", - "616", "617", "618", "619", @@ -1972,52 +1986,52 @@ "623", "624", "625", - "626", "627", "628", "629", - "1231", - "1232", - "1233" + "630", + "1233", + "1234" ], "location": { "end": { - "column": 4, - "line": 22 + "column": 22, + "line": 18 }, "start": { - "column": 57, - "line": 14 + "column": 9, + "line": 18 } } }, { - "id": "71", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(21,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "id": "72", + "mutatorName": "EqualityOperator", + "replacement": "game !== null", + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(21,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "578", "579", - "612", + "580", "613", "614", - "616", + "615", "617", "618", "619", "620", "621", "622", + "623", "624", - "626", + "625", "627", "628", "629", - "1232", - "1233" + "630", + "1233", + "1234" ], "location": { "end": { @@ -2031,40 +2045,30 @@ } }, { - "id": "72", - "mutatorName": "EqualityOperator", - "replacement": "game !== null", - "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(21,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", + "id": "73", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/controllers/pipes/get-game-by-id.pipe.ts(19,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "578", "579", - "612", "613", - "614", - "616", "617", "618", - "619", - "620", - "621", - "622", + "623", "624", - "626", + "625", "627", - "628", - "629", - "1232", "1233" ], "location": { "end": { - "column": 22, - "line": 18 + "column": 6, + "line": 20 }, "start": { - "column": 9, + "column": 24, "line": 18 } } @@ -2084,10 +2088,9 @@ "testsCompleted": 26, "static": false, "killedBy": [ - "1258" + "1259" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2118,9 +2121,10 @@ "608", "609", "610", - "1257", + "611", "1258", - "1259" + "1259", + "1260" ], "location": { "end": { @@ -2142,10 +2146,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2176,9 +2179,10 @@ "608", "609", "610", - "1257", + "611", "1258", - "1259" + "1259", + "1260" ], "location": { "end": { @@ -2200,10 +2204,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2216,15 +2219,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1257" + "609", + "611", + "1258" ], "location": { "end": { @@ -2246,10 +2250,9 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2262,15 +2265,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1257" + "609", + "611", + "1258" ], "location": { "end": { @@ -2283,6 +2287,166 @@ } } }, + { + "id": "80", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-roles.decorator.ts(13,102): error TS2345: Argument of type 'RoleNames' is not assignable to parameter of type 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1259", + "1260" + ], + "location": { + "end": { + "column": 109, + "line": 12 + }, + "start": { + "column": 91, + "line": 12 + } + } + }, + { + "id": "81", + "mutatorName": "MethodExpression", + "replacement": "thiefAdditionalCards.some(({\n roleName\n}) => eligibleThiefAdditionalCardsRoleNames.includes(roleName))", + "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"additionalCards.roleName must be one of the following values: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]\"\nReceived array: [\"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:675:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 12, + "static": false, + "killedBy": [ + "597" + ], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1259", + "1260" + ], + "location": { + "end": { + "column": 112, + "line": 13 + }, + "start": { + "column": 10, + "line": 13 + } + } + }, + { + "id": "82", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:882:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 12, + "static": false, + "killedBy": [ + "610" + ], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1259", + "1260" + ], + "location": { + "end": { + "column": 111, + "line": 13 + }, + "start": { + "column": 37, + "line": 13 + } + } + }, + { + "id": "83", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-roles.decorator.ts(16,59): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "597", + "598", + "599", + "600", + "1261" + ], + "location": { + "end": { + "column": 2, + "line": 18 + }, + "start": { + "column": 66, + "line": 16 + } + } + }, + { + "id": "84", + "mutatorName": "StringLiteral", + "replacement": "``", + "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"additionalCards.roleName must be one of the following values: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]\"\nReceived array: [\"\", \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:675:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "597" + ], + "coveredBy": [ + "597", + "598", + "599", + "600", + "1261" + ], + "location": { + "end": { + "column": 125, + "line": 17 + }, + "start": { + "column": 10, + "line": 17 + } + } + }, { "id": "85", "mutatorName": "BlockStatement", @@ -2386,7 +2550,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -2417,9 +2580,10 @@ "608", "609", "610", - "1257", + "611", "1258", - "1259" + "1259", + "1260" ], "location": { "end": { @@ -2432,63 +2596,6 @@ } } }, - { - "id": "83", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-roles.decorator.ts(16,59): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "596", - "597", - "598", - "599", - "1260" - ], - "location": { - "end": { - "column": 2, - "line": 18 - }, - "start": { - "column": 66, - "line": 16 - } - } - }, - { - "id": "80", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-roles.decorator.ts(13,102): error TS2345: Argument of type 'RoleNames' is not assignable to parameter of type 'undefined'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1258", - "1259" - ], - "location": { - "end": { - "column": 109, - "line": 12 - }, - "start": { - "column": 91, - "line": 12 - } - } - }, { "id": "77", "mutatorName": "EqualityOperator", @@ -2497,7 +2604,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -2528,9 +2634,10 @@ "608", "609", "610", - "1257", + "611", "1258", - "1259" + "1259", + "1260" ], "location": { "end": { @@ -2542,107 +2649,6 @@ "line": 8 } } - }, - { - "id": "81", - "mutatorName": "MethodExpression", - "replacement": "thiefAdditionalCards.some(({\n roleName\n}) => eligibleThiefAdditionalCardsRoleNames.includes(roleName))", - "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"additionalCards.roleName must be one of the following values: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]\"\nReceived array: [\"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:675:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "static": false, - "testsCompleted": 12, - "killedBy": [ - "596" - ], - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1258", - "1259" - ], - "location": { - "end": { - "column": 112, - "line": 13 - }, - "start": { - "column": 10, - "line": 13 - } - } - }, - { - "id": "82", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:882:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "static": false, - "testsCompleted": 12, - "killedBy": [ - "609" - ], - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1258", - "1259" - ], - "location": { - "end": { - "column": 111, - "line": 13 - }, - "start": { - "column": 37, - "line": 13 - } - } - }, - { - "id": "84", - "mutatorName": "StringLiteral", - "replacement": "``", - "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"additionalCards.roleName must be one of the following values: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]\"\nReceived array: [\"\", \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:675:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "static": false, - "testsCompleted": 5, - "killedBy": [ - "596" - ], - "coveredBy": [ - "596", - "597", - "598", - "599", - "1260" - ], - "location": { - "end": { - "column": 125, - "line": 17 - }, - "start": { - "column": 10, - "line": 17 - } - } } ], "source": "import { registerDecorator } from \"class-validator\";\nimport type { ValidationOptions } from \"class-validator\";\n\nimport { ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES } from \"@/modules/role/constants/role.constant\";\nimport type { CreateGameAdditionalCardDto } from \"@/modules/game/dto/create-game/create-game-additional-card/create-game-additional-card.dto\";\n\nfunction areAdditionalCardsForThiefRolesRespected(value: unknown): boolean {\n if (value === undefined) {\n return true;\n }\n const thiefAdditionalCards = value as CreateGameAdditionalCardDto[];\n const eligibleThiefAdditionalCardsRoleNames = ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.map(({ name }) => name);\n return thiefAdditionalCards.every(({ roleName }) => eligibleThiefAdditionalCardsRoleNames.includes(roleName));\n}\n\nfunction getAdditionalCardsForThiefRolesDefaultMessage(): string {\n return `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`;\n}\n\nfunction AdditionalCardsForThiefRoles(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"AdditionalCardsForThiefRoles\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: areAdditionalCardsForThiefRolesRespected,\n defaultMessage: getAdditionalCardsForThiefRolesDefaultMessage,\n },\n });\n };\n}\n\nexport {\n AdditionalCardsForThiefRoles,\n getAdditionalCardsForThiefRolesDefaultMessage,\n areAdditionalCardsForThiefRolesRespected,\n};" @@ -2659,10 +2665,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2693,10 +2698,11 @@ "608", "609", "610", - "1190", + "611", "1191", "1192", - "1193" + "1193", + "1194" ], "location": { "end": { @@ -2718,10 +2724,9 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2734,15 +2739,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1190" + "609", + "611", + "1191" ], "location": { "end": { @@ -2764,10 +2770,9 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -2780,15 +2785,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1190" + "609", + "611", + "1191" ], "location": { "end": { @@ -2801,6 +2807,108 @@ } } }, + { + "id": "96", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18047: 'value' is possibly 'null'.\nsrc/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type '{}'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1192", + "1193", + "1194" + ], + "location": { + "end": { + "column": 28, + "line": 11 + }, + "start": { + "column": 7, + "line": 11 + } + } + }, + { + "id": "97", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18046: 'value' is of type 'unknown'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1192", + "1193", + "1194" + ], + "location": { + "end": { + "column": 28, + "line": 11 + }, + "start": { + "column": 7, + "line": 11 + } + } + }, + { + "id": "98", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18047: 'value' is possibly 'null'.\nsrc/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type '{}'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1192", + "1193", + "1194" + ], + "location": { + "end": { + "column": 28, + "line": 11 + }, + "start": { + "column": 7, + "line": 11 + } + } + }, { "id": "99", "mutatorName": "BlockStatement", @@ -2810,7 +2918,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1191" + "1192" ], "location": { "end": { @@ -2832,10 +2940,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1191" + "1192" ], "coveredBy": [ - "1191" + "1192" ], "location": { "end": { @@ -2857,10 +2965,9 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "594" + "595" ], "coveredBy": [ - "593", "594", "595", "596", @@ -2869,9 +2976,10 @@ "599", "600", "601", - "609", - "1192", - "1193" + "602", + "610", + "1193", + "1194" ], "location": { "end": { @@ -2893,10 +3001,9 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -2905,9 +3012,10 @@ "599", "600", "601", - "609", - "1192", - "1193" + "602", + "610", + "1193", + "1194" ], "location": { "end": { @@ -2929,10 +3037,9 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "594" + "595" ], "coveredBy": [ - "593", "594", "595", "596", @@ -2941,9 +3048,10 @@ "599", "600", "601", - "609", - "1192", - "1193" + "602", + "610", + "1193", + "1194" ], "location": { "end": { @@ -2965,9 +3073,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "594", "595", - "1194" + "596", + "1195" ], "location": { "end": { @@ -2989,12 +3097,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "594" + "595" ], "coveredBy": [ - "594", "595", - "1194" + "596", + "1195" ], "location": { "end": { @@ -3103,14 +3211,13 @@ } }, { - "id": "90", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(6,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "93", + "mutatorName": "EqualityOperator", + "replacement": "value !== undefined", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type 'never'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -3141,19 +3248,20 @@ "608", "609", "610", - "1190", + "611", "1191", "1192", - "1193" + "1193", + "1194" ], "location": { "end": { - "column": 2, - "line": 15 + "column": 26, + "line": 8 }, "start": { - "column": 116, - "line": 6 + "column": 7, + "line": 8 } } }, @@ -3165,7 +3273,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -3196,10 +3303,11 @@ "608", "609", "610", - "1190", + "611", "1191", "1192", - "1193" + "1193", + "1194" ], "location": { "end": { @@ -3213,14 +3321,13 @@ } }, { - "id": "93", - "mutatorName": "EqualityOperator", - "replacement": "value !== undefined", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type 'never'.\n", + "id": "90", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(6,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -3251,118 +3358,20 @@ "608", "609", "610", - "1190", - "1191", - "1192", - "1193" - ], - "location": { - "end": { - "column": 26, - "line": 8 - }, - "start": { - "column": 7, - "line": 8 - } - } - }, - { - "id": "97", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18046: 'value' is of type 'unknown'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1191", - "1192", - "1193" - ], - "location": { - "end": { - "column": 28, - "line": 11 - }, - "start": { - "column": 7, - "line": 11 - } - } - }, - { - "id": "96", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18047: 'value' is possibly 'null'.\nsrc/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type '{}'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1191", - "1192", - "1193" - ], - "location": { - "end": { - "column": 28, - "line": 11 - }, - "start": { - "column": 7, - "line": 11 - } - } - }, - { - "id": "98", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,55): error TS18047: 'value' is possibly 'null'.\nsrc/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts(14,61): error TS2339: Property 'length' does not exist on type '{}'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", + "611", "1191", "1192", - "1193" + "1193", + "1194" ], "location": { "end": { - "column": 28, - "line": 11 + "column": 2, + "line": 15 }, "start": { - "column": 7, - "line": 11 + "column": 116, + "line": 6 } } } @@ -3381,10 +3390,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "580", "581", "582", "583", @@ -3415,11 +3423,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3441,10 +3450,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "580", "581", "582", "583", @@ -3475,11 +3483,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3501,10 +3510,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "580", "581", "582", "583", @@ -3535,11 +3543,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3561,10 +3570,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "580", "581", "582", "583", @@ -3595,11 +3603,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3621,10 +3630,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "581", "582", "583", "584", @@ -3654,11 +3662,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3680,10 +3689,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "581", "582", "583", "584", @@ -3713,11 +3721,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3739,10 +3748,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "581", "582", "583", "584", @@ -3772,11 +3780,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3798,10 +3807,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "581", "582", "583", "584", @@ -3831,11 +3839,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3857,10 +3866,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "580", "581", "582", "583", @@ -3891,11 +3899,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -3917,11 +3926,11 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "580", "581", + "582", "584", "585", "586", @@ -3930,19 +3939,20 @@ "589", "590", "591", - "593", - "598", + "592", + "594", "599", - "602", + "600", "603", "604", "605", "606", "607", "608", - "610", - "1085", - "1089" + "609", + "611", + "1086", + "1090" ], "location": { "end": { @@ -3964,11 +3974,11 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", + "582", "584", "585", "586", @@ -3977,19 +3987,20 @@ "589", "590", "591", - "593", - "598", + "592", + "594", "599", - "602", + "600", "603", "604", "605", "606", "607", "608", - "610", - "1085", - "1089" + "609", + "611", + "1086", + "1090" ], "location": { "end": { @@ -4011,11 +4022,11 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "580", "581", + "582", "584", "585", "586", @@ -4024,19 +4035,20 @@ "589", "590", "591", - "593", - "598", + "592", + "594", "599", - "602", + "600", "603", "604", "605", "606", "607", "608", - "610", - "1085", - "1089" + "609", + "611", + "1086", + "1090" ], "location": { "end": { @@ -4049,6 +4061,34 @@ } } }, + { + "id": "125", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.ts(13,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "583", + "593", + "594", + "599", + "600", + "1091", + "1092" + ], + "location": { + "end": { + "column": 2, + "line": 18 + }, + "start": { + "column": 101, + "line": 13 + } + } + }, { "id": "126", "mutatorName": "BooleanLiteral", @@ -4058,17 +4098,16 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1090" + "1091" ], "coveredBy": [ - "582", "583", - "592", "593", - "598", + "594", "599", - "1090", - "1091" + "600", + "1091", + "1092" ], "location": { "end": { @@ -4090,17 +4129,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "593" + "594" ], "coveredBy": [ - "582", "583", - "592", "593", - "598", + "594", "599", - "1090", - "1091" + "600", + "1091", + "1092" ], "location": { "end": { @@ -4122,17 +4160,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "582", "583", - "592", "593", - "598", + "594", "599", - "1090", - "1091" + "600", + "1091", + "1092" ], "location": { "end": { @@ -4154,13 +4191,12 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "582", "583", - "592", - "1090" + "593", + "1091" ], "location": { "end": { @@ -4182,13 +4218,12 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "592" + "593" ], "coveredBy": [ - "582", "583", - "592", - "1090" + "593", + "1091" ], "location": { "end": { @@ -4210,13 +4245,13 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1091" + "1092" ], "coveredBy": [ - "593", - "598", + "594", "599", - "1091" + "600", + "1092" ], "location": { "end": { @@ -4332,7 +4367,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -4363,11 +4397,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -4388,7 +4423,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -4419,11 +4453,12 @@ "608", "609", "610", - "1085", + "611", "1086", "1087", "1088", - "1089" + "1089", + "1090" ], "location": { "end": { @@ -4435,34 +4470,6 @@ "line": 9 } } - }, - { - "id": "125", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.ts(13,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "582", - "583", - "592", - "593", - "598", - "599", - "1090", - "1091" - ], - "location": { - "end": { - "column": 2, - "line": 18 - }, - "start": { - "column": 101, - "line": 13 - } - } } ], "source": "import { registerDecorator } from \"class-validator\";\nimport type { ValidationArguments, ValidationOptions } from \"class-validator\";\n\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nfunction isAdditionalCardsPresenceRespected(value: unknown, validationArguments: ValidationArguments): boolean {\n const { players } = validationArguments.object as Partial;\n const doSomePlayersNeedAdditionalCards = players?.some(player => player.role.name === RoleNames.THIEF) === true;\n return doSomePlayersNeedAdditionalCards ? Array.isArray(value) : value === undefined;\n}\n\nfunction getAdditionalCardsPresenceDefaultMessage(validationArguments: ValidationArguments): string {\n if (!Array.isArray(validationArguments.value)) {\n return \"additionalCards must be set if there is a player with role `thief`\";\n }\n return \"additionalCards can't be set if there is no player with role `thief`\";\n}\n\nfunction AdditionalCardsPresence(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"AdditionalCardsForThiefSize\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: isAdditionalCardsPresenceRespected,\n defaultMessage: getAdditionalCardsPresenceDefaultMessage,\n },\n });\n };\n}\n\nexport {\n isAdditionalCardsPresenceRespected,\n getAdditionalCardsPresenceDefaultMessage,\n AdditionalCardsPresence,\n};" @@ -4479,10 +4486,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "581" + "582" ], "coveredBy": [ - "580", "581", "582", "583", @@ -4513,11 +4519,12 @@ "608", "609", "610", - "1092", + "611", "1093", "1094", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4539,10 +4546,9 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "581" + "582" ], "coveredBy": [ - "580", "581", "582", "583", @@ -4555,15 +4561,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1092" + "609", + "611", + "1093" ], "location": { "end": { @@ -4585,10 +4592,9 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -4601,15 +4607,16 @@ "590", "591", "592", - "602", + "593", "603", "604", "605", "606", "607", "608", - "610", - "1092" + "609", + "611", + "1093" ], "location": { "end": { @@ -4622,6 +4629,111 @@ } } }, + { + "id": "143", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1094", + "1095", + "1096", + "1097" + ], + "location": { + "end": { + "column": 28, + "line": 13 + }, + "start": { + "column": 7, + "line": 13 + } + } + }, + { + "id": "144", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1094", + "1095", + "1096", + "1097" + ], + "location": { + "end": { + "column": 28, + "line": 13 + }, + "start": { + "column": 7, + "line": 13 + } + } + }, + { + "id": "145", + "mutatorName": "EqualityOperator", + "replacement": "players !== undefined", + "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "610", + "1094", + "1095", + "1096", + "1097" + ], + "location": { + "end": { + "column": 28, + "line": 13 + }, + "start": { + "column": 7, + "line": 13 + } + } + }, { "id": "146", "mutatorName": "BlockStatement", @@ -4631,7 +4743,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1093" + "1094" ], "location": { "end": { @@ -4653,10 +4765,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1093" + "1094" ], "coveredBy": [ - "1093" + "1094" ], "location": { "end": { @@ -4678,10 +4790,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "600" + "601" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4690,10 +4801,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4715,10 +4827,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4727,10 +4838,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4752,10 +4864,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4764,10 +4875,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4789,10 +4901,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1095" + "1096" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4801,10 +4912,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4826,10 +4938,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1096" + "1097" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4838,10 +4949,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4863,10 +4975,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "601" + "602" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4875,10 +4986,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4900,10 +5012,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4912,10 +5023,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4937,10 +5049,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1096" + "1097" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4949,10 +5060,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -4974,10 +5086,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1094" + "1095" ], "coveredBy": [ - "593", "594", "595", "596", @@ -4986,10 +5097,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5011,10 +5123,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5023,10 +5134,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5048,10 +5160,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1094" + "1095" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5060,10 +5171,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5085,10 +5197,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1096" + "1097" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5097,10 +5208,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5122,10 +5234,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1094" + "1095" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5134,10 +5245,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5159,10 +5271,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1096" + "1097" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5171,10 +5282,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5196,10 +5308,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5208,10 +5319,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5233,10 +5345,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5245,10 +5356,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5270,10 +5382,9 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "600" + "601" ], "coveredBy": [ - "593", "594", "595", "596", @@ -5282,10 +5393,11 @@ "599", "600", "601", - "609", - "1094", + "602", + "610", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5307,10 +5419,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "596", - "600", + "597", "601", - "1097" + "602", + "1098" ], "location": { "end": { @@ -5332,13 +5444,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1097" + "1098" ], "coveredBy": [ - "596", - "600", + "597", "601", - "1097" + "602", + "1098" ], "location": { "end": { @@ -5454,7 +5566,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -5485,11 +5596,12 @@ "608", "609", "610", - "1092", + "611", "1093", "1094", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5510,7 +5622,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -5541,11 +5652,12 @@ "608", "609", "610", - "1092", + "611", "1093", "1094", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5558,40 +5670,6 @@ } } }, - { - "id": "143", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1093", - "1094", - "1095", - "1096" - ], - "location": { - "end": { - "column": 28, - "line": 13 - }, - "start": { - "column": 7, - "line": 13 - } - } - }, { "id": "138", "mutatorName": "ConditionalExpression", @@ -5600,7 +5678,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -5631,11 +5708,12 @@ "608", "609", "610", - "1092", + "611", "1093", "1094", "1095", - "1096" + "1096", + "1097" ], "location": { "end": { @@ -5647,74 +5725,6 @@ "line": 9 } } - }, - { - "id": "145", - "mutatorName": "EqualityOperator", - "replacement": "players !== undefined", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1093", - "1094", - "1095", - "1096" - ], - "location": { - "end": { - "column": 28, - "line": 13 - }, - "start": { - "column": 7, - "line": 13 - } - } - }, - { - "id": "144", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.ts(18,30): error TS18048: 'players' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "609", - "1093", - "1094", - "1095", - "1096" - ], - "location": { - "end": { - "column": 28, - "line": 13 - }, - "start": { - "column": 7, - "line": 13 - } - } } ], "source": "import { registerDecorator } from \"class-validator\";\nimport type { ValidationArguments, ValidationOptions } from \"class-validator\";\n\nimport type { CreateGameAdditionalCardDto } from \"@/modules/game/dto/create-game/create-game-additional-card/create-game-additional-card.dto\";\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\n\nfunction areAdditionalCardsRolesMaxInGameRespected(value: unknown, validationArguments: ValidationArguments): boolean {\n if (value === undefined) {\n return true;\n }\n const { players } = validationArguments.object as Partial;\n if (players === undefined) {\n return false;\n }\n const additionalCards = value as CreateGameAdditionalCardDto[];\n return ROLES.every(role => {\n const playersRoleCount = players.filter(player => player.role.name === role.name).length;\n const additionalCardsRoleCount = additionalCards.filter(additionalCard => additionalCard.roleName === role.name).length;\n return playersRoleCount + additionalCardsRoleCount <= role.maxInGame;\n });\n}\n\nfunction getAdditionalCardsRolesMaxInGameDefaultMessage(): string {\n return \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\";\n}\n\nfunction AdditionalCardsRolesMaxInGame(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"AdditionalCardsRolesMaxInGame\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: areAdditionalCardsRolesMaxInGameRespected,\n defaultMessage: getAdditionalCardsRolesMaxInGameDefaultMessage,\n },\n });\n };\n}\n\nexport {\n AdditionalCardsRolesMaxInGame,\n areAdditionalCardsRolesMaxInGameRespected,\n getAdditionalCardsRolesMaxInGameDefaultMessage,\n};" @@ -5756,10 +5766,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -5790,14 +5799,15 @@ "608", "609", "610", - "1098", + "611", "1099", "1100", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -5819,10 +5829,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -5853,14 +5862,15 @@ "608", "609", "610", - "1098", + "611", "1099", "1100", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -5882,10 +5892,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "609" + "610" ], "coveredBy": [ - "581", "582", "583", "584", @@ -5915,12 +5924,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -5942,10 +5952,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1100" + "1101" ], "coveredBy": [ - "581", "582", "583", "584", @@ -5975,12 +5984,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6002,10 +6012,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6035,12 +6044,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6062,10 +6072,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6095,12 +6104,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6122,10 +6132,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6155,12 +6164,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6182,10 +6192,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6215,12 +6224,13 @@ "608", "609", "610", - "1100", + "611", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6242,14 +6252,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", - "1098", + "581", "1099", "1100", - "1101" + "1101", + "1102" ], "location": { "end": { @@ -6271,14 +6281,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1098" + "1099" ], "coveredBy": [ - "580", - "1098", + "581", "1099", "1100", - "1101" + "1101", + "1102" ], "location": { "end": { @@ -6300,10 +6310,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6333,10 +6342,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6358,10 +6368,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6391,10 +6400,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6416,10 +6426,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6449,10 +6458,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6474,10 +6484,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6507,10 +6516,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6532,10 +6542,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6565,10 +6574,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6590,10 +6600,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1104" + "1105" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6623,10 +6632,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6648,10 +6658,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6681,10 +6690,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6706,10 +6716,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6739,10 +6748,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6764,10 +6774,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6797,10 +6806,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6822,10 +6832,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6855,10 +6864,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6880,10 +6890,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1102" + "1103" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6913,10 +6922,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6938,10 +6948,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1103" + "1104" ], "coveredBy": [ - "581", "582", "583", "584", @@ -6971,10 +6980,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -6996,10 +7006,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7029,10 +7038,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7054,10 +7064,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1103" + "1104" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7087,10 +7096,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7112,10 +7122,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7145,10 +7154,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7170,10 +7180,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7203,10 +7212,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7228,10 +7238,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7261,10 +7270,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7286,10 +7296,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1103" + "1104" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7319,10 +7328,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7344,10 +7354,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1103" + "1104" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7377,10 +7386,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7402,10 +7412,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7435,10 +7444,11 @@ "608", "609", "610", - "1102", + "611", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -7460,10 +7470,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7485,13 +7494,14 @@ "600", "601", "602", - "607", + "603", "608", "609", "610", - "1102", - "1104", - "1105" + "611", + "1103", + "1105", + "1106" ], "location": { "end": { @@ -7513,10 +7523,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7538,13 +7547,14 @@ "600", "601", "602", - "607", + "603", "608", "609", "610", - "1102", - "1104", - "1105" + "611", + "1103", + "1105", + "1106" ], "location": { "end": { @@ -7566,10 +7576,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "581", "582", "583", "584", @@ -7591,13 +7600,14 @@ "600", "601", "602", - "607", + "603", "608", "609", "610", - "1102", - "1104", - "1105" + "611", + "1103", + "1105", + "1106" ], "location": { "end": { @@ -7619,10 +7629,10 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "581", + "582", "583", "584", "585", @@ -7642,12 +7652,13 @@ "599", "600", "601", - "607", + "602", "608", "609", "610", - "1104", - "1105" + "611", + "1105", + "1106" ], "location": { "end": { @@ -7669,12 +7680,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7696,15 +7706,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7726,15 +7735,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7756,15 +7764,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "1106" + "1107" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7786,15 +7793,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7816,12 +7822,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7843,14 +7848,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "582", - "602", - "607", - "1106", - "1107" + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7872,14 +7876,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "582", - "602", - "607", - "1106", - "1107" + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7901,14 +7904,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "582", - "602", - "607", - "1106", - "1107" + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7930,14 +7932,13 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "582", - "602", - "607", - "1106", - "1107" + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7959,15 +7960,14 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -7989,15 +7989,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -8019,15 +8018,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "580", - "582", - "602", - "607", - "1106", - "1107" + "581", + "603", + "608", + "1107", + "1108" ], "location": { "end": { @@ -8049,12 +8047,11 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1106" + "1107" ], "coveredBy": [ - "582", - "602", - "1106" + "603", + "1107" ], "location": { "end": { @@ -8076,12 +8073,11 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "602" + "603" ], "coveredBy": [ - "582", - "602", - "1106" + "603", + "1107" ], "location": { "end": { @@ -8103,12 +8099,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "607" + "608" ], "coveredBy": [ - "580", - "607", - "1107" + "581", + "608", + "1108" ], "location": { "end": { @@ -8224,7 +8220,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -8255,14 +8250,15 @@ "608", "609", "610", - "1098", + "611", "1099", "1100", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -8283,7 +8279,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -8314,14 +8309,15 @@ "608", "609", "610", - "1098", + "611", "1099", "1100", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -8342,7 +8338,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -8373,14 +8368,15 @@ "608", "609", "610", - "1098", + "611", "1099", "1100", "1101", "1102", "1103", "1104", - "1105" + "1105", + "1106" ], "location": { "end": { @@ -8408,10 +8404,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -8442,14 +8437,15 @@ "608", "609", "610", - "1173", + "611", "1174", "1175", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8471,10 +8467,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -8505,14 +8500,15 @@ "608", "609", "610", - "1173", + "611", "1174", "1175", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8534,10 +8530,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1175" + "1176" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8567,12 +8562,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8594,10 +8590,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1175" + "1176" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8627,12 +8622,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8654,10 +8650,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8687,12 +8682,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8714,10 +8710,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8747,12 +8742,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8774,10 +8770,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1177" + "1178" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8807,12 +8802,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8834,10 +8830,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8867,12 +8862,13 @@ "608", "609", "610", - "1175", + "611", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -8894,14 +8890,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", - "1173", + "581", "1174", "1175", - "1176" + "1176", + "1177" ], "location": { "end": { @@ -8923,14 +8919,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1173" + "1174" ], "coveredBy": [ - "580", - "1173", + "581", "1174", "1175", - "1176" + "1176", + "1177" ], "location": { "end": { @@ -8952,10 +8948,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "581", "582", "583", "584", @@ -8985,10 +8980,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9010,10 +9006,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9043,10 +9038,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9068,10 +9064,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9101,10 +9096,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9126,10 +9122,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9159,10 +9154,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9184,10 +9180,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9217,10 +9212,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9242,10 +9238,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "1180" + "1181" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9275,10 +9270,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9300,10 +9296,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9333,10 +9328,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9358,10 +9354,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9391,10 +9386,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9416,10 +9412,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9449,10 +9444,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9474,10 +9470,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9507,10 +9502,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9532,10 +9528,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "581", "582", "583", "584", @@ -9565,10 +9560,11 @@ "608", "609", "610", - "1177", + "611", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9590,18 +9586,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "1180" + "1181" ], "coveredBy": [ - "582", - "602", "603", "604", "605", "606", - "1178", + "607", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9623,18 +9618,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "1178" + "1179" ], "coveredBy": [ - "582", - "602", "603", "604", "605", "606", - "1178", + "607", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9656,12 +9650,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "582", - "602", + "581", "603", "604", - "1181" + "605", + "1182" ], "location": { "end": { @@ -9683,15 +9676,14 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "603" + "604" ], "coveredBy": [ - "580", - "582", - "602", + "581", "603", "604", - "1181" + "605", + "1182" ], "location": { "end": { @@ -9807,7 +9799,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -9838,14 +9829,15 @@ "608", "609", "610", - "1173", + "611", "1174", "1175", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { @@ -9859,14 +9851,13 @@ } }, { - "id": "235", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-two-groups-with-prejudiced-manipulator.decorator.ts(8,31): error TS18046: 'value' is of type 'unknown'.\n", + "id": "234", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-two-groups-with-prejudiced-manipulator.decorator.ts(8,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -9897,18 +9888,19 @@ "608", "609", "610", - "1173", + "611", "1174", "1175", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { - "column": 28, + "column": 84, "line": 8 }, "start": { @@ -9918,14 +9910,13 @@ } }, { - "id": "234", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-two-groups-with-prejudiced-manipulator.decorator.ts(8,32): error TS18046: 'value' is of type 'unknown'.\n", + "id": "235", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-two-groups-with-prejudiced-manipulator.decorator.ts(8,31): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -9956,18 +9947,19 @@ "608", "609", "610", - "1173", + "611", "1174", "1175", "1176", "1177", "1178", "1179", - "1180" + "1180", + "1181" ], "location": { "end": { - "column": 84, + "column": 28, "line": 8 }, "start": { @@ -9991,10 +9983,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -10025,17 +10016,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1206", + "907", "1207", "1208", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10057,10 +10049,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -10091,17 +10082,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1206", + "907", "1207", "1208", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10123,10 +10115,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1208" + "1209" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10156,15 +10147,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10186,10 +10178,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1208" + "1209" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10219,15 +10210,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10249,10 +10241,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10282,14 +10273,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", - "1212" + "1211", + "1213" ], "location": { "end": { @@ -10311,10 +10303,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10344,14 +10335,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", - "1212" + "1211", + "1213" ], "location": { "end": { @@ -10373,10 +10365,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10406,14 +10397,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", - "1212" + "1211", + "1213" ], "location": { "end": { @@ -10435,10 +10427,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10468,14 +10459,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1208", + "907", "1209", "1210", - "1212" + "1211", + "1213" ], "location": { "end": { @@ -10497,14 +10489,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", - "1206", + "581", "1207", "1208", - "1209" + "1209", + "1210" ], "location": { "end": { @@ -10526,14 +10518,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1206" + "1207" ], "coveredBy": [ - "580", - "1206", + "581", "1207", "1208", - "1209" + "1209", + "1210" ], "location": { "end": { @@ -10555,10 +10547,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10588,13 +10579,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10616,10 +10608,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10649,13 +10640,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10677,10 +10669,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10710,13 +10701,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10738,10 +10730,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10771,13 +10762,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10799,10 +10791,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10832,13 +10823,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10860,10 +10852,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10893,13 +10884,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10921,10 +10913,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -10954,13 +10945,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", + "907", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -10982,10 +10974,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11015,12 +11006,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", - "1212" + "907", + "1211", + "1213" ], "location": { "end": { @@ -11042,10 +11034,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11075,12 +11066,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", - "1212" + "907", + "1211", + "1213" ], "location": { "end": { @@ -11102,10 +11094,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11135,12 +11126,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", - "1212" + "907", + "1211", + "1213" ], "location": { "end": { @@ -11162,10 +11154,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11195,12 +11186,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1210", - "1212" + "907", + "1211", + "1213" ], "location": { "end": { @@ -11222,9 +11214,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "588", - "1213" + "581", + "589", + "1214" ], "location": { "end": { @@ -11246,12 +11238,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "588" + "589" ], "coveredBy": [ - "580", - "588", - "1213" + "581", + "589", + "1214" ], "location": { "end": { @@ -11367,7 +11359,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -11398,17 +11389,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1206", + "907", "1207", "1208", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { @@ -11422,14 +11414,13 @@ } }, { - "id": "268", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-villager.decorator.ts(10,31): error TS18046: 'value' is of type 'unknown'.\n", + "id": "267", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-villager.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -11460,21 +11451,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1206", + "907", "1207", "1208", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { - "column": 28, + "column": 84, "line": 10 }, "start": { @@ -11484,14 +11476,13 @@ } }, { - "id": "267", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-villager.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", + "id": "268", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-villager.decorator.ts(10,31): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -11522,21 +11513,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1206", + "907", "1207", "1208", "1209", "1210", "1211", - "1212" + "1212", + "1213" ], "location": { "end": { - "column": 84, + "column": 28, "line": 10 }, "start": { @@ -11551,6 +11543,72 @@ "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts": { "language": "typescript", "mutants": [ + { + "id": "296", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:772:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 42, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "581", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "904", + "905", + "906", + "907", + "1215", + "1216", + "1217", + "1218", + "1219", + "1220", + "1221" + ], + "location": { + "end": { + "column": 84, + "line": 10 + }, + "start": { + "column": 7, + "line": 10 + } + } + }, { "id": "297", "mutatorName": "ConditionalExpression", @@ -11560,10 +11618,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -11594,17 +11651,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1214", + "907", "1215", "1216", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -11626,10 +11684,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1216" + "1217" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11659,15 +11716,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -11689,10 +11747,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1216" + "1217" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11722,15 +11779,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -11752,10 +11810,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11785,14 +11842,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", - "1220" + "1219", + "1221" ], "location": { "end": { @@ -11814,10 +11872,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11847,14 +11904,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", - "1220" + "1219", + "1221" ], "location": { "end": { @@ -11876,10 +11934,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11909,14 +11966,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", - "1220" + "1219", + "1221" ], "location": { "end": { @@ -11938,10 +11996,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -11971,14 +12028,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1216", + "907", "1217", "1218", - "1220" + "1219", + "1221" ], "location": { "end": { @@ -12000,14 +12058,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1214" + "1215" ], "coveredBy": [ - "580", - "1214", + "581", "1215", "1216", - "1217" + "1217", + "1218" ], "location": { "end": { @@ -12029,14 +12087,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1214" + "1215" ], "coveredBy": [ - "580", - "1214", + "581", "1215", "1216", - "1217" + "1217", + "1218" ], "location": { "end": { @@ -12058,10 +12116,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "589" + "590" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12091,13 +12148,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12119,10 +12177,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12152,13 +12209,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12180,10 +12238,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "589" + "590" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12213,13 +12270,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12241,10 +12299,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12274,13 +12331,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12302,10 +12360,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "1218" + "1219" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12335,13 +12392,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12363,10 +12421,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12396,13 +12453,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12424,10 +12482,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12457,13 +12514,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", + "907", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12485,10 +12543,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12518,12 +12575,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", - "1220" + "907", + "1219", + "1221" ], "location": { "end": { @@ -12545,10 +12603,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "1218" + "1219" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12578,12 +12635,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", - "1220" + "907", + "1219", + "1221" ], "location": { "end": { @@ -12605,10 +12663,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12638,12 +12695,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", - "1220" + "907", + "1219", + "1221" ], "location": { "end": { @@ -12665,10 +12723,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "589" + "590" ], "coveredBy": [ - "581", "582", "583", "584", @@ -12698,12 +12755,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1218", - "1220" + "907", + "1219", + "1221" ], "location": { "end": { @@ -12716,33 +12774,6 @@ } } }, - { - "id": "319", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(18,53): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "580", - "587", - "589", - "590", - "591", - "1221" - ], - "location": { - "end": { - "column": 2, - "line": 20 - }, - "start": { - "column": 60, - "line": 18 - } - } - }, { "id": "320", "mutatorName": "StringLiteral", @@ -12752,15 +12783,18 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "589" + "590" ], "coveredBy": [ - "580", - "587", - "589", + "581", + "582", + "585", + "586", + "588", "590", "591", - "1221" + "592", + "1222" ], "location": { "end": { @@ -12876,7 +12910,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -12907,17 +12940,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1214", + "907", "1215", "1216", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { @@ -12931,14 +12965,13 @@ } }, { - "id": "299", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(10,31): error TS18046: 'value' is of type 'unknown'.\n", + "id": "298", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -12969,21 +13002,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1214", + "907", "1215", "1216", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { - "column": 28, + "column": 84, "line": 10 }, "start": { @@ -12993,80 +13027,42 @@ } }, { - "id": "298", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", + "id": "319", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(18,53): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", - "583", - "584", "585", "586", - "587", "588", - "589", "590", "591", "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "903", - "904", - "905", - "906", - "1214", - "1215", - "1216", - "1217", - "1218", - "1219", - "1220" + "1222" ], "location": { "end": { - "column": 84, - "line": 10 + "column": 2, + "line": 20 }, "start": { - "column": 7, - "line": 10 + "column": 60, + "line": 18 } } }, { - "id": "296", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:772:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", + "id": "299", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.ts(10,31): error TS18046: 'value' is of type 'unknown'.\n", + "status": "CompileError", "static": false, - "testsCompleted": 42, - "killedBy": [ - "608" - ], "coveredBy": [ - "580", "581", "582", "583", @@ -13097,21 +13093,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1214", + "907", "1215", "1216", "1217", "1218", "1219", - "1220" + "1220", + "1221" ], "location": { "end": { - "column": 84, + "column": 28, "line": 10 }, "start": { @@ -13135,10 +13132,9 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -13169,7 +13165,7 @@ "608", "609", "610", - "1149", + "611", "1150", "1151", "1152", @@ -13177,7 +13173,8 @@ "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13199,10 +13196,9 @@ "testsCompleted": 38, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -13233,7 +13229,7 @@ "608", "609", "610", - "1149", + "611", "1150", "1151", "1152", @@ -13241,7 +13237,8 @@ "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13263,10 +13260,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "1151" + "1152" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13296,13 +13292,14 @@ "608", "609", "610", - "1151", + "611", "1152", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13324,10 +13321,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "1151" + "1152" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13357,13 +13353,14 @@ "608", "609", "610", - "1151", + "611", "1152", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13385,10 +13382,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13418,13 +13414,14 @@ "608", "609", "610", - "1151", + "611", "1152", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13446,13 +13443,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", - "1149", + "581", "1150", - "1151" + "1151", + "1152" ], "location": { "end": { @@ -13474,13 +13471,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1149" + "1150" ], "coveredBy": [ - "580", - "1149", + "581", "1150", - "1151" + "1151", + "1152" ], "location": { "end": { @@ -13502,10 +13499,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "1153" + "1154" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13535,11 +13531,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13561,10 +13558,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "591" + "592" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13594,11 +13590,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13620,10 +13617,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "1155" + "1156" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13653,11 +13649,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13679,10 +13676,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "1153" + "1154" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13712,11 +13708,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13738,10 +13735,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "1153" + "1154" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13771,11 +13767,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13797,10 +13794,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1153" + "1154" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13830,12 +13826,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13857,10 +13854,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13890,12 +13886,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13917,10 +13914,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -13950,12 +13946,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -13977,10 +13974,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -14010,12 +14006,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14037,10 +14034,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1152" + "1153" ], "coveredBy": [ - "581", "582", "583", "584", @@ -14070,12 +14066,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14097,10 +14094,9 @@ "testsCompleted": 27, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -14130,11 +14126,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14156,10 +14153,9 @@ "testsCompleted": 33, "static": false, "killedBy": [ - "591" + "592" ], "coveredBy": [ - "581", "582", "583", "584", @@ -14189,11 +14185,12 @@ "608", "609", "610", - "1153", + "611", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14215,10 +14212,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "590", + "581", "591", - "1158" + "592", + "1159" ], "location": { "end": { @@ -14240,13 +14237,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1158" + "1159" ], "coveredBy": [ - "580", - "590", + "581", "591", - "1158" + "592", + "1159" ], "location": { "end": { @@ -14362,7 +14359,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -14393,7 +14389,7 @@ "608", "609", "610", - "1149", + "611", "1150", "1151", "1152", @@ -14401,7 +14397,8 @@ "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14415,10 +14412,10 @@ } }, { - "id": "336", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(10,52): error TS2345: Argument of type '(acc: number[], { position }: { position?: number | undefined; }) => void' is not assignable to parameter of type '(previousValue: number[], currentValue: { position?: number | undefined; }, currentIndex: number, array: { position?: number | undefined; }[]) => number[]'.\n Type 'void' is not assignable to type 'number[]'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,26): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,58): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\n", + "id": "329", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !isObject(player))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(6,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ @@ -14452,21 +14449,25 @@ "608", "609", "610", + "611", + "1150", + "1151", "1152", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 4, - "line": 15 + "column": 71, + "line": 6 }, "start": { - "column": 75, - "line": 10 + "column": 7, + "line": 6 } } }, @@ -14478,7 +14479,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14508,12 +14508,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14527,14 +14528,13 @@ } }, { - "id": "338", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", + "id": "336", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(10,52): error TS2345: Argument of type '(acc: number[], { position }: { position?: number | undefined; }) => void' is not assignable to parameter of type '(previousValue: number[], currentValue: { position?: number | undefined; }, currentIndex: number, array: { position?: number | undefined; }[]) => number[]'.\n Type 'void' is not assignable to type 'number[]'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,26): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,58): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14564,21 +14564,22 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 87, - "line": 11 + "column": 4, + "line": 15 }, "start": { - "column": 9, - "line": 11 + "column": 75, + "line": 10 } } }, @@ -14590,7 +14591,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14620,12 +14620,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14638,126 +14639,6 @@ } } }, - { - "id": "330", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(6,31): error TS18046: 'value' is of type 'unknown'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "580", - "581", - "582", - "583", - "584", - "585", - "586", - "587", - "588", - "589", - "590", - "591", - "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "1149", - "1150", - "1151", - "1152", - "1153", - "1154", - "1155", - "1156", - "1157" - ], - "location": { - "end": { - "column": 28, - "line": 6 - }, - "start": { - "column": 7, - "line": 6 - } - } - }, - { - "id": "329", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !isObject(player))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(6,32): error TS18046: 'value' is of type 'unknown'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "580", - "581", - "582", - "583", - "584", - "585", - "586", - "587", - "588", - "589", - "590", - "591", - "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "1149", - "1150", - "1151", - "1152", - "1153", - "1154", - "1155", - "1156", - "1157" - ], - "location": { - "end": { - "column": 71, - "line": 6 - }, - "start": { - "column": 7, - "line": 6 - } - } - }, { "id": "340", "mutatorName": "ConditionalExpression", @@ -14766,7 +14647,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14796,12 +14676,13 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { @@ -14815,14 +14696,13 @@ } }, { - "id": "343", - "mutatorName": "EqualityOperator", - "replacement": "position === undefined", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,49): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,62): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", + "id": "341", + "mutatorName": "LogicalOperator", + "replacement": "position !== undefined || !acc.includes(position)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,49): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,62): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14852,16 +14732,17 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 31, + "column": 58, "line": 11 }, "start": { @@ -14871,14 +14752,13 @@ } }, { - "id": "349", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(15,7): error TS2322: Type 'string' is not assignable to type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(16,26): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(16,58): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\n", + "id": "342", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,31): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,44): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -14908,29 +14788,30 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 8, - "line": 15 + "column": 31, + "line": 11 }, "start": { - "column": 6, - "line": 15 + "column": 9, + "line": 11 } } }, { - "id": "341", - "mutatorName": "LogicalOperator", - "replacement": "position !== undefined || !acc.includes(position)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,49): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,62): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", + "id": "330", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(6,31): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ @@ -14964,16 +14845,76 @@ "608", "609", "610", + "611", + "1150", + "1151", "1152", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 58, + "column": 28, + "line": 6 + }, + "start": { + "column": 7, + "line": 6 + } + } + }, + { + "id": "343", + "mutatorName": "EqualityOperator", + "replacement": "position === undefined", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,49): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,62): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "1153", + "1154", + "1155", + "1156", + "1157", + "1158" + ], + "location": { + "end": { + "column": 31, "line": 11 }, "start": { @@ -14983,14 +14924,13 @@ } }, { - "id": "342", + "id": "338", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,31): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(11,44): error TS18048: 'position' is possibly 'undefined'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", + "replacement": "false", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(12,16): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -15020,16 +14960,17 @@ "608", "609", "610", - "1152", + "611", "1153", "1154", "1155", "1156", - "1157" + "1157", + "1158" ], "location": { "end": { - "column": 31, + "column": 87, "line": 11 }, "start": { @@ -15037,6 +14978,62 @@ "line": 11 } } + }, + { + "id": "349", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(15,7): error TS2322: Type 'string' is not assignable to type 'number'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(16,26): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\nsrc/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.ts(16,58): error TS2339: Property 'length' does not exist on type '{ position?: number | undefined; }'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "1153", + "1154", + "1155", + "1156", + "1157", + "1158" + ], + "location": { + "end": { + "column": 8, + "line": 15 + }, + "start": { + "column": 6, + "line": 15 + } + } } ], "source": "import { registerDecorator } from \"class-validator\";\nimport isObject from \"isobject\";\nimport type { ValidationOptions } from \"class-validator\";\n\nfunction doesCompositionHaveConsistentPositions(value?: unknown): boolean {\n if (!Array.isArray(value) || value.some(player => !isObject(player))) {\n return false;\n }\n const players = value as { position?: number }[];\n const uniquePositions = players.reduce((acc, { position }) => {\n if (position !== undefined && !acc.includes(position) && position < players.length) {\n acc.push(position);\n }\n return acc;\n }, []);\n return uniquePositions.length === 0 || uniquePositions.length === players.length;\n}\n\nfunction getCompositionPositionsConsistencyDefaultMessage(): string {\n return \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\";\n}\n\nfunction CompositionPositionsConsistency(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"CompositionPositionsConsistency\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: doesCompositionHaveConsistentPositions,\n defaultMessage: getCompositionPositionsConsistencyDefaultMessage,\n },\n });\n };\n}\n\nexport {\n CompositionPositionsConsistency,\n doesCompositionHaveConsistentPositions,\n getCompositionPositionsConsistencyDefaultMessage,\n};" @@ -15053,10 +15050,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -15087,17 +15083,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1195", + "907", "1196", "1197", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15119,10 +15116,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -15153,17 +15149,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1195", + "907", "1196", "1197", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15185,10 +15182,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15218,15 +15214,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15248,10 +15245,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1197" + "1198" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15281,15 +15277,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15311,10 +15308,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15344,14 +15340,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", - "1201" + "1200", + "1202" ], "location": { "end": { @@ -15373,10 +15370,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15406,14 +15402,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", - "1201" + "1200", + "1202" ], "location": { "end": { @@ -15435,10 +15432,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15468,14 +15464,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", - "1201" + "1200", + "1202" ], "location": { "end": { @@ -15497,10 +15494,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15530,14 +15526,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1197", + "907", "1198", "1199", - "1201" + "1200", + "1202" ], "location": { "end": { @@ -15559,14 +15556,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1195" + "1196" ], "coveredBy": [ - "580", - "1195", + "581", "1196", "1197", - "1198" + "1198", + "1199" ], "location": { "end": { @@ -15588,14 +15585,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1195" + "1196" ], "coveredBy": [ - "580", - "1195", + "581", "1196", "1197", - "1198" + "1198", + "1199" ], "location": { "end": { @@ -15617,10 +15614,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15650,13 +15646,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15678,10 +15675,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "1200" + "1201" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15711,13 +15707,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15739,10 +15736,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15772,13 +15768,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15800,10 +15797,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15833,13 +15829,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -15861,10 +15858,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15894,12 +15890,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", - "1201" + "907", + "1200", + "1202" ], "location": { "end": { @@ -15921,10 +15918,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "581", "582", "583", "584", @@ -15954,12 +15950,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", - "1201" + "907", + "1200", + "1202" ], "location": { "end": { @@ -15981,10 +15978,9 @@ "testsCompleted": 28, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16014,12 +16010,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", - "1201" + "907", + "1200", + "1202" ], "location": { "end": { @@ -16041,10 +16038,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16074,13 +16070,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -16102,10 +16099,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16135,13 +16131,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -16163,10 +16160,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16196,13 +16192,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -16224,10 +16221,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16257,13 +16253,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1199", + "907", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -16285,10 +16282,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "580", - "582", - "587", - "1202" + "581", + "583", + "588", + "1203" ], "location": { "end": { @@ -16310,13 +16307,13 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "587" + "588" ], "coveredBy": [ - "580", - "582", - "587", - "1202" + "581", + "583", + "588", + "1203" ], "location": { "end": { @@ -16432,7 +16429,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -16463,17 +16459,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1195", + "907", "1196", "1197", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { @@ -16487,14 +16484,13 @@ } }, { - "id": "368", - "mutatorName": "BooleanLiteral", - "replacement": "Array.isArray(value)", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-max-in-game.decorator.ts(9,31): error TS18046: 'value' is of type 'unknown'.\n", + "id": "367", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-max-in-game.decorator.ts(9,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -16525,21 +16521,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1195", + "907", "1196", "1197", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { - "column": 28, + "column": 84, "line": 9 }, "start": { @@ -16549,14 +16546,13 @@ } }, { - "id": "367", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-max-in-game.decorator.ts(9,32): error TS18046: 'value' is of type 'unknown'.\n", + "id": "368", + "mutatorName": "BooleanLiteral", + "replacement": "Array.isArray(value)", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-max-in-game.decorator.ts(9,31): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -16587,21 +16583,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1195", + "907", "1196", "1197", "1198", "1199", "1200", - "1201" + "1201", + "1202" ], "location": { "end": { - "column": 84, + "column": 28, "line": 9 }, "start": { @@ -16625,10 +16622,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "580", "581", "582", "583", @@ -16659,17 +16655,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1182", + "907", "1183", "1184", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -16691,10 +16688,9 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "580" + "581" ], "coveredBy": [ - "580", "581", "582", "583", @@ -16725,17 +16721,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1182", + "907", "1183", "1184", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -16757,10 +16754,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1184" + "1185" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16790,15 +16786,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -16820,10 +16817,9 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1184" + "1185" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16853,15 +16849,16 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -16883,10 +16880,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16916,14 +16912,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", - "1188" + "1187", + "1189" ], "location": { "end": { @@ -16945,10 +16942,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -16978,14 +16974,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", - "1188" + "1187", + "1189" ], "location": { "end": { @@ -17007,10 +17004,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17040,14 +17036,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", - "1188" + "1187", + "1189" ], "location": { "end": { @@ -17069,10 +17066,9 @@ "testsCompleted": 30, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17102,14 +17098,15 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1184", + "907", "1185", "1186", - "1188" + "1187", + "1189" ], "location": { "end": { @@ -17131,14 +17128,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1182" + "1183" ], "coveredBy": [ - "580", - "1182", + "581", "1183", "1184", - "1185" + "1185", + "1186" ], "location": { "end": { @@ -17160,14 +17157,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1182" + "1183" ], "coveredBy": [ - "580", - "1182", + "581", "1183", "1184", - "1185" + "1185", + "1186" ], "location": { "end": { @@ -17189,10 +17186,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17222,13 +17218,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17250,10 +17247,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17283,13 +17279,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17311,10 +17308,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "1186" + "1187" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17344,13 +17340,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17372,10 +17369,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17405,13 +17401,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17433,10 +17430,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17466,13 +17462,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17494,10 +17491,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17527,13 +17523,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17555,10 +17552,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "1186" + "1187" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17588,13 +17584,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17616,10 +17613,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17649,12 +17645,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -17676,10 +17673,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17709,12 +17705,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -17736,10 +17733,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1186" + "1187" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17769,12 +17765,13 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -17796,10 +17793,9 @@ "testsCompleted": 35, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17829,13 +17825,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17857,10 +17854,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17890,13 +17886,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17918,10 +17915,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -17951,13 +17947,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -17979,10 +17976,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -18012,13 +18008,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -18040,10 +18037,9 @@ "testsCompleted": 29, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "581", "582", "583", "584", @@ -18073,13 +18069,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -18101,19 +18098,19 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "1188" + "1189" ], "coveredBy": [ - "582", - "585", + "583", "586", - "598", + "587", "599", - "904", + "600", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -18135,19 +18132,19 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "904" + "905" ], "coveredBy": [ - "582", - "585", + "583", "586", - "598", + "587", "599", - "904", + "600", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -18169,19 +18166,19 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "1186" + "1187" ], "coveredBy": [ - "582", - "585", + "583", "586", - "598", + "587", "599", - "904", + "600", "905", "906", - "1186", - "1188" + "907", + "1187", + "1189" ], "location": { "end": { @@ -18194,6 +18191,34 @@ } } }, + { + "id": "428", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(22,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "581", + "583", + "586", + "587", + "599", + "600", + "1190" + ], + "location": { + "end": { + "column": 2, + "line": 24 + }, + "start": { + "column": 63, + "line": 22 + } + } + }, { "id": "429", "mutatorName": "StringLiteral", @@ -18203,16 +18228,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "586" + "587" ], "coveredBy": [ - "580", - "582", - "585", + "581", + "583", "586", - "598", + "587", "599", - "1189" + "600", + "1190" ], "location": { "end": { @@ -18328,7 +18353,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -18359,17 +18383,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1182", + "907", "1183", "1184", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -18383,10 +18408,10 @@ } }, { - "id": "409", - "mutatorName": "MethodExpression", - "replacement": "ROLES", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(17,46): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "id": "398", + "mutatorName": "LogicalOperator", + "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", "status": "CompileError", "static": false, "coveredBy": [ @@ -18420,22 +18445,27 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", + "907", + "1183", + "1184", + "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { - "column": 90, - "line": 15 + "column": 84, + "line": 10 }, "start": { - "column": 10, - "line": 14 + "column": 7, + "line": 10 } } }, @@ -18447,7 +18477,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "581", "582", "583", "584", @@ -18477,13 +18506,14 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1186", + "907", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -18497,29 +18527,59 @@ } }, { - "id": "428", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(22,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "409", + "mutatorName": "MethodExpression", + "replacement": "ROLES", + "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(17,46): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "coveredBy": [ - "580", "582", + "583", + "584", "585", "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", "598", "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", + "608", + "609", + "610", + "611", + "904", + "905", + "906", + "907", + "1187", + "1188", "1189" ], "location": { "end": { - "column": 2, - "line": 24 + "column": 90, + "line": 15 }, "start": { - "column": 63, - "line": 22 + "column": 10, + "line": 14 } } }, @@ -18531,7 +18591,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "580", "581", "582", "583", @@ -18562,17 +18621,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1182", + "907", "1183", "1184", "1185", "1186", "1187", - "1188" + "1188", + "1189" ], "location": { "end": { @@ -18584,68 +18644,6 @@ "line": 10 } } - }, - { - "id": "398", - "mutatorName": "LogicalOperator", - "replacement": "!Array.isArray(value) && value.some(player => !has(player, [\"role\", \"name\"]))", - "statusReason": "src/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.ts(10,32): error TS18046: 'value' is of type 'unknown'.\n", - "status": "CompileError", - "static": false, - "coveredBy": [ - "580", - "581", - "582", - "583", - "584", - "585", - "586", - "587", - "588", - "589", - "590", - "591", - "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "903", - "904", - "905", - "906", - "1182", - "1183", - "1184", - "1185", - "1186", - "1187", - "1188" - ], - "location": { - "end": { - "column": 84, - "line": 10 - }, - "start": { - "column": 7, - "line": 10 - } - } } ], "source": "import { registerDecorator } from \"class-validator\";\nimport { has } from \"lodash\";\nimport type { ValidationOptions } from \"class-validator\";\n\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\nimport type { RoleNames } from \"@/modules/role/enums/role.enum\";\nimport type { Role } from \"@/modules/role/types/role.type\";\n\nfunction areCompositionRolesMinInGameRespected(value?: unknown): boolean {\n if (!Array.isArray(value) || value.some(player => !has(player, [\"role\", \"name\"]))) {\n return false;\n }\n const players = value as { role: { name: RoleNames } }[];\n return ROLES\n .filter((role): role is Role & { minInGame: number } => role.minInGame !== undefined)\n .every(role => {\n const roleCount = players.filter(player => player.role.name === role.name).length;\n return roleCount === 0 || roleCount >= role.minInGame;\n });\n}\n\nfunction getCompositionRolesMinInGameDefaultMessage(): string {\n return \"players.role minimum occurrences in game must be reached. Please check `minInGame` property of roles\";\n}\n\nfunction CompositionRolesMinInGame(validationOptions?: ValidationOptions) {\n return (object: object, propertyName: string): void => {\n registerDecorator({\n name: \"CompositionRolesMinInGame\",\n target: object.constructor,\n propertyName,\n options: validationOptions,\n validator: {\n validate: areCompositionRolesMinInGameRespected,\n defaultMessage: getCompositionRolesMinInGameDefaultMessage,\n },\n });\n };\n}\n\nexport { CompositionRolesMinInGame, areCompositionRolesMinInGameRespected, getCompositionRolesMinInGameDefaultMessage };" @@ -18662,10 +18660,9 @@ "testsCompleted": 42, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "568", "569", "570", "571", @@ -18674,7 +18671,7 @@ "574", "575", "576", - "581", + "577", "582", "583", "584", @@ -18704,10 +18701,11 @@ "608", "609", "610", - "1302", + "611", "1303", "1304", - "1305" + "1305", + "1306" ], "location": { "end": { @@ -18729,10 +18727,9 @@ "testsCompleted": 42, "static": false, "killedBy": [ - "572" + "573" ], "coveredBy": [ - "568", "569", "570", "571", @@ -18741,7 +18738,7 @@ "574", "575", "576", - "581", + "577", "582", "583", "584", @@ -18771,10 +18768,11 @@ "608", "609", "610", - "1302", + "611", "1303", "1304", - "1305" + "1305", + "1306" ], "location": { "end": { @@ -18796,10 +18794,9 @@ "testsCompleted": 42, "static": false, "killedBy": [ - "1302" + "1303" ], "coveredBy": [ - "568", "569", "570", "571", @@ -18808,7 +18805,7 @@ "574", "575", "576", - "581", + "577", "582", "583", "584", @@ -18838,10 +18835,11 @@ "608", "609", "610", - "1302", + "611", "1303", "1304", - "1305" + "1305", + "1306" ], "location": { "end": { @@ -18863,10 +18861,9 @@ "testsCompleted": 34, "static": false, "killedBy": [ - "1305" + "1306" ], "coveredBy": [ - "568", "569", "570", "571", @@ -18875,7 +18872,7 @@ "574", "575", "576", - "581", + "577", "582", "583", "584", @@ -18905,10 +18902,11 @@ "608", "609", "610", - "1302", + "611", "1303", "1304", - "1305" + "1305", + "1306" ], "location": { "end": { @@ -18930,12 +18928,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1302" + "1303" ], "coveredBy": [ - "1302", "1303", - "1304" + "1304", + "1305" ], "location": { "end": { @@ -19013,7 +19011,6 @@ "status": "CompileError", "static": false, "coveredBy": [ - "568", "569", "570", "571", @@ -19022,7 +19019,7 @@ "574", "575", "576", - "581", + "577", "582", "583", "584", @@ -19052,10 +19049,11 @@ "608", "609", "610", - "1302", + "611", "1303", "1304", - "1305" + "1305", + "1306" ], "location": { "end": { @@ -19083,7 +19081,7 @@ "testsCompleted": 70, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -19091,8 +19089,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19122,58 +19119,59 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1267", + "1250", "1268", "1269", "1270", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19195,7 +19193,7 @@ "testsCompleted": 70, "static": true, "killedBy": [ - "1267" + "1268" ], "coveredBy": [ "298", @@ -19203,8 +19201,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19234,58 +19231,59 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1267", + "1250", "1268", "1269", "1270", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19307,7 +19305,7 @@ "testsCompleted": 70, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -19315,8 +19313,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19346,58 +19343,59 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1267", + "1250", "1268", "1269", "1270", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19419,12 +19417,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1267" + "1268" ], "coveredBy": [ - "1267", "1268", - "1269" + "1269", + "1270" ], "location": { "end": { @@ -19446,7 +19444,7 @@ "testsCompleted": 67, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -19454,8 +19452,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19485,55 +19482,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19555,7 +19553,7 @@ "testsCompleted": 67, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -19563,8 +19561,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19594,55 +19591,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19664,7 +19662,7 @@ "testsCompleted": 67, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -19672,8 +19670,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19703,55 +19700,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19773,7 +19771,7 @@ "testsCompleted": 67, "static": true, "killedBy": [ - "1270" + "1271" ], "coveredBy": [ "298", @@ -19781,8 +19779,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19812,55 +19809,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -19882,7 +19880,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1270" + "1271" ], "location": { "end": { @@ -19904,7 +19902,7 @@ "testsCompleted": 66, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -19912,8 +19910,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -19943,54 +19940,55 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1271", + "1250", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20012,7 +20010,7 @@ "testsCompleted": 66, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -20020,8 +20018,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20051,54 +20048,55 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1271", + "1250", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20120,7 +20118,7 @@ "testsCompleted": 66, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -20128,8 +20126,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20159,54 +20156,55 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1271", + "1250", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20232,8 +20230,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20263,58 +20260,59 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1267", + "1250", "1268", "1269", "1270", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20328,9 +20326,9 @@ } }, { - "id": "455", + "id": "446", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(23,22): error TS18048: 'role' is possibly 'undefined'.\n", "status": "CompileError", "static": true, @@ -20340,8 +20338,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20371,64 +20368,68 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", + "1250", + "1268", + "1269", "1270", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { - "column": 25, - "line": 18 + "column": 43, + "line": 8 }, "start": { "column": 7, - "line": 18 + "line": 8 } } }, @@ -20445,8 +20446,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20476,55 +20476,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20538,9 +20539,9 @@ } }, { - "id": "454", + "id": "455", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(23,22): error TS18048: 'role' is possibly 'undefined'.\n", "status": "CompileError", "static": true, @@ -20550,8 +20551,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20581,55 +20581,56 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { @@ -20643,7 +20644,7 @@ } }, { - "id": "446", + "id": "454", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-role.transformer.ts(23,22): error TS18048: 'role' is possibly 'undefined'.\n", @@ -20655,8 +20656,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20686,67 +20686,65 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "925", + "907", "926", - "1090", + "927", "1091", - "1102", + "1092", "1103", "1104", "1105", "1106", "1107", - "1151", + "1108", "1152", "1153", "1154", "1155", "1156", "1157", - "1177", + "1158", "1178", "1179", "1180", - "1184", + "1181", "1185", "1186", - "1188", - "1197", + "1187", + "1189", "1198", "1199", - "1201", - "1208", + "1200", + "1202", "1209", "1210", - "1212", - "1216", + "1211", + "1213", "1217", "1218", - "1220", - "1246", + "1219", + "1221", "1247", "1248", "1249", - "1267", - "1268", - "1269", - "1270", + "1250", "1271", "1272", - "1273" + "1273", + "1274" ], "location": { "end": { - "column": 43, - "line": 8 + "column": 25, + "line": 18 }, "start": { "column": 7, - "line": 8 + "line": 18 } } } @@ -20765,7 +20763,7 @@ "testsCompleted": 49, "static": true, "killedBy": [ - "1250" + "1251" ], "coveredBy": [ "298", @@ -20773,8 +20771,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20804,21 +20801,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1250", + "1108", "1251", "1252", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -20840,7 +20838,7 @@ "testsCompleted": 49, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -20848,8 +20846,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20879,21 +20876,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1250", + "1108", "1251", "1252", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -20915,7 +20913,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "1250" + "1251" ], "coveredBy": [ "298", @@ -20923,8 +20921,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -20954,21 +20951,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1250", + "1108", "1251", "1252", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -20990,7 +20988,7 @@ "testsCompleted": 47, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -20998,8 +20996,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21029,19 +21026,20 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1252", + "1108", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21063,7 +21061,7 @@ "testsCompleted": 38, "static": true, "killedBy": [ - "1255" + "1256" ], "coveredBy": [ "298", @@ -21071,8 +21069,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21102,19 +21099,20 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1252", + "1108", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21136,7 +21134,7 @@ "testsCompleted": 38, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -21144,8 +21142,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21175,19 +21172,20 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1252", + "1108", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21209,7 +21207,7 @@ "testsCompleted": 38, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -21217,8 +21215,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21248,19 +21245,20 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1252", + "1108", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21281,10 +21279,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "1250", "1251", "1252", - "1253" + "1253", + "1254" ], "location": { "end": { @@ -21306,7 +21304,7 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "1255" + "1256" ], "coveredBy": [ "298", @@ -21314,8 +21312,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21345,17 +21342,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21377,7 +21375,7 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -21385,8 +21383,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21416,17 +21413,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21448,7 +21446,7 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ "298", @@ -21456,8 +21454,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21487,17 +21484,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21519,7 +21517,7 @@ "testsCompleted": 37, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -21527,8 +21525,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21558,17 +21555,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21590,7 +21588,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1254" + "1255" ], "location": { "end": { @@ -21616,8 +21614,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21647,21 +21644,22 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1250", + "1108", "1251", "1252", "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21675,9 +21673,9 @@ } }, { - "id": "476", + "id": "462", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\n", "status": "CompileError", "static": true, @@ -21687,8 +21685,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21718,26 +21715,31 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", + "1108", + "1251", + "1252", + "1253", "1254", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { - "column": 25, - "line": 18 + "column": 78, + "line": 9 }, "start": { "column": 7, - "line": 18 + "line": 9 } } }, @@ -21754,8 +21756,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21785,17 +21786,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21809,9 +21811,9 @@ } }, { - "id": "475", + "id": "476", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\n", "status": "CompileError", "static": true, @@ -21821,8 +21823,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21852,17 +21853,18 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { @@ -21876,7 +21878,7 @@ } }, { - "id": "462", + "id": "475", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(21,19): error TS18048: 'role' is possibly 'undefined'.\nsrc/modules/game/dto/base/game-player/transformers/player-side.transformer.ts(22,20): error TS18048: 'role' is possibly 'undefined'.\n", @@ -21888,8 +21890,7 @@ "300", "314", "315", - "576", - "581", + "577", "582", "583", "584", @@ -21919,30 +21920,27 @@ "608", "609", "610", - "903", + "611", "904", "905", "906", - "1090", + "907", "1091", - "1106", + "1092", "1107", - "1250", - "1251", - "1252", - "1253", - "1254", + "1108", "1255", - "1256" + "1256", + "1257" ], "location": { "end": { - "column": 78, - "line": 9 + "column": 25, + "line": 18 }, "start": { "column": 7, - "line": 9 + "line": 18 } } } @@ -21961,7 +21959,7 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -21969,7 +21967,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -21999,23 +21996,24 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1245", + "1194", "1246", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22037,7 +22035,7 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -22045,7 +22043,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22075,23 +22072,24 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1245", + "1194", "1246", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22113,7 +22111,7 @@ "testsCompleted": 42, "static": true, "killedBy": [ - "1245" + "1246" ], "coveredBy": [ "298", @@ -22121,7 +22119,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22151,23 +22148,24 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1245", + "1194", "1246", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22189,10 +22187,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1245" + "1246" ], "coveredBy": [ - "1245" + "1246" ], "location": { "end": { @@ -22214,7 +22212,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -22222,7 +22220,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22252,22 +22249,23 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1246", + "1194", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22289,7 +22287,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "1246" + "1247" ], "coveredBy": [ "298", @@ -22297,7 +22295,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22327,22 +22324,23 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1246", + "1194", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22364,7 +22362,7 @@ "testsCompleted": 49, "static": true, "killedBy": [ - "590" + "591" ], "coveredBy": [ "298", @@ -22372,7 +22370,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22402,22 +22399,23 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1246", + "1194", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22439,7 +22437,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "1246" + "1247" ], "coveredBy": [ "298", @@ -22447,7 +22445,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22477,22 +22474,23 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1246", + "1194", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22514,7 +22512,7 @@ "testsCompleted": 33, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -22522,7 +22520,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22552,14 +22549,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22581,7 +22579,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "590" + "591" ], "coveredBy": [ "298", @@ -22589,7 +22587,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22619,14 +22616,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22648,7 +22646,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "1246" + "1247" ], "coveredBy": [ "298", @@ -22656,7 +22654,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22686,14 +22683,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22715,7 +22713,7 @@ "testsCompleted": 33, "static": true, "killedBy": [ - "1246" + "1247" ], "coveredBy": [ "298", @@ -22723,7 +22721,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22753,14 +22750,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22782,7 +22780,7 @@ "testsCompleted": 33, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -22790,7 +22788,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22820,14 +22817,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22849,7 +22847,7 @@ "testsCompleted": 41, "static": true, "killedBy": [ - "590" + "591" ], "coveredBy": [ "298", @@ -22857,7 +22855,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22887,14 +22884,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22916,7 +22914,7 @@ "testsCompleted": 33, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -22924,7 +22922,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -22954,14 +22951,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -22982,140 +22980,6 @@ "status": "Killed", "testsCompleted": 41, "static": true, - "killedBy": [ - "590" - ], - "coveredBy": [ - "298", - "299", - "300", - "314", - "315", - "581", - "582", - "583", - "584", - "585", - "586", - "587", - "588", - "589", - "590", - "591", - "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "1090", - "1091", - "1106", - "1107", - "1246", - "1247", - "1248", - "1249" - ], - "location": { - "end": { - "column": 27, - "line": 10 - }, - "start": { - "column": 17, - "line": 10 - } - } - }, - { - "id": "497", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 33, - "static": true, - "killedBy": [ - "608" - ], - "coveredBy": [ - "298", - "299", - "300", - "314", - "315", - "581", - "582", - "583", - "584", - "585", - "586", - "587", - "588", - "589", - "590", - "591", - "592", - "593", - "594", - "595", - "596", - "597", - "598", - "599", - "600", - "601", - "602", - "603", - "604", - "605", - "606", - "607", - "608", - "609", - "610", - "1090", - "1091", - "1106", - "1107", - "1246", - "1247", - "1248", - "1249" - ], - "location": { - "end": { - "column": 99, - "line": 10 - }, - "start": { - "column": 32, - "line": 10 - } - } - }, - { - "id": "498", - "mutatorName": "EqualityOperator", - "replacement": "(player as {\n position: number | undefined;\n}).position === undefined", - "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\"\nReceived array: [\"one of the players.role must have at least one role from `werewolves` side\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:643:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 41, - "static": true, "killedBy": [ "591" ], @@ -23125,7 +22989,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -23155,39 +23018,44 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { - "column": 99, + "column": 27, "line": 10 }, "start": { - "column": 32, + "column": 17, "line": 10 } } }, { - "id": "499", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "TypeError: Cannot create property 'position' on string 'toto'\n at gamePlayersPositionTransformer (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/dto/base/transformers/game-players-position.transformer.spec.ts:22:44)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "497", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 31, + "testsCompleted": 33, "static": true, "killedBy": [ - "1246" + "609" ], "coveredBy": [ - "581", + "298", + "299", + "300", + "314", + "315", "582", "583", "584", @@ -23217,31 +23085,37 @@ "608", "609", "610", - "1246", + "611", + "1091", + "1092", + "1107", + "1108", "1247", - "1248" + "1248", + "1249", + "1250" ], "location": { "end": { - "column": 4, - "line": 12 + "column": 99, + "line": 10 }, "start": { - "column": 102, + "column": 32, "line": 10 } } }, { - "id": "500", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "498", + "mutatorName": "EqualityOperator", + "replacement": "(player as {\n position: number | undefined;\n}).position === undefined", + "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\"\nReceived array: [\"one of the players.role must have at least one role from `werewolves` side\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:643:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 19, + "testsCompleted": 41, "static": true, "killedBy": [ - "608" + "592" ], "coveredBy": [ "298", @@ -23249,106 +23123,146 @@ "300", "314", "315", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", "608", "609", "610", - "849", - "850", - "851", - "852", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1190", - "1191", - "1192", - "1193", - "1249" + "1108", + "1247", + "1248", + "1249", + "1250" ], "location": { "end": { - "column": 35, - "line": 14 + "column": 99, + "line": 10 }, "start": { - "column": 19, - "line": 14 + "column": 32, + "line": 10 } } }, { - "id": "501", - "mutatorName": "EqualityOperator", - "replacement": "i <= value.length", - "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:321:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:308:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:59:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:641:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:633:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:37:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:28:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:27:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:25:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:13:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:12:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:30:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:12:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:11:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "RuntimeError", + "id": "499", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "TypeError: Cannot create property 'position' on string 'toto'\n at gamePlayersPositionTransformer (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/dto/base/transformers/game-players-position.transformer.spec.ts:22:44)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 31, "static": true, - "killedBy": [], + "killedBy": [ + "1247" + ], "coveredBy": [ - "298", - "299", - "300", - "314", - "315", + "582", + "583", + "584", + "585", + "586", + "587", + "588", + "589", + "590", + "591", + "592", + "593", + "594", + "595", + "596", + "597", + "598", + "599", + "600", + "601", + "602", + "603", + "604", + "605", + "606", + "607", "608", "609", "610", - "849", - "850", - "851", - "852", - "1090", - "1091", - "1106", - "1107", - "1190", - "1191", - "1192", - "1193", + "611", + "1247", + "1248", "1249" ], "location": { "end": { - "column": 35, - "line": 14 + "column": 4, + "line": 12 }, "start": { - "column": 19, - "line": 14 + "column": 102, + "line": 10 } } }, { - "id": "502", - "mutatorName": "EqualityOperator", - "replacement": "i >= value.length", - "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:895:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:856:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "RuntimeError", + "id": "500", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 19, "static": true, - "killedBy": [], + "killedBy": [ + "609" + ], "coveredBy": [ "298", "299", "300", "314", "315", - "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1249" + "1194", + "1250" ], "location": { "end": { @@ -23361,40 +23275,6 @@ } } }, - { - "id": "503", - "mutatorName": "UpdateOperator", - "replacement": "i--", - "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:25:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:13:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:12:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:30:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:12:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:11:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:641:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:633:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:37:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:28:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:27:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:321:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:308:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:59:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "RuntimeError", - "static": true, - "killedBy": [], - "coveredBy": [ - "298", - "299", - "300", - "314", - "315", - "608", - "609", - "610", - "1090", - "1091", - "1106", - "1107", - "1249" - ], - "location": { - "end": { - "column": 40, - "line": 14 - }, - "start": { - "column": 37, - "line": 14 - } - } - }, { "id": "504", "mutatorName": "BlockStatement", @@ -23404,7 +23284,7 @@ "testsCompleted": 11, "static": true, "killedBy": [ - "608" + "609" ], "coveredBy": [ "298", @@ -23412,14 +23292,14 @@ "300", "314", "315", - "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1249" + "1108", + "1250" ], "location": { "end": { @@ -23445,7 +23325,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -23475,23 +23354,24 @@ "608", "609", "610", - "849", + "611", "850", "851", "852", - "1090", + "853", "1091", - "1106", + "1092", "1107", - "1190", + "1108", "1191", "1192", "1193", - "1245", + "1194", "1246", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -23517,7 +23397,6 @@ "300", "314", "315", - "581", "582", "583", "584", @@ -23547,14 +23426,15 @@ "608", "609", "610", - "1090", + "611", "1091", - "1106", + "1092", "1107", - "1246", + "1108", "1247", "1248", - "1249" + "1249", + "1250" ], "location": { "end": { @@ -23566,6 +23446,121 @@ "line": 9 } } + }, + { + "id": "503", + "mutatorName": "UpdateOperator", + "replacement": "i--", + "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:321:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:308:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:59:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:641:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:633:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:30:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:12:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:11:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:25:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:13:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:12:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:37:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:28:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:27:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "RuntimeError", + "static": true, + "coveredBy": [ + "298", + "299", + "300", + "314", + "315", + "609", + "610", + "611", + "1091", + "1092", + "1107", + "1108", + "1250" + ], + "location": { + "end": { + "column": 40, + "line": 14 + }, + "start": { + "column": 37, + "line": 14 + } + } + }, + { + "id": "502", + "mutatorName": "EqualityOperator", + "replacement": "i >= value.length", + "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:895:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:856:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "RuntimeError", + "static": true, + "coveredBy": [ + "298", + "299", + "300", + "314", + "315", + "609", + "610", + "611", + "850", + "851", + "852", + "853", + "1091", + "1092", + "1107", + "1108", + "1191", + "1192", + "1193", + "1194", + "1250" + ], + "location": { + "end": { + "column": 35, + "line": 14 + }, + "start": { + "column": 19, + "line": 14 + } + } + }, + { + "id": "501", + "mutatorName": "EqualityOperator", + "replacement": "i <= value.length", + "statusReason": "undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:321:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:308:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:59:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:30:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:12:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts:11:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:25:42\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:13:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts:12:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:641:38\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:633:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:35:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34), undefinedCannot set properties of undefined (setting 'position') TypeError: Cannot set properties of undefined (setting 'position')\n at Object.gamePlayersPositionTransformer [as transformFn] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/src/modules/game/dto/base/transformers/game-players-position.transformer.ts:90:28)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:412:24\n at Array.forEach ()\n at TransformOperationExecutor.applyCustomTransformations (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:411:15)\n at TransformOperationExecutor.transform (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/TransformOperationExecutor.ts:334:33)\n at ClassTransformer.plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/ClassTransformer.ts:77:21)\n at plainToInstance (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/src/index.ts:84:27)\n at createFakeCreateGameDto (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/factories/game/dto/create-game/create-game.dto.factory.ts:26:25)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:37:41\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:28:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/helpers/game.helper.spec.ts:27:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "RuntimeError", + "static": true, + "coveredBy": [ + "298", + "299", + "300", + "314", + "315", + "609", + "610", + "611", + "850", + "851", + "852", + "853", + "1091", + "1092", + "1107", + "1108", + "1191", + "1192", + "1193", + "1194", + "1250" + ], + "location": { + "end": { + "column": 35, + "line": 14 + }, + "start": { + "column": 19, + "line": 14 + } + } } ], "source": "import { has } from \"lodash\";\nimport type { TransformFnParams } from \"class-transformer/types/interfaces\";\n\nfunction gamePlayersPositionTransformer(params: TransformFnParams): unknown {\n if (!Array.isArray(params.value)) {\n return params.value;\n }\n const value = params.value as unknown[];\n if (value.some(player => typeof player !== \"object\" ||\n has(player, \"position\") && (player as { position: number | undefined }).position !== undefined)) {\n return value;\n }\n const players = value as { position: number | undefined }[];\n for (let i = 0; i < value.length; i++) {\n players[i].position = i;\n }\n return value;\n}\n\nexport { gamePlayersPositionTransformer };" @@ -23582,14 +23577,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307" + "684", + "1308" ], "location": { "end": { @@ -23610,14 +23605,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307" + "684", + "1308" ], "location": { "end": { @@ -23639,17 +23634,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "683" + "684" ], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307" + "684", + "1308" ], "location": { "end": { @@ -23677,10 +23672,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "1314", - "1315" + "622", + "1315", + "1316" ], "location": { "end": { @@ -23702,10 +23697,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "1314", - "1315" + "622", + "1315", + "1316" ], "location": { "end": { @@ -23737,7 +23732,7 @@ "164", "165", "166", - "1289" + "1290" ], "location": { "end": { @@ -23753,68 +23748,6 @@ ], "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GamePlayEligibleTargetsBoundaries } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGamePlayEligibleTargetsBoundaries(gamePlayEligibleTargetsBoundaries: GamePlayEligibleTargetsBoundaries): GamePlayEligibleTargetsBoundaries {\n return plainToInstance(GamePlayEligibleTargetsBoundaries, toJSON(gamePlayEligibleTargetsBoundaries), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport { createGamePlayEligibleTargetsBoundaries };" }, - "src/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory.ts": { - "language": "typescript", - "mutants": [ - { - "id": "511", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory.ts(8,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "130", - "131", - "139", - "140", - "141", - "146", - "147", - "148", - "149", - "150", - "151", - "152", - "153", - "154", - "155", - "156", - "157", - "158", - "159", - "160", - "161", - "162", - "169", - "170", - "171", - "172", - "173", - "174", - "175", - "608", - "609", - "610", - "620", - "621", - "1283" - ], - "location": { - "end": { - "column": 2, - "line": 10 - }, - "start": { - "column": 115, - "line": 8 - } - } - } - ], - "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GamePlayEligibleTargets } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGamePlayEligibleTargets(gamePlayEligibleTargets: GamePlayEligibleTargets): GamePlayEligibleTargets {\n return plainToInstance(GamePlayEligibleTargets, toJSON(gamePlayEligibleTargets), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport { createGamePlayEligibleTargets };" - }, "src/modules/game/helpers/game-play/game-play-eligible-targets/interactable-player/interactable-player.factory.ts": { "language": "typescript", "mutants": [ @@ -23832,8 +23765,8 @@ "137", "138", "167", - "620", - "1288" + "621", + "1289" ], "location": { "end": { @@ -23861,9 +23794,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "562", - "950" + "473", + "563", + "951" ], "location": { "end": { @@ -23885,9 +23818,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "562", - "950" + "473", + "563", + "951" ], "location": { "end": { @@ -23909,9 +23842,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "562", - "950" + "473", + "563", + "951" ], "location": { "end": { @@ -23924,75 +23857,6 @@ } } }, - { - "id": "516", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(20,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "401", - "951" - ], - "location": { - "end": { - "column": 2, - "line": 27 - }, - "start": { - "column": 88, - "line": 20 - } - } - }, - { - "id": "517", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(21,25): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlay'.\n Type '{}' is missing the following properties from type 'GamePlay': source, action, occurrence\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "401", - "951" - ], - "location": { - "end": { - "column": 4, - "line": 26 - }, - "start": { - "column": 25, - "line": 21 - } - } - }, - { - "id": "518", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(22,34): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlaySource'.\n Property 'name' is missing in type '{}' but required in type 'GamePlaySource'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "401", - "951" - ], - "location": { - "end": { - "column": 72, - "line": 22 - }, - "start": { - "column": 34, - "line": 22 - } - } - }, { "id": "519", "mutatorName": "BlockStatement", @@ -24002,9 +23866,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "523", "524", - "952" + "525", + "953" ], "location": { "end": { @@ -24026,9 +23890,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "523", "524", - "952" + "525", + "953" ], "location": { "end": { @@ -24050,9 +23914,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "523", "524", - "952" + "525", + "953" ], "location": { "end": { @@ -24065,42 +23929,6 @@ } } }, - { - "id": "522", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(38,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "238", - "239", - "395", - "396", - "397", - "399", - "400", - "402", - "403", - "408", - "620", - "953", - "954", - "955", - "956" - ], - "location": { - "end": { - "column": 2, - "line": 51 - }, - "start": { - "column": 82, - "line": 38 - } - } - }, { "id": "523", "mutatorName": "ConditionalExpression", @@ -24110,7 +23938,7 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "238", @@ -24120,14 +23948,15 @@ "397", "399", "400", - "402", + "401", "403", - "408", - "620", - "953", + "404", + "409", + "621", "954", "955", - "956" + "956", + "957" ], "location": { "end": { @@ -24149,43 +23978,8 @@ "testsCompleted": 15, "static": false, "killedBy": [ - "953" - ], - "coveredBy": [ - "238", - "239", - "395", - "396", - "397", - "399", - "400", - "402", - "403", - "408", - "620", - "953", - "954", - "955", - "956" + "954" ], - "location": { - "end": { - "column": 55, - "line": 40 - }, - "start": { - "column": 7, - "line": 40 - } - } - }, - { - "id": "525", - "mutatorName": "EqualityOperator", - "replacement": "gamePlay.cause !== GamePlayCauses.ANGEL_PRESENCE", - "status": "Timeout", - "static": false, - "killedBy": [], "coveredBy": [ "238", "239", @@ -24194,14 +23988,15 @@ "397", "399", "400", - "402", + "401", "403", - "408", - "620", - "953", + "404", + "409", + "621", "954", "955", - "956" + "956", + "957" ], "location": { "end": { @@ -24223,10 +24018,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "953" + "954" ], "coveredBy": [ - "953" + "954" ], "location": { "end": { @@ -24248,7 +24043,7 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "956" + "957" ], "coveredBy": [ "238", @@ -24258,13 +24053,14 @@ "397", "399", "400", - "402", + "401", "403", - "408", - "620", - "954", + "404", + "409", + "621", "955", - "956" + "956", + "957" ], "location": { "end": { @@ -24286,7 +24082,7 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "954" + "955" ], "coveredBy": [ "238", @@ -24296,13 +24092,14 @@ "397", "399", "400", - "402", + "401", "403", - "408", - "620", - "954", + "404", + "409", + "621", "955", - "956" + "956", + "957" ], "location": { "end": { @@ -24315,41 +24112,6 @@ } } }, - { - "id": "529", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(42,26): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GamePlayCauses' is not assignable to parameter of type 'never'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "238", - "239", - "395", - "396", - "397", - "399", - "400", - "402", - "403", - "408", - "620", - "954", - "955", - "956" - ], - "location": { - "end": { - "column": 99, - "line": 42 - }, - "start": { - "column": 14, - "line": 42 - } - } - }, { "id": "530", "mutatorName": "BlockStatement", @@ -24359,7 +24121,7 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "395", @@ -24367,12 +24129,13 @@ "397", "399", "400", - "402", + "401", "403", - "408", - "620", - "954", - "955" + "404", + "409", + "621", + "955", + "956" ], "location": { "end": { @@ -24385,78 +24148,6 @@ } } }, - { - "id": "531", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(45,25): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlay'.\n Type '{}' is missing the following properties from type 'GamePlay': source, action, occurrence\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "238", - "239", - "395", - "396", - "397", - "399", - "400", - "402", - "403", - "408", - "620", - "953", - "954", - "955", - "956" - ], - "location": { - "end": { - "column": 4, - "line": 50 - }, - "start": { - "column": 25, - "line": 45 - } - } - }, - { - "id": "532", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(46,34): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlaySource'.\n Property 'name' is missing in type '{}' but required in type 'GamePlaySource'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "238", - "239", - "395", - "396", - "397", - "399", - "400", - "402", - "403", - "408", - "620", - "953", - "954", - "955", - "956" - ], - "location": { - "end": { - "column": 66, - "line": 46 - }, - "start": { - "column": 34, - "line": 46 - } - } - }, { "id": "533", "mutatorName": "BlockStatement", @@ -24469,11 +24160,11 @@ "239", "240", "241", - "410", - "608", + "411", "609", - "669", - "957" + "610", + "670", + "958" ], "location": { "end": { @@ -24498,11 +24189,11 @@ "239", "240", "241", - "410", - "608", + "411", "609", - "669", - "957" + "610", + "670", + "958" ], "location": { "end": { @@ -24527,11 +24218,11 @@ "239", "240", "241", - "410", - "608", + "411", "609", - "669", - "957" + "610", + "670", + "958" ], "location": { "end": { @@ -24553,7 +24244,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "958" + "959" ], "location": { "end": { @@ -24575,7 +24266,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "958" + "959" ], "location": { "end": { @@ -24597,7 +24288,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "958" + "959" ], "location": { "end": { @@ -24619,7 +24310,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "959" + "960" ], "location": { "end": { @@ -24641,7 +24332,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "959" + "960" ], "location": { "end": { @@ -24663,7 +24354,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "959" + "960" ], "location": { "end": { @@ -24685,8 +24376,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "541", - "960" + "542", + "961" ], "location": { "end": { @@ -24708,8 +24399,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "541", - "960" + "542", + "961" ], "location": { "end": { @@ -24731,8 +24422,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "541", - "960" + "542", + "961" ], "location": { "end": { @@ -24754,7 +24445,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "961" + "962" ], "location": { "end": { @@ -24776,7 +24467,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "961" + "962" ], "location": { "end": { @@ -24798,7 +24489,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "961" + "962" ], "location": { "end": { @@ -24820,7 +24511,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "962" + "963" ], "location": { "end": { @@ -24842,7 +24533,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "962" + "963" ], "location": { "end": { @@ -24864,7 +24555,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "962" + "963" ], "location": { "end": { @@ -24886,7 +24577,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "963" + "964" ], "location": { "end": { @@ -24908,7 +24599,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "963" + "964" ], "location": { "end": { @@ -24930,7 +24621,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "963" + "964" ], "location": { "end": { @@ -24952,7 +24643,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "964" + "965" ], "location": { "end": { @@ -24974,7 +24665,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "964" + "965" ], "location": { "end": { @@ -24996,7 +24687,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "964" + "965" ], "location": { "end": { @@ -25018,7 +24709,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "965" + "966" ], "location": { "end": { @@ -25040,7 +24731,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "965" + "966" ], "location": { "end": { @@ -25062,7 +24753,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "965" + "966" ], "location": { "end": { @@ -25084,7 +24775,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "966" + "967" ], "location": { "end": { @@ -25106,7 +24797,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "966" + "967" ], "location": { "end": { @@ -25128,7 +24819,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "966" + "967" ], "location": { "end": { @@ -25150,7 +24841,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "967" + "968" ], "location": { "end": { @@ -25172,7 +24863,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "967" + "968" ], "location": { "end": { @@ -25194,7 +24885,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "967" + "968" ], "location": { "end": { @@ -25216,7 +24907,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "968" + "969" ], "location": { "end": { @@ -25238,7 +24929,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "968" + "969" ], "location": { "end": { @@ -25260,7 +24951,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "968" + "969" ], "location": { "end": { @@ -25282,7 +24973,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "969" + "970" ], "location": { "end": { @@ -25304,7 +24995,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "969" + "970" ], "location": { "end": { @@ -25326,7 +25017,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "969" + "970" ], "location": { "end": { @@ -25348,8 +25039,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "551", - "970" + "552", + "971" ], "location": { "end": { @@ -25371,8 +25062,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "551", - "970" + "552", + "971" ], "location": { "end": { @@ -25394,8 +25085,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "551", - "970" + "552", + "971" ], "location": { "end": { @@ -25417,7 +25108,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "971" + "972" ], "location": { "end": { @@ -25439,7 +25130,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "971" + "972" ], "location": { "end": { @@ -25461,7 +25152,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "971" + "972" ], "location": { "end": { @@ -25483,7 +25174,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "972" + "973" ], "location": { "end": { @@ -25505,7 +25196,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "972" + "973" ], "location": { "end": { @@ -25527,7 +25218,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "972" + "973" ], "location": { "end": { @@ -25549,7 +25240,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "973" + "974" ], "location": { "end": { @@ -25571,7 +25262,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "973" + "974" ], "location": { "end": { @@ -25593,7 +25284,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "973" + "974" ], "location": { "end": { @@ -25615,7 +25306,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "974" + "975" ], "location": { "end": { @@ -25637,7 +25328,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "974" + "975" ], "location": { "end": { @@ -25659,7 +25350,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "974" + "975" ], "location": { "end": { @@ -25681,7 +25372,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "975" + "976" ], "location": { "end": { @@ -25703,7 +25394,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "975" + "976" ], "location": { "end": { @@ -25725,7 +25416,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "975" + "976" ], "location": { "end": { @@ -25747,7 +25438,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "976" + "977" ], "location": { "end": { @@ -25769,7 +25460,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "976" + "977" ], "location": { "end": { @@ -25791,7 +25482,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "976" + "977" ], "location": { "end": { @@ -25813,7 +25504,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "977" + "978" ], "location": { "end": { @@ -25835,7 +25526,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "977" + "978" ], "location": { "end": { @@ -25857,7 +25548,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "977" + "978" ], "location": { "end": { @@ -25870,81 +25561,6 @@ } } }, - { - "id": "596", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(242,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "238", - "239", - "240", - "241", - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "408", - "410", - "472", - "523", - "524", - "541", - "551", - "562", - "608", - "609", - "620", - "669", - "950", - "951", - "952", - "953", - "954", - "955", - "956", - "957", - "958", - "959", - "960", - "961", - "962", - "963", - "964", - "965", - "966", - "967", - "968", - "969", - "970", - "971", - "972", - "973", - "974", - "975", - "976", - "977", - "978", - "979" - ], - "location": { - "end": { - "column": 2, - "line": 244 - }, - "start": { - "column": 79, - "line": 242 - } - } - }, { "id": "597", "mutatorName": "ObjectLiteral", @@ -25954,7 +25570,7 @@ "testsCompleted": 54, "static": false, "killedBy": [ - "978" + "979" ], "coveredBy": [ "238", @@ -25969,19 +25585,19 @@ "401", "402", "403", - "408", - "410", - "472", - "523", + "404", + "409", + "411", + "473", "524", - "541", - "551", - "562", - "608", + "525", + "542", + "552", + "563", "609", - "620", - "669", - "950", + "610", + "621", + "670", "951", "952", "953", @@ -26010,7 +25626,8 @@ "976", "977", "978", - "979" + "979", + "980" ], "location": { "end": { @@ -26032,93 +25649,13 @@ "testsCompleted": 54, "static": false, "killedBy": [ - "978" - ], - "coveredBy": [ - "238", - "239", - "240", - "241", - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "408", - "410", - "472", - "523", - "524", - "541", - "551", - "562", - "608", - "609", - "620", - "669", - "950", - "951", - "952", - "953", - "954", - "955", - "956", - "957", - "958", - "959", - "960", - "961", - "962", - "963", - "964", - "965", - "966", - "967", - "968", - "969", - "970", - "971", - "972", - "973", - "974", - "975", - "976", - "977", - "978", "979" ], - "location": { - "end": { - "column": 127, - "line": 243 - }, - "start": { - "column": 123, - "line": 243 - } - } - }, - { - "id": "599", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(246,46): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "125", - "126", - "127", "238", "239", "240", "241", - "242", - "255", "395", "396", "397", @@ -26127,21 +25664,19 @@ "401", "402", "403", - "408", - "410", - "472", - "523", + "404", + "409", + "411", + "473", "524", - "541", - "551", - "562", - "608", + "525", + "542", + "552", + "563", "609", "610", - "620", "621", - "669", - "950", + "670", "951", "952", "953", @@ -26169,16 +25704,18 @@ "975", "976", "977", - "979" + "978", + "979", + "980" ], "location": { "end": { - "column": 2, - "line": 248 + "column": 127, + "line": 243 }, "start": { - "column": 55, - "line": 246 + "column": 123, + "line": 243 } } }, @@ -26191,7 +25728,7 @@ "testsCompleted": 60, "static": false, "killedBy": [ - "979" + "980" ], "coveredBy": [ "125", @@ -26211,21 +25748,21 @@ "401", "402", "403", - "408", - "410", - "472", - "523", + "404", + "409", + "411", + "473", "524", - "541", - "551", - "562", - "608", + "525", + "542", + "552", + "563", "609", "610", - "620", + "611", "621", - "669", - "950", + "622", + "670", "951", "952", "953", @@ -26253,7 +25790,8 @@ "975", "976", "977", - "979" + "978", + "980" ], "location": { "end": { @@ -26275,7 +25813,7 @@ "testsCompleted": 60, "static": false, "killedBy": [ - "979" + "980" ], "coveredBy": [ "125", @@ -26295,21 +25833,21 @@ "401", "402", "403", - "408", - "410", - "472", - "523", + "404", + "409", + "411", + "473", "524", - "541", - "551", - "562", - "608", + "525", + "542", + "552", + "563", "609", "610", - "620", + "611", "621", - "669", - "950", + "622", + "670", "951", "952", "953", @@ -26337,7 +25875,8 @@ "975", "976", "977", - "979" + "978", + "980" ], "location": { "end": { @@ -26349,6 +25888,411 @@ "line": 247 } } + }, + { + "id": "517", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(21,25): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlay'.\n Type '{}' is missing the following properties from type 'GamePlay': source, action, occurrence\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "402", + "952" + ], + "location": { + "end": { + "column": 4, + "line": 26 + }, + "start": { + "column": 25, + "line": 21 + } + } + }, + { + "id": "516", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(20,79): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "402", + "952" + ], + "location": { + "end": { + "column": 2, + "line": 27 + }, + "start": { + "column": 88, + "line": 20 + } + } + }, + { + "id": "518", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(22,34): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlaySource'.\n Property 'name' is missing in type '{}' but required in type 'GamePlaySource'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "402", + "952" + ], + "location": { + "end": { + "column": 72, + "line": 22 + }, + "start": { + "column": 34, + "line": 22 + } + } + }, + { + "id": "522", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(38,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "238", + "239", + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "409", + "621", + "954", + "955", + "956", + "957" + ], + "location": { + "end": { + "column": 2, + "line": 51 + }, + "start": { + "column": 82, + "line": 38 + } + } + }, + { + "id": "596", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(242,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "238", + "239", + "240", + "241", + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "409", + "411", + "473", + "524", + "525", + "542", + "552", + "563", + "609", + "610", + "621", + "670", + "951", + "952", + "953", + "954", + "955", + "956", + "957", + "958", + "959", + "960", + "961", + "962", + "963", + "964", + "965", + "966", + "967", + "968", + "969", + "970", + "971", + "972", + "973", + "974", + "975", + "976", + "977", + "978", + "979", + "980" + ], + "location": { + "end": { + "column": 2, + "line": 244 + }, + "start": { + "column": 79, + "line": 242 + } + } + }, + { + "id": "532", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(46,34): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlaySource'.\n Property 'name' is missing in type '{}' but required in type 'GamePlaySource'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "238", + "239", + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "409", + "621", + "954", + "955", + "956", + "957" + ], + "location": { + "end": { + "column": 66, + "line": 46 + }, + "start": { + "column": 34, + "line": 46 + } + } + }, + { + "id": "599", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(246,46): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "125", + "126", + "127", + "238", + "239", + "240", + "241", + "242", + "255", + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "409", + "411", + "473", + "524", + "525", + "542", + "552", + "563", + "609", + "610", + "611", + "621", + "622", + "670", + "951", + "952", + "953", + "954", + "955", + "956", + "957", + "958", + "959", + "960", + "961", + "962", + "963", + "964", + "965", + "966", + "967", + "968", + "969", + "970", + "971", + "972", + "973", + "974", + "975", + "976", + "977", + "978", + "980" + ], + "location": { + "end": { + "column": 2, + "line": 248 + }, + "start": { + "column": 55, + "line": 246 + } + } + }, + { + "id": "531", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(45,25): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlay'.\n Type '{}' is missing the following properties from type 'GamePlay': source, action, occurrence\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "238", + "239", + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "409", + "621", + "954", + "955", + "956", + "957" + ], + "location": { + "end": { + "column": 4, + "line": 50 + }, + "start": { + "column": 25, + "line": 45 + } + } + }, + { + "id": "529", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/helpers/game-play/game-play.factory.ts(42,26): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GamePlayCauses' is not assignable to parameter of type 'never'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "238", + "239", + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "409", + "621", + "955", + "956", + "957" + ], + "location": { + "end": { + "column": 99, + "line": 42 + }, + "start": { + "column": 14, + "line": 42 + } + } + }, + { + "id": "525", + "mutatorName": "EqualityOperator", + "replacement": "gamePlay.cause !== GamePlayCauses.ANGEL_PRESENCE", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -59,11 +59,11 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n \"_id\": \"1dcce4dacc3ea2c68b03ae7c\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1208:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "static": false, + "testsCompleted": 16, + "killedBy": [ + "621" + ], + "coveredBy": [ + "238", + "239", + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "409", + "621", + "954", + "955", + "956", + "957" + ], + "location": { + "end": { + "column": 55, + "line": 40 + }, + "start": { + "column": 7, + "line": 40 + } + } } ], "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GamePlayActions, GamePlayCauses, GamePlayOccurrences } from \"@/modules/game/enums/game-play.enum\";\nimport { PlayerAttributeNames, PlayerGroups } from \"@/modules/game/enums/player.enum\";\nimport { GamePlaySource } from \"@/modules/game/schemas/game-play/game-play-source/game-play-source.schema\";\nimport { GamePlay } from \"@/modules/game/schemas/game-play/game-play.schema\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGamePlaySurvivorsBuryDeadBodies(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.SURVIVORS }),\n action: GamePlayActions.BURY_DEAD_BODIES,\n occurrence: GamePlayOccurrences.CONSEQUENTIAL,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySheriffSettlesVotes(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerAttributeNames.SHERIFF }),\n action: GamePlayActions.SETTLE_VOTES,\n occurrence: GamePlayOccurrences.CONSEQUENTIAL,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySheriffDelegates(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerAttributeNames.SHERIFF }),\n action: GamePlayActions.DELEGATE,\n occurrence: GamePlayOccurrences.CONSEQUENTIAL,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySurvivorsVote(gamePlay: Partial = {}): GamePlay {\n let occurrence: GamePlayOccurrences = GamePlayOccurrences.ON_DAYS;\n if (gamePlay.cause === GamePlayCauses.ANGEL_PRESENCE) {\n occurrence = GamePlayOccurrences.FIRST_NIGHT_ONLY;\n } else if ([GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, GamePlayCauses.STUTTERING_JUDGE_REQUEST].includes(gamePlay.cause as GamePlayCauses)) {\n occurrence = GamePlayOccurrences.CONSEQUENTIAL;\n }\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.SURVIVORS }),\n action: GamePlayActions.VOTE,\n occurrence,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySurvivorsElectSheriff(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.SURVIVORS }),\n action: GamePlayActions.ELECT_SHERIFF,\n occurrence: GamePlayOccurrences.ANYTIME,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayThiefChoosesCard(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.THIEF }),\n action: GamePlayActions.CHOOSE_CARD,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayStutteringJudgeChoosesSign(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.STUTTERING_JUDGE }),\n action: GamePlayActions.CHOOSE_SIGN,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayScapegoatBansVoting(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.SCAPEGOAT }),\n action: GamePlayActions.BAN_VOTING,\n occurrence: GamePlayOccurrences.CONSEQUENTIAL,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayWolfHoundChoosesSide(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.WOLF_HOUND }),\n action: GamePlayActions.CHOOSE_SIDE,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayWildChildChoosesModel(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.WILD_CHILD }),\n action: GamePlayActions.CHOOSE_MODEL,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayFoxSniffs(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.FOX }),\n action: GamePlayActions.SNIFF,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayCharmedMeetEachOther(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.CHARMED }),\n action: GamePlayActions.MEET_EACH_OTHER,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayLoversMeetEachOther(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.LOVERS }),\n action: GamePlayActions.MEET_EACH_OTHER,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayThreeBrothersMeetEachOther(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.THREE_BROTHERS }),\n action: GamePlayActions.MEET_EACH_OTHER,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayTwoSistersMeetEachOther(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.TWO_SISTERS }),\n action: GamePlayActions.MEET_EACH_OTHER,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayScandalmongerMarks(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.SCANDALMONGER }),\n action: GamePlayActions.MARK,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayDefenderProtects(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.DEFENDER }),\n action: GamePlayActions.PROTECT,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayHunterShoots(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.HUNTER }),\n action: GamePlayActions.SHOOT,\n occurrence: GamePlayOccurrences.CONSEQUENTIAL,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayWitchUsesPotions(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.WITCH }),\n action: GamePlayActions.USE_POTIONS,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayPiedPiperCharms(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.PIED_PIPER }),\n action: GamePlayActions.CHARM,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayCupidCharms(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.CUPID }),\n action: GamePlayActions.CHARM,\n occurrence: GamePlayOccurrences.FIRST_NIGHT_ONLY,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySeerLooks(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.SEER }),\n action: GamePlayActions.LOOK,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayWhiteWerewolfEats(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.WHITE_WEREWOLF }),\n action: GamePlayActions.EAT,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayBigBadWolfEats(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: RoleNames.BIG_BAD_WOLF }),\n action: GamePlayActions.EAT,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlayWerewolvesEat(gamePlay: Partial = {}): GamePlay {\n return createGamePlay({\n source: createGamePlaySource({ name: PlayerGroups.WEREWOLVES }),\n action: GamePlayActions.EAT,\n occurrence: GamePlayOccurrences.ON_NIGHTS,\n ...gamePlay,\n });\n}\n\nfunction createGamePlaySource(gamePlaySource: GamePlaySource): GamePlaySource {\n return plainToInstance(GamePlaySource, gamePlaySource, { ...DEFAULT_PLAIN_TO_INSTANCE_OPTIONS, excludeExtraneousValues: true });\n}\n\nfunction createGamePlay(gamePlay: GamePlay): GamePlay {\n return plainToInstance(GamePlay, gamePlay, { ...DEFAULT_PLAIN_TO_INSTANCE_OPTIONS, excludeExtraneousValues: true });\n}\n\nexport {\n createGamePlaySurvivorsBuryDeadBodies,\n createGamePlaySheriffSettlesVotes,\n createGamePlaySheriffDelegates,\n createGamePlaySurvivorsVote,\n createGamePlaySurvivorsElectSheriff,\n createGamePlayThiefChoosesCard,\n createGamePlayStutteringJudgeChoosesSign,\n createGamePlayScapegoatBansVoting,\n createGamePlayWolfHoundChoosesSide,\n createGamePlayWildChildChoosesModel,\n createGamePlayFoxSniffs,\n createGamePlayCharmedMeetEachOther,\n createGamePlayLoversMeetEachOther,\n createGamePlayThreeBrothersMeetEachOther,\n createGamePlayTwoSistersMeetEachOther,\n createGamePlayScandalmongerMarks,\n createGamePlayDefenderProtects,\n createGamePlayHunterShoots,\n createGamePlayWitchUsesPotions,\n createGamePlayPiedPiperCharms,\n createGamePlayCupidCharms,\n createGamePlaySeerLooks,\n createGamePlayWhiteWerewolfEats,\n createGamePlayBigBadWolfEats,\n createGamePlayWerewolvesEat,\n createGamePlaySource,\n createGamePlay,\n};" @@ -26365,14 +26309,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", "621", - "927", + "622", "928", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26394,14 +26338,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", "621", - "927", + "622", "928", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26423,14 +26367,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", "621", - "927", + "622", "928", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26452,14 +26396,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", "621", - "927", + "622", "928", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26481,9 +26425,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", - "621", - "927" + "620", + "622", + "928" ], "location": { "end": { @@ -26505,11 +26449,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26531,11 +26475,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26557,11 +26501,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26583,11 +26527,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26609,7 +26553,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "928" + "929" ], "location": { "end": { @@ -26631,11 +26575,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26657,11 +26601,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26683,11 +26627,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26709,7 +26653,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "929" + "930" ], "location": { "end": { @@ -26731,14 +26675,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "930" + "931" ], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26760,14 +26704,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "930" + "931" ], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26789,14 +26733,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26818,11 +26762,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "928", + "621", "929", "930", - "937" + "931", + "938" ], "location": { "end": { @@ -26844,14 +26788,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "931", + "622", "932", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -26873,14 +26817,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "931", + "622", "932", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -26902,14 +26846,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "931", + "622", "932", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -26931,14 +26875,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "931", + "622", "932", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -26960,9 +26904,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "619", "620", - "931" + "621", + "932" ], "location": { "end": { @@ -26984,11 +26928,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "621", - "932", + "619", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27010,11 +26954,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "621", - "932", + "619", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27036,11 +26980,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "621", - "932", + "619", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27062,11 +27006,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "621", - "932", + "619", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27088,8 +27032,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "932" + "619", + "933" ], "location": { "end": { @@ -27111,13 +27055,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "933" + "934" ], "coveredBy": [ - "621", - "932", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27139,13 +27083,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "621", - "932", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27167,13 +27111,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "933" + "934" ], "coveredBy": [ - "621", - "932", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27195,11 +27139,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", - "621", - "932", + "619", + "622", "933", - "937" + "934", + "938" ], "location": { "end": { @@ -27221,14 +27165,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "934", + "622", "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27250,14 +27194,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "934", + "622", "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27279,14 +27223,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "934", + "622", "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27308,14 +27252,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "934", + "622", "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27337,11 +27281,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "934" + "622", + "935" ], "location": { "end": { @@ -27363,12 +27307,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "936" + "937" ], "coveredBy": [ - "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27390,9 +27334,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27414,12 +27358,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "935" + "936" ], "coveredBy": [ - "935", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -27441,10 +27385,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "935" + "936" ], "coveredBy": [ - "935" + "936" ], "location": { "end": { @@ -27466,11 +27410,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "937" + "622", + "938" ], "location": { "end": { @@ -27492,13 +27436,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "619", "620", "621", - "937" + "622", + "938" ], "location": { "end": { @@ -27520,13 +27464,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "937" + "938" ], "coveredBy": [ - "619", "620", "621", - "937" + "622", + "938" ], "location": { "end": { @@ -27551,10 +27495,10 @@ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27576,16 +27520,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "939" + "940" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27607,16 +27551,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27638,16 +27582,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "939" + "940" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27669,16 +27613,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27700,16 +27644,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27731,16 +27675,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27762,16 +27706,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27799,10 +27743,10 @@ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27824,16 +27768,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "938" + "939" ], "coveredBy": [ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27861,10 +27805,10 @@ "252", "253", "255", - "620", "621", - "938", - "939" + "622", + "939", + "940" ], "location": { "end": { @@ -27892,9 +27836,9 @@ "252", "253", "255", - "620", "621", - "939" + "622", + "940" ], "location": { "end": { @@ -27922,9 +27866,9 @@ "252", "253", "255", - "620", "621", - "939" + "622", + "940" ], "location": { "end": { @@ -27950,12 +27894,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -27984,12 +27928,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28011,19 +27955,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28052,12 +27996,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28086,12 +28030,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28120,12 +28064,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28147,19 +28091,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "942" + "943" ], "coveredBy": [ "245", "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28188,12 +28132,12 @@ "246", "247", "248", - "620", "621", - "940", + "622", "941", "942", - "943" + "943", + "944" ], "location": { "end": { @@ -28215,17 +28159,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "943" + "944" ], "coveredBy": [ "245", "246", "247", - "620", "621", - "940", + "622", "941", - "943" + "942", + "944" ], "location": { "end": { @@ -28247,17 +28191,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", "246", "247", - "620", "621", - "940", + "622", "941", - "943" + "942", + "944" ], "location": { "end": { @@ -28279,16 +28223,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "941" + "942" ], "coveredBy": [ "245", "246", "247", - "620", "621", - "940", - "941" + "622", + "941", + "942" ], "location": { "end": { @@ -28310,16 +28254,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", "246", "247", - "620", "621", - "940", - "941" + "622", + "941", + "942" ], "location": { "end": { @@ -28344,10 +28288,9 @@ "237", "238", "239", - "620", - "944", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -28369,16 +28312,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "944" + "945" ], "coveredBy": [ "237", "238", "239", - "620", - "944", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -28400,16 +28342,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "946" + "947" ], "coveredBy": [ "237", "238", "239", - "620", - "944", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -28437,9 +28378,8 @@ "237", "238", "239", - "620", - "945", - "946" + "946", + "947" ], "location": { "end": { @@ -28461,10 +28401,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28486,13 +28426,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "947" + "948" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28514,13 +28454,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28542,10 +28482,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28567,10 +28507,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28592,13 +28532,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28620,13 +28560,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28648,12 +28588,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "948" + "949" ], "coveredBy": [ - "621", - "948", - "949" + "622", + "949", + "950" ], "location": { "end": { @@ -28675,12 +28615,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "949" + "950" ], "coveredBy": [ - "621", - "948", - "949" + "622", + "949", + "950" ], "location": { "end": { @@ -28702,12 +28642,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "948" + "949" ], "coveredBy": [ - "621", - "948", - "949" + "622", + "949", + "950" ], "location": { "end": { @@ -28729,13 +28669,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "947" + "948" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28757,13 +28697,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "949" + "950" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28785,13 +28725,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "948" + "949" ], "coveredBy": [ - "621", - "947", + "622", "948", - "949" + "949", + "950" ], "location": { "end": { @@ -28813,12 +28753,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "948" + "949" ], "coveredBy": [ - "621", - "948", - "949" + "622", + "949", + "950" ], "location": { "end": { @@ -28840,12 +28780,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "948" + "949" ], "coveredBy": [ - "621", - "948", - "949" + "622", + "949", + "950" ], "location": { "end": { @@ -28873,9 +28813,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", - "797", - "1063" + "789", + "798", + "1064" ], "location": { "end": { @@ -28897,9 +28837,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", - "797", - "1063" + "789", + "798", + "1064" ], "location": { "end": { @@ -28921,10 +28861,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "796", - "798", - "1064", - "1065" + "797", + "799", + "1065", + "1066" ], "location": { "end": { @@ -28946,10 +28886,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "796", - "798", - "1064", - "1065" + "797", + "799", + "1065", + "1066" ], "location": { "end": { @@ -28971,12 +28911,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "798" + "799" ], "coveredBy": [ - "796", - "798", - "1064" + "797", + "799", + "1065" ], "location": { "end": { @@ -28998,9 +28938,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "799", - "1066" + "794", + "800", + "1067" ], "location": { "end": { @@ -29022,9 +28962,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "793", - "799", - "1066" + "794", + "800", + "1067" ], "location": { "end": { @@ -29046,10 +28986,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "800", - "1067", - "1068" + "796", + "801", + "1068", + "1069" ], "location": { "end": { @@ -29071,10 +29011,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "800", - "1067", - "1068" + "796", + "801", + "1068", + "1069" ], "location": { "end": { @@ -29096,12 +29036,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "800" + "801" ], "coveredBy": [ - "795", - "800", - "1067" + "796", + "801", + "1068" ], "location": { "end": { @@ -29123,9 +29063,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "802", - "1069", - "1070" + "803", + "1070", + "1071" ], "location": { "end": { @@ -29147,9 +29087,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "802", - "1069", - "1070" + "803", + "1070", + "1071" ], "location": { "end": { @@ -29171,11 +29111,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1069" + "1070" ], "coveredBy": [ - "802", - "1069" + "803", + "1070" ], "location": { "end": { @@ -29197,10 +29137,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "794", - "801", - "1071", - "1072" + "795", + "802", + "1072", + "1073" ], "location": { "end": { @@ -29222,10 +29162,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "794", - "801", - "1071", - "1072" + "795", + "802", + "1072", + "1073" ], "location": { "end": { @@ -29247,12 +29187,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1071" + "1072" ], "coveredBy": [ - "794", - "801", - "1071" + "795", + "802", + "1072" ], "location": { "end": { @@ -29274,11 +29214,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "789", "790", "791", - "803", - "1073" + "792", + "804", + "1074" ], "location": { "end": { @@ -29300,11 +29240,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "789", "790", "791", - "803", - "1073" + "792", + "804", + "1074" ], "location": { "end": { @@ -29326,9 +29266,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "792", - "804", - "1074" + "793", + "805", + "1075" ], "location": { "end": { @@ -29350,9 +29290,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "792", - "804", - "1074" + "793", + "805", + "1075" ], "location": { "end": { @@ -29374,7 +29314,6 @@ "static": false, "killedBy": [], "coveredBy": [ - "788", "789", "790", "791", @@ -29391,7 +29330,7 @@ "802", "803", "804", - "1063", + "805", "1064", "1065", "1066", @@ -29403,7 +29342,8 @@ "1072", "1073", "1074", - "1075" + "1075", + "1076" ], "location": { "end": { @@ -29422,36 +29362,6 @@ "src/modules/game/helpers/game.factory.ts": { "language": "typescript", "mutants": [ - { - "id": "711", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.factory.ts(9,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "233", - "234", - "235", - "236", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 2, - "line": 11 - }, - "start": { - "column": 103, - "line": 9 - } - } - }, { "id": "712", "mutatorName": "BlockStatement", @@ -29500,17 +29410,6 @@ "392", "393", "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", "406", "407", "408", @@ -29582,9 +29481,9 @@ "474", "475", "476", - "485", + "477", "486", - "512", + "487", "513", "514", "515", @@ -29636,11 +29535,11 @@ "561", "562", "563", - "618", + "564", "619", "620", "621", - "855", + "622", "856", "857", "858", @@ -29652,15 +29551,15 @@ "864", "865", "866", - "869", + "867", "870", "871", "872", "873", "874", "875", - "878", - "881", + "876", + "879", "882", "883", "884", @@ -29682,8 +29581,8 @@ "900", "901", "902", - "980", - "986", + "903", + "981", "987", "988", "989", @@ -29691,7 +29590,7 @@ "991", "992", "993", - "1047", + "994", "1048", "1049", "1050", @@ -29707,8 +29606,9 @@ "1060", "1061", "1062", - "1084", - "1280" + "1063", + "1085", + "1281" ], "location": { "end": { @@ -29720,56 +29620,53 @@ "line": 13 } } - } - ], - "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GameWithCurrentPlay } from \"@/modules/game/types/game-with-current-play\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGameWithCurrentGamePlay(gameWithCurrentPlay: GameWithCurrentPlay): GameWithCurrentPlay {\n return plainToInstance(GameWithCurrentPlay, toJSON(gameWithCurrentPlay), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nfunction createGame(game: Game): Game {\n return plainToInstance(Game, toJSON(game), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport {\n createGameWithCurrentGamePlay,\n createGame,\n};" - }, - "src/modules/game/helpers/game.helper.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "713", + "id": "711", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(16,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game.factory.ts(9,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "260", - "261", - "270", - "271", - "283", - "284", - "298", - "300", - "309", - "310", - "314", - "315", - "326", - "335", - "348", - "351", - "354", - "608", + "233", + "234", + "235", + "236", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", "609", "610", - "717", - "718" + "611", + "621", + "622" ], "location": { "end": { "column": 2, - "line": 18 + "line": 11 }, "start": { - "column": 102, - "line": 16 + "column": 103, + "line": 9 } } - }, + } + ], + "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GameWithCurrentPlay } from \"@/modules/game/types/game-with-current-play\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGameWithCurrentGamePlay(gameWithCurrentPlay: GameWithCurrentPlay): GameWithCurrentPlay {\n return plainToInstance(GameWithCurrentPlay, toJSON(gameWithCurrentPlay), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nfunction createGame(game: Game): Game {\n return plainToInstance(Game, toJSON(game), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport {\n createGameWithCurrentGamePlay,\n createGame,\n};" + }, + "src/modules/game/helpers/game.helper.ts": { + "language": "typescript", + "mutants": [ { "id": "714", "mutatorName": "ArrowFunction", @@ -29779,7 +29676,7 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "260", @@ -29799,11 +29696,11 @@ "348", "351", "354", - "608", "609", "610", - "717", - "718" + "611", + "718", + "719" ], "location": { "end": { @@ -29825,7 +29722,7 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "260", @@ -29845,11 +29742,11 @@ "348", "351", "354", - "608", "609", "610", - "717", - "718" + "611", + "718", + "719" ], "location": { "end": { @@ -29871,7 +29768,7 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "260", @@ -29891,11 +29788,11 @@ "348", "351", "354", - "608", "609", "610", - "717", - "718" + "611", + "718", + "719" ], "location": { "end": { @@ -29917,7 +29814,7 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "260", @@ -29937,11 +29834,11 @@ "348", "351", "354", - "608", "609", "610", - "717", - "718" + "611", + "718", + "719" ], "location": { "end": { @@ -29955,13 +29852,16 @@ } }, { - "id": "718", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(20,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "719", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -281,17 +281,10 @@\n \"status\": \"playing\",\n \"tick\": 4020081480695809,\n \"turn\": 6813268156874752,\n \"upcomingPlays\": Array [\n Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n- Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1100:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 155, "static": false, - "killedBy": [], + "killedBy": [ + "621" + ], "coveredBy": [ "26", "27", @@ -30035,236 +29935,42 @@ "402", "403", "404", - "420", - "421", - "422", - "423", - "426", - "427", - "428", - "429", - "430", - "433", - "434", - "435", - "436", - "437", - "472", - "512", - "513", - "514", - "515", - "516", - "527", - "528", - "529", - "530", - "531", - "532", - "544", - "545", - "546", - "547", - "548", - "620", - "621", - "719", - "720", - "789", - "790", - "791", - "792", - "793", - "794", - "795", - "796", - "798", - "799", - "800", - "801", - "802", - "803", - "804", - "805", - "818", - "819", - "820", - "821", - "822", - "823", - "824", - "825", - "826", - "827", - "828", - "829", - "830", - "831", - "832", - "833", - "834", - "835", - "836", - "837", - "838", - "839", - "840", - "841", - "842", - "843", - "844", - "845", - "846", - "847", - "980", - "986", - "987", - "988", - "989", - "990", - "991", - "992", - "993", - "1064", - "1065", - "1067", - "1068", - "1069", - "1070", - "1071", - "1072" - ], - "location": { - "end": { - "column": 2, - "line": 22 - }, - "start": { - "column": 84, - "line": 20 - } - } - }, - { - "id": "719", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -281,17 +281,10 @@\n \"status\": \"playing\",\n \"tick\": 4020081480695809,\n \"turn\": 6813268156874752,\n \"upcomingPlays\": Array [\n Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n- Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1100:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 155, - "static": false, - "killedBy": [ - "620" - ], - "coveredBy": [ - "26", - "27", - "28", - "30", - "118", - "119", - "120", - "121", - "122", - "124", - "240", - "241", - "242", - "243", - "244", - "262", - "263", - "264", - "265", - "266", - "267", - "272", - "273", - "274", - "275", - "285", - "286", - "287", - "288", - "289", - "290", - "291", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "311", - "312", - "313", - "316", - "317", - "318", - "319", - "320", - "321", - "322", - "341", - "342", - "343", - "344", - "345", - "346", - "347", - "349", - "350", - "352", - "353", - "355", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "420", + "405", "421", "422", "423", - "426", + "424", "427", "428", "429", "430", - "433", + "431", "434", "435", "436", "437", - "472", - "512", + "438", + "473", "513", "514", "515", "516", - "527", + "517", "528", "529", "530", "531", "532", - "544", + "533", "545", "546", "547", "548", - "620", + "549", "621", - "719", + "622", "720", - "789", + "721", "790", "791", "792", @@ -30272,7 +29978,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -30280,7 +29986,7 @@ "803", "804", "805", - "818", + "806", "819", "820", "821", @@ -30310,8 +30016,8 @@ "845", "846", "847", - "980", - "986", + "848", + "981", "987", "988", "989", @@ -30319,14 +30025,15 @@ "991", "992", "993", - "1064", + "994", "1065", - "1067", + "1066", "1068", "1069", "1070", "1071", - "1072" + "1072", + "1073" ], "location": { "end": { @@ -30423,42 +30130,42 @@ "402", "403", "404", - "420", + "405", "421", "422", "423", - "426", + "424", "427", "428", "429", "430", - "433", + "431", "434", "435", "436", "437", - "472", - "512", + "438", + "473", "513", "514", "515", "516", - "527", + "517", "528", "529", "530", "531", "532", - "544", + "533", "545", "546", "547", "548", - "620", + "549", "621", - "719", + "622", "720", - "789", + "721", "790", "791", "792", @@ -30466,7 +30173,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -30474,18 +30181,18 @@ "803", "804", "805", - "819", + "806", "820", "821", "822", - "824", + "823", "825", "826", "827", "828", "829", "830", - "832", + "831", "833", "834", "835", @@ -30495,13 +30202,13 @@ "839", "840", "841", - "843", + "842", "844", "845", "846", "847", - "980", - "986", + "848", + "981", "987", "988", "989", @@ -30509,14 +30216,15 @@ "991", "992", "993", - "1064", + "994", "1065", - "1067", + "1066", "1068", "1069", "1070", "1071", - "1072" + "1072", + "1073" ], "location": { "end": { @@ -30613,42 +30321,42 @@ "402", "403", "404", - "420", + "405", "421", "422", "423", - "426", + "424", "427", "428", "429", "430", - "433", + "431", "434", "435", "436", "437", - "472", - "512", + "438", + "473", "513", "514", "515", "516", - "527", + "517", "528", "529", "530", "531", "532", - "544", + "533", "545", "546", "547", "548", - "620", + "549", "621", - "719", + "622", "720", - "789", + "721", "790", "791", "792", @@ -30656,7 +30364,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -30664,18 +30372,18 @@ "803", "804", "805", - "819", + "806", "820", "821", "822", - "824", + "823", "825", "826", "827", "828", "829", "830", - "832", + "831", "833", "834", "835", @@ -30685,13 +30393,13 @@ "839", "840", "841", - "843", + "842", "844", "845", "846", "847", - "980", - "986", + "848", + "981", "987", "988", "989", @@ -30699,14 +30407,15 @@ "991", "992", "993", - "1064", + "994", "1065", - "1067", + "1066", "1068", "1069", "1070", "1071", - "1072" + "1072", + "1073" ], "location": { "end": { @@ -30728,7 +30437,7 @@ "testsCompleted": 150, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "26", @@ -30803,42 +30512,42 @@ "402", "403", "404", - "420", + "405", "421", "422", "423", - "426", + "424", "427", "428", "429", "430", - "433", + "431", "434", "435", "436", "437", - "472", - "512", + "438", + "473", "513", "514", "515", "516", - "527", + "517", "528", "529", "530", "531", "532", - "544", + "533", "545", "546", "547", "548", - "620", + "549", "621", - "719", + "622", "720", - "789", + "721", "790", "791", "792", @@ -30846,7 +30555,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -30854,18 +30563,18 @@ "803", "804", "805", - "819", + "806", "820", "821", "822", - "824", + "823", "825", "826", "827", "828", "829", "830", - "832", + "831", "833", "834", "835", @@ -30875,13 +30584,13 @@ "839", "840", "841", - "843", + "842", "844", "845", "846", "847", - "980", - "986", + "848", + "981", "987", "988", "989", @@ -30889,14 +30598,15 @@ "991", "992", "993", - "1064", + "994", "1065", - "1067", + "1066", "1068", "1069", "1070", "1071", - "1072" + "1072", + "1073" ], "location": { "end": { @@ -30909,46 +30619,6 @@ } } }, - { - "id": "723", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(24,66): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "222", - "225", - "226", - "241", - "323", - "327", - "328", - "329", - "330", - "331", - "332", - "336", - "337", - "338", - "339", - "340", - "610", - "721", - "722" - ], - "location": { - "end": { - "column": 2, - "line": 26 - }, - "start": { - "column": 75, - "line": 24 - } - } - }, { "id": "724", "mutatorName": "MethodExpression", @@ -30977,9 +30647,9 @@ "338", "339", "340", - "610", - "721", - "722" + "611", + "722", + "723" ], "location": { "end": { @@ -31020,9 +30690,9 @@ "338", "339", "340", - "610", - "721", - "722" + "611", + "722", + "723" ], "location": { "end": { @@ -31063,9 +30733,9 @@ "338", "339", "340", - "610", - "721", - "722" + "611", + "722", + "723" ], "location": { "end": { @@ -31106,9 +30776,9 @@ "338", "339", "340", - "610", - "721", - "722" + "611", + "722", + "723" ], "location": { "end": { @@ -31149,9 +30819,9 @@ "338", "339", "340", - "610", - "721", - "722" + "611", + "722", + "723" ], "location": { "end": { @@ -31181,23 +30851,22 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "736", + "725", "737", "738", "739", "740", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", "806", @@ -31208,8 +30877,9 @@ "811", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31231,7 +30901,7 @@ "testsCompleted": 41, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "221", @@ -31242,23 +30912,22 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "736", + "725", "737", "738", "739", "740", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", "806", @@ -31269,8 +30938,9 @@ "811", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31292,7 +30962,7 @@ "testsCompleted": 46, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "221", @@ -31303,23 +30973,22 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "736", + "725", "737", "738", "739", "740", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", "806", @@ -31330,8 +30999,9 @@ "811", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31353,7 +31023,7 @@ "testsCompleted": 36, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "221", @@ -31364,31 +31034,31 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "737", + "725", "738", - "740", + "739", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", - "807", + "806", "808", "809", - "811", + "810", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31417,31 +31087,31 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "737", + "725", "738", - "740", + "739", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", - "807", + "806", "808", "809", - "811", + "810", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31463,7 +31133,7 @@ "testsCompleted": 36, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "221", @@ -31474,31 +31144,31 @@ "244", "281", "282", - "620", "621", - "723", + "622", "724", - "737", + "725", "738", - "740", + "739", "741", - "758", + "742", "759", - "789", + "760", "790", "791", "792", - "803", + "793", "804", "805", - "807", + "806", "808", "809", - "811", + "810", "812", "813", - "1073", - "1074" + "814", + "1074", + "1075" ], "location": { "end": { @@ -31521,52 +31191,51 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "432", - "435", + "412", + "417", + "433", "436", "437", - "439", - "441", - "445", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", + "468", + "476", "533", "534", "535", "536", "537", - "618", - "620", + "538", + "619", "621", - "650", + "622", "651", "652", "653", - "670", + "654", "671", "672", "673", "674", "675", - "677", + "676", "678", - "725", + "679", "726", "727", "728", - "764", + "729", "765", "766", "767", @@ -31585,24 +31254,25 @@ "780", "781", "782", - "889", + "783", "890", "891", - "896", + "892", "897", "898", - "928", + "899", "929", "930", - "932", + "931", "933", - "937", - "1050", + "934", + "938", "1051", "1052", - "1056", + "1053", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -31628,52 +31298,51 @@ ], "coveredBy": [ "391", - "411", - "416", - "432", - "435", + "412", + "417", + "433", "436", "437", - "439", - "441", - "445", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", + "468", + "476", "533", "534", "535", "536", "537", - "618", - "620", + "538", + "619", "621", - "650", + "622", "651", "652", "653", - "670", + "654", "671", "672", "673", "674", "675", - "677", + "676", "678", - "725", + "679", "726", "727", "728", - "764", + "729", "765", "766", "767", @@ -31692,24 +31361,25 @@ "780", "781", "782", - "889", + "783", "890", "891", - "896", + "892", "897", "898", - "928", + "899", "929", "930", - "932", + "931", "933", - "937", - "1050", + "934", + "938", "1051", "1052", - "1056", + "1053", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -31731,17 +31401,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "727", + "538", "728", - "768", + "729", "769", "770", "771", @@ -31756,9 +31425,10 @@ "780", "781", "782", - "889", + "783", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -31780,17 +31450,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "727", + "538", "728", - "768", + "729", "769", "770", "771", @@ -31805,9 +31474,10 @@ "780", "781", "782", - "889", + "783", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -31829,17 +31499,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "727", + "538", "728", - "768", + "729", "769", "770", "771", @@ -31854,9 +31523,10 @@ "780", "781", "782", - "889", + "783", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -31878,17 +31548,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "727", + "538", "728", - "768", + "729", "769", "770", "771", @@ -31903,9 +31572,10 @@ "780", "781", "782", - "889", + "783", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -31927,9 +31597,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "728", - "772", - "773" + "729", + "773", + "774" ], "location": { "end": { @@ -31951,10 +31621,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "729", "730", "731", - "732" + "732", + "733" ], "location": { "end": { @@ -31976,13 +31646,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "729" + "730" ], "coveredBy": [ - "729", "730", "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32004,13 +31674,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "729" + "730" ], "coveredBy": [ - "729", "730", "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32032,13 +31702,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "729" + "730" ], "coveredBy": [ - "729", "730", "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32060,13 +31730,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "729" + "730" ], "coveredBy": [ - "729", "730", "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32088,8 +31758,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32111,8 +31781,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32134,8 +31804,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32157,8 +31827,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "731", - "732" + "732", + "733" ], "location": { "end": { @@ -32180,7 +31850,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "732" + "733" ], "location": { "end": { @@ -32202,14 +31872,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "674", "675", - "733", + "676", "734", "735", - "935", + "736", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -32231,14 +31901,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "674", "675", - "733", + "676", "734", "735", - "935", + "736", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -32260,16 +31930,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "733" + "734" ], "coveredBy": [ - "674", "675", - "733", - "735", - "935", + "676", + "734", + "736", "936", - "937" + "937", + "938" ], "location": { "end": { @@ -32291,9 +31961,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32314,9 +31984,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32338,12 +32008,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "737" + "738" ], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32364,9 +32034,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32388,12 +32058,12 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "736" + "737" ], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32415,12 +32085,12 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "736" + "737" ], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32442,12 +32112,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "736" + "737" ], "coveredBy": [ - "736", "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32469,11 +32139,11 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "738" + "739" ], "coveredBy": [ - "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32495,11 +32165,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "737" + "738" ], "coveredBy": [ - "737", - "738" + "738", + "739" ], "location": { "end": { @@ -32521,9 +32191,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32545,12 +32215,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "739" + "740" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32572,12 +32242,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "740" + "741" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32599,12 +32269,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "739" + "740" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32626,12 +32296,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "739" + "740" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32653,12 +32323,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "739" + "740" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32680,12 +32350,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "739" + "740" ], "coveredBy": [ - "739", "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32707,11 +32377,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "741" + "742" ], "coveredBy": [ - "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32733,11 +32403,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "740" + "741" ], "coveredBy": [ - "740", - "741" + "741", + "742" ], "location": { "end": { @@ -32759,12 +32429,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -32781,7 +32450,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -32803,15 +32473,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -32828,7 +32497,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -32850,15 +32520,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "788" + "789" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -32875,7 +32544,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -32897,15 +32567,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -32922,7 +32591,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -32944,15 +32614,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "742" + "743" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -32969,7 +32638,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -32991,15 +32661,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -33016,7 +32685,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -33038,15 +32708,14 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "742", + "622", "743", "744", - "788", + "745", "789", "790", "791", @@ -33063,7 +32732,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -33085,14 +32755,13 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "743", + "622", "744", - "788", + "745", "789", "790", "791", @@ -33109,7 +32778,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -33131,14 +32801,13 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "788" + "789" ], "coveredBy": [ - "620", "621", - "743", + "622", "744", - "788", + "745", "789", "790", "791", @@ -33155,7 +32824,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -33177,14 +32847,13 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "788" + "789" ], "coveredBy": [ - "620", "621", - "743", + "622", "744", - "788", + "745", "789", "790", "791", @@ -33201,7 +32870,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -33214,65 +32884,6 @@ } } }, - { - "id": "783", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(74,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "358", - "359", - "391", - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "404", - "620", - "621", - "655", - "656", - "657", - "658", - "659", - "660", - "661", - "662", - "663", - "745", - "746", - "980", - "982", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "990", - "991", - "992", - "993" - ], - "location": { - "end": { - "column": 2, - "line": 76 - }, - "start": { - "column": 112, - "line": 74 - } - } - }, { "id": "784", "mutatorName": "ArrowFunction", @@ -33282,7 +32893,7 @@ "testsCompleted": 38, "static": false, "killedBy": [ - "745" + "746" ], "coveredBy": [ "358", @@ -33297,9 +32908,9 @@ "402", "403", "404", - "620", + "405", "621", - "655", + "622", "656", "657", "658", @@ -33308,10 +32919,10 @@ "661", "662", "663", - "745", + "664", "746", - "980", - "982", + "747", + "981", "983", "984", "985", @@ -33322,7 +32933,8 @@ "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -33352,31 +32964,31 @@ "265", "266", "267", - "620", "621", - "747", + "622", "748", - "756", + "749", "757", - "789", + "758", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", "817", - "1066" + "818", + "1067" ], "location": { "end": { @@ -33398,7 +33010,7 @@ "testsCompleted": 32, "static": false, "killedBy": [ - "747" + "748" ], "coveredBy": [ "223", @@ -33409,31 +33021,31 @@ "265", "266", "267", - "620", "621", - "747", + "622", "748", - "756", + "749", "757", - "789", + "758", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", "817", - "1066" + "818", + "1067" ], "location": { "end": { @@ -33462,31 +33074,31 @@ "265", "266", "267", - "620", "621", - "747", + "622", "748", - "756", + "749", "757", - "789", + "758", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", "817", - "1066" + "818", + "1067" ], "location": { "end": { @@ -33499,50 +33111,6 @@ } } }, - { - "id": "788", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(82,39): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "131", - "135", - "136", - "137", - "138", - "141", - "149", - "150", - "151", - "152", - "153", - "154", - "157", - "158", - "159", - "162", - "167", - "168", - "608", - "609", - "610", - "620", - "749" - ], - "location": { - "end": { - "column": 2, - "line": 84 - }, - "start": { - "column": 48, - "line": 82 - } - } - }, { "id": "789", "mutatorName": "MethodExpression", @@ -33573,11 +33141,11 @@ "162", "167", "168", - "608", "609", "610", - "620", - "749" + "611", + "621", + "750" ], "location": { "end": { @@ -33620,11 +33188,11 @@ "162", "167", "168", - "608", "609", "610", - "620", - "749" + "611", + "621", + "750" ], "location": { "end": { @@ -33647,9 +33215,9 @@ "killedBy": [], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33671,9 +33239,9 @@ "killedBy": [], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33699,9 +33267,9 @@ ], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33723,13 +33291,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33755,9 +33323,9 @@ ], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33779,9 +33347,9 @@ "killedBy": [], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33807,9 +33375,9 @@ ], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33831,13 +33399,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "146", - "546", - "621", - "750" + "547", + "622", + "751" ], "location": { "end": { @@ -33859,7 +33427,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -33881,10 +33449,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -33906,10 +33474,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -33931,10 +33499,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -33956,10 +33524,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -33981,10 +33549,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -34006,10 +33574,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -34031,10 +33599,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "751" + "752" ], "coveredBy": [ - "751" + "752" ], "location": { "end": { @@ -34056,29 +33624,29 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34100,32 +33668,32 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34147,32 +33715,32 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "752" + "753" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34194,31 +33762,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34240,31 +33808,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "752" + "753" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34286,31 +33854,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "752" + "753" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34332,31 +33900,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "752" + "753" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34378,31 +33946,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34424,31 +33992,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "752" + "753" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", + "806", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34470,30 +34038,30 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", - "826", + "806", + "825", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34515,30 +34083,30 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "752", - "789", + "622", + "753", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "824", - "826", + "806", + "825", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -34562,7 +34130,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34589,7 +34157,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34616,7 +34184,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34638,12 +34206,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "754" ], "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34665,12 +34233,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "754" ], "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34692,12 +34260,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "754" ], "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34719,12 +34287,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "753" + "754" ], "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34751,7 +34319,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34778,7 +34346,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34805,7 +34373,7 @@ "coveredBy": [ "200", "201", - "753" + "754" ], "location": { "end": { @@ -34827,11 +34395,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "753" + "754" ], "coveredBy": [ "201", - "753" + "754" ], "location": { "end": { @@ -34853,7 +34421,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -34875,10 +34443,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -34900,10 +34468,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -34925,10 +34493,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -34950,10 +34518,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -34975,10 +34543,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35000,10 +34568,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35025,10 +34593,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35050,10 +34618,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35075,10 +34643,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35100,10 +34668,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35125,10 +34693,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "754" + "755" ], "coveredBy": [ - "754" + "755" ], "location": { "end": { @@ -35162,18 +34730,18 @@ "244", "281", "282", - "608", "609", - "620", + "610", "621", - "755", + "622", "756", "757", "758", "759", - "944", + "760", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35210,18 +34778,18 @@ "244", "281", "282", - "608", "609", - "620", + "610", "621", - "755", + "622", "756", "757", "758", "759", - "944", + "760", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35243,7 +34811,7 @@ "testsCompleted": 24, "static": false, "killedBy": [ - "755" + "756" ], "coveredBy": [ "221", @@ -35258,18 +34826,18 @@ "244", "281", "282", - "608", "609", - "620", + "610", "621", - "755", + "622", "756", "757", "758", "759", - "944", + "760", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35303,18 +34871,18 @@ "244", "281", "282", - "608", "609", - "620", + "610", "621", - "755", + "622", "756", "757", "758", "759", - "944", + "760", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35336,20 +34904,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "944" + "945" ], "coveredBy": [ "227", "237", "238", "239", - "608", "609", - "620", - "755", - "944", + "610", + "621", + "756", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35371,20 +34939,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "944" + "945" ], "coveredBy": [ "227", "237", "238", "239", - "608", "609", - "620", - "755", - "944", + "610", + "621", + "756", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35413,13 +34981,13 @@ "237", "238", "239", - "608", "609", - "620", - "755", - "944", + "610", + "621", + "756", "945", - "946" + "946", + "947" ], "location": { "end": { @@ -35441,7 +35009,7 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "757" + "758" ], "coveredBy": [ "221", @@ -35452,12 +35020,12 @@ "244", "281", "282", - "620", "621", - "756", + "622", "757", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35479,7 +35047,7 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "756" + "757" ], "coveredBy": [ "221", @@ -35490,12 +35058,12 @@ "244", "281", "282", - "620", "621", - "756", + "622", "757", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35525,12 +35093,12 @@ "244", "281", "282", - "620", "621", - "756", + "622", "757", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35552,10 +35120,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "756" + "757" ], "coveredBy": [ - "756" + "757" ], "location": { "end": { @@ -35577,7 +35145,7 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "221", @@ -35588,11 +35156,11 @@ "244", "281", "282", - "620", "621", - "757", + "622", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35614,7 +35182,7 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "757" + "758" ], "coveredBy": [ "221", @@ -35625,11 +35193,11 @@ "244", "281", "282", - "620", "621", - "757", + "622", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35659,11 +35227,11 @@ "244", "281", "282", - "620", "621", - "757", + "622", "758", - "759" + "759", + "760" ], "location": { "end": { @@ -35685,10 +35253,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "757" + "758" ], "coveredBy": [ - "757" + "758" ], "location": { "end": { @@ -35710,7 +35278,7 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "221", @@ -35721,10 +35289,10 @@ "244", "281", "282", - "620", "621", - "758", - "759" + "622", + "759", + "760" ], "location": { "end": { @@ -35746,7 +35314,7 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "758" + "759" ], "coveredBy": [ "221", @@ -35757,10 +35325,10 @@ "244", "281", "282", - "620", "621", - "758", - "759" + "622", + "759", + "760" ], "location": { "end": { @@ -35782,7 +35350,7 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "758" + "759" ], "coveredBy": [ "221", @@ -35793,10 +35361,10 @@ "244", "281", "282", - "620", "621", - "758", - "759" + "622", + "759", + "760" ], "location": { "end": { @@ -35818,10 +35386,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "758" + "759" ], "coveredBy": [ - "758" + "759" ], "location": { "end": { @@ -35834,89 +35402,6 @@ } } }, - { - "id": "860", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(124,48): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "222", - "223", - "224", - "225", - "226", - "240", - "241", - "242", - "243", - "244", - "360", - "361", - "362", - "608", - "609", - "610", - "620", - "621", - "760", - "761" - ], - "location": { - "end": { - "column": 2, - "line": 126 - }, - "start": { - "column": 68, - "line": 124 - } - } - }, - { - "id": "861", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/game.helper.ts(128,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "240", - "241", - "242", - "243", - "244", - "360", - "362", - "608", - "609", - "610", - "620", - "621", - "762", - "763" - ], - "location": { - "end": { - "column": 2, - "line": 130 - }, - "start": { - "column": 72, - "line": 128 - } - } - }, { "id": "862", "mutatorName": "BlockStatement", @@ -35926,8 +35411,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "764", - "765" + "765", + "766" ], "location": { "end": { @@ -35949,8 +35434,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "764", - "765" + "765", + "766" ], "location": { "end": { @@ -35972,11 +35457,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "765" + "766" ], "coveredBy": [ - "764", - "765" + "765", + "766" ], "location": { "end": { @@ -35998,11 +35483,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "764" + "765" ], "coveredBy": [ - "764", - "765" + "765", + "766" ], "location": { "end": { @@ -36024,19 +35509,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "677", + "676", "678", "679", - "766", - "767" + "680", + "767", + "768" ], "location": { "end": { @@ -36058,19 +35543,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "677", + "676", "678", "679", - "766", - "767" + "680", + "767", + "768" ], "location": { "end": { @@ -36092,22 +35577,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "767" + "768" ], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "677", + "676", "678", "679", - "766", - "767" + "680", + "767", + "768" ], "location": { "end": { @@ -36129,21 +35614,21 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "677", + "676", "678", - "766", - "767" + "679", + "767", + "768" ], "location": { "end": { @@ -36165,14 +35650,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", "771", - "772" + "772", + "773" ], "location": { "end": { @@ -36194,17 +35679,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "772" + "773" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", "771", - "772" + "772", + "773" ], "location": { "end": { @@ -36226,14 +35711,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", "771", - "772" + "772", + "773" ], "location": { "end": { @@ -36255,13 +35740,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36283,13 +35768,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36311,13 +35796,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36339,13 +35824,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36367,13 +35852,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36395,13 +35880,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36423,13 +35908,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36450,13 +35935,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36478,16 +35963,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36509,13 +35994,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36537,16 +36022,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36568,16 +36053,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "770" + "771" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36598,13 +36083,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36626,16 +36111,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36657,16 +36142,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "770" + "771" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36688,16 +36173,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36719,16 +36204,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "436" + "437" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36750,13 +36235,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", - "771" + "771", + "772" ], "location": { "end": { @@ -36778,19 +36263,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -36798,7 +36282,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -36820,22 +36305,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -36843,7 +36327,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -36865,22 +36350,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "537" + "538" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -36888,7 +36372,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -36909,19 +36394,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -36929,7 +36413,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -36951,19 +36436,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -36971,7 +36455,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -36993,29 +36478,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "775", + "772", "776", "777", "778", "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37037,22 +36522,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37060,7 +36544,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37082,22 +36567,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37105,7 +36589,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37127,19 +36612,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37147,7 +36631,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37169,22 +36654,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "779" + "780" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37192,7 +36676,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37213,19 +36698,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37233,7 +36717,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37255,22 +36740,21 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "779" + "780" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -37278,7 +36762,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -37300,26 +36785,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37341,29 +36826,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37385,29 +36870,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "534" + "535" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37429,29 +36914,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "777" + "778" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37473,29 +36958,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37517,20 +37002,19 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "771" + "772" ], "coveredBy": [ - "533", - "534", - "535", + "536", "537", - "771", - "775", + "538", + "772", "776", - "778", + "777", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37552,20 +37036,19 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "771" + "772" ], "coveredBy": [ - "533", - "534", - "535", + "536", "537", - "771", - "775", + "538", + "772", "776", - "778", + "777", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37587,29 +37070,28 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", - "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37631,29 +37113,28 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", - "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37675,29 +37156,28 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", - "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37719,29 +37199,28 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", - "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37763,14 +37242,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "768", "769", "770", "771", - "774" + "772", + "775" ], "location": { "end": { @@ -37792,29 +37271,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "769" + "770" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37836,26 +37315,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37877,29 +37356,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "536" + "537" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -37920,24 +37399,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", - "774", + "771", "775", "776", "777", "778", "779", - "781" + "780", + "782" ], "location": { "end": { @@ -37959,27 +37438,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", - "774", + "771", "775", "776", "777", "778", "779", - "781" + "780", + "782" ], "location": { "end": { @@ -38001,27 +37480,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", - "774", + "771", "775", "776", "777", "778", "779", - "781" + "780", + "782" ], "location": { "end": { @@ -38043,27 +37522,27 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "768" + "769" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", - "774", + "771", "775", "776", "777", "778", "779", - "781" + "780", + "782" ], "location": { "end": { @@ -38085,18 +37564,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "776" + "777" ], "coveredBy": [ - "533", "534", "535", "536", "537", - "776", + "538", "777", - "779", - "781" + "778", + "780", + "782" ], "location": { "end": { @@ -38118,18 +37597,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "776" + "777" ], "coveredBy": [ - "533", "534", "535", "536", "537", - "776", + "538", "777", - "779", - "781" + "778", + "780", + "782" ], "location": { "end": { @@ -38151,21 +37630,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", - "537", - "768", + "536", + "538", "769", "770", - "774", + "771", "775", "776", "777", - "778" + "778", + "779" ], "location": { "end": { @@ -38187,24 +37666,21 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "769" + "770" ], "coveredBy": [ - "533", - "534", - "535", - "536", "537", - "769", + "538", "770", "771", - "774", + "772", "775", "776", - "778", + "777", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -38217,6 +37693,38 @@ } } }, + { + "id": "926", + "mutatorName": "UpdateOperator", + "replacement": "count--", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "537", + "538", + "770", + "771", + "772", + "775", + "776", + "777", + "779", + "780", + "781", + "782" + ], + "location": { + "end": { + "column": 12, + "line": 170 + }, + "start": { + "column": 5, + "line": 170 + } + } + }, { "id": "927", "mutatorName": "BlockStatement", @@ -38226,19 +37734,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "773", + "772", "774", "775", "776", @@ -38247,7 +37754,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -38269,22 +37777,21 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "773" + "774" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "773", + "772", "774", "775", "776", @@ -38293,7 +37800,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -38315,19 +37823,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "773", + "772", "774", "775", "776", @@ -38336,7 +37843,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -38358,19 +37866,18 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", @@ -38378,7 +37885,8 @@ "779", "780", "781", - "782" + "782", + "783" ], "location": { "end": { @@ -38400,29 +37908,29 @@ "testsCompleted": 20, "static": false, "killedBy": [ - "774" + "775" ], "coveredBy": [ - "435", "436", "437", - "533", + "438", "534", "535", "536", "537", - "768", + "538", "769", "770", "771", - "774", + "772", "775", "776", "777", "778", "779", "780", - "781" + "781", + "782" ], "location": { "end": { @@ -38445,10 +37953,10 @@ "killedBy": [], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38470,14 +37978,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38499,14 +38007,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "783" + "784" ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38532,10 +38040,10 @@ ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38557,14 +38065,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "783" + "784" ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38586,14 +38094,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "783" + "784" ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38615,14 +38123,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "783" + "784" ], "coveredBy": [ "141", - "608", "609", - "620", - "783" + "610", + "621", + "784" ], "location": { "end": { @@ -38644,12 +38152,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38657,7 +38164,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38679,14 +38187,13 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "784", - "786", - "788", + "622", + "785", + "787", "789", "790", "791", @@ -38694,7 +38201,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38716,15 +38224,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38732,7 +38239,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38754,15 +38262,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "784" + "785" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38770,7 +38277,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38792,15 +38300,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "786" + "787" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38808,7 +38315,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38830,15 +38338,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "784" + "785" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38846,7 +38353,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38868,15 +38376,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "786" + "787" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38884,7 +38391,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38906,15 +38414,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38922,7 +38429,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38944,15 +38452,14 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "784", + "622", "785", "786", - "788", + "787", "789", "790", "791", @@ -38960,7 +38467,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -38982,14 +38490,13 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", - "784", + "621", "785", "786", - "788", + "787", "789", "790", "791", @@ -38997,7 +38504,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -39019,14 +38527,13 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", - "784", + "621", "785", "786", - "788", + "787", "789", "790", "791", @@ -39034,7 +38541,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -39048,36 +38556,457 @@ } }, { - "id": "926", - "mutatorName": "UpdateOperator", - "replacement": "count--", - "status": "Timeout", + "id": "718", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(20,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "coveredBy": [ + "26", + "27", + "28", + "30", + "118", + "119", + "120", + "121", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "262", + "263", + "264", + "265", + "266", + "267", + "272", + "273", + "274", + "275", + "285", + "286", + "287", + "288", + "289", + "290", + "291", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "311", + "312", + "313", + "316", + "317", + "318", + "319", + "320", + "321", + "322", + "341", + "342", + "343", + "344", + "345", + "346", + "347", + "349", + "350", + "352", + "353", + "355", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "421", + "422", + "423", + "424", + "427", + "428", + "429", + "430", + "431", + "434", + "435", + "436", + "437", + "438", + "473", + "513", + "514", + "515", + "516", + "517", + "528", + "529", + "530", + "531", + "532", "533", - "534", - "535", - "536", - "537", - "769", - "770", - "771", - "774", - "775", - "776", - "778", - "779", - "780", - "781" + "545", + "546", + "547", + "548", + "549", + "621", + "622", + "720", + "721", + "790", + "791", + "792", + "793", + "794", + "795", + "796", + "797", + "799", + "800", + "801", + "802", + "803", + "804", + "805", + "806", + "819", + "820", + "821", + "822", + "823", + "824", + "825", + "826", + "827", + "828", + "829", + "830", + "831", + "832", + "833", + "834", + "835", + "836", + "837", + "838", + "839", + "840", + "841", + "842", + "843", + "844", + "845", + "846", + "847", + "848", + "981", + "987", + "988", + "989", + "990", + "991", + "992", + "993", + "994", + "1065", + "1066", + "1068", + "1069", + "1070", + "1071", + "1072", + "1073" ], "location": { "end": { - "column": 12, - "line": 170 + "column": 2, + "line": 22 }, "start": { - "column": 5, - "line": 170 + "column": 84, + "line": 20 + } + } + }, + { + "id": "713", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(16,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "260", + "261", + "270", + "271", + "283", + "284", + "298", + "300", + "309", + "310", + "314", + "315", + "326", + "335", + "348", + "351", + "354", + "609", + "610", + "611", + "718", + "719" + ], + "location": { + "end": { + "column": 2, + "line": 18 + }, + "start": { + "column": 102, + "line": 16 + } + } + }, + { + "id": "723", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(24,66): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "222", + "225", + "226", + "241", + "323", + "327", + "328", + "329", + "330", + "331", + "332", + "336", + "337", + "338", + "339", + "340", + "611", + "722", + "723" + ], + "location": { + "end": { + "column": 2, + "line": 26 + }, + "start": { + "column": 75, + "line": 24 + } + } + }, + { + "id": "783", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(74,93): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "358", + "359", + "391", + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621", + "622", + "656", + "657", + "658", + "659", + "660", + "661", + "662", + "663", + "664", + "746", + "747", + "981", + "983", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "991", + "992", + "993", + "994" + ], + "location": { + "end": { + "column": 2, + "line": 76 + }, + "start": { + "column": 112, + "line": 74 + } + } + }, + { + "id": "788", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(82,39): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "131", + "135", + "136", + "137", + "138", + "141", + "149", + "150", + "151", + "152", + "153", + "154", + "157", + "158", + "159", + "162", + "167", + "168", + "609", + "610", + "611", + "621", + "750" + ], + "location": { + "end": { + "column": 2, + "line": 84 + }, + "start": { + "column": 48, + "line": 82 + } + } + }, + { + "id": "860", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(124,48): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "222", + "223", + "224", + "225", + "226", + "240", + "241", + "242", + "243", + "244", + "360", + "361", + "362", + "609", + "610", + "611", + "621", + "622", + "761", + "762" + ], + "location": { + "end": { + "column": 2, + "line": 126 + }, + "start": { + "column": 68, + "line": 124 + } + } + }, + { + "id": "861", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/game.helper.ts(128,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "240", + "241", + "242", + "243", + "244", + "360", + "362", + "609", + "610", + "611", + "621", + "622", + "763", + "764" + ], + "location": { + "end": { + "column": 2, + "line": 130 + }, + "start": { + "column": 72, + "line": 128 } } } @@ -39097,50 +39026,50 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39162,54 +39091,54 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "486" + "487" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39231,54 +39160,54 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1047" + "1048" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39300,54 +39229,54 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39369,54 +39298,54 @@ "testsCompleted": 40, "static": false, "killedBy": [ - "423" + "424" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39438,54 +39367,54 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1047" + "1048" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1047", + "899", "1048", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39507,53 +39436,53 @@ "testsCompleted": 39, "static": false, "killedBy": [ - "423" + "424" ], "coveredBy": [ "391", - "411", - "416", - "423", - "427", + "412", + "417", + "424", "428", "429", "430", - "432", - "437", - "439", - "441", - "445", + "431", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", + "447", + "454", + "456", "458", "459", "460", "461", "462", - "464", + "463", "465", "466", "467", - "472", - "474", + "468", + "473", "475", - "485", + "476", "486", - "516", - "532", - "537", - "621", - "896", + "487", + "517", + "533", + "538", + "622", "897", "898", - "1048", + "899", "1049", - "1051", + "1050", "1052", - "1057", - "1058" + "1053", + "1058", + "1059" ], "location": { "end": { @@ -39576,33 +39505,33 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "432", - "437", - "439", - "441", - "445", + "412", + "417", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", - "537", - "621", - "896", + "468", + "476", + "533", + "538", + "622", "897", "898", - "1050", + "899", "1051", - "1052" + "1052", + "1053" ], "location": { "end": { @@ -39625,33 +39554,33 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "432", - "437", - "439", - "441", - "445", + "412", + "417", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", - "537", - "621", - "896", + "468", + "476", + "533", + "538", + "622", "897", "898", - "1050", + "899", "1051", - "1052" + "1052", + "1053" ], "location": { "end": { @@ -39674,33 +39603,33 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "432", - "437", - "439", - "441", - "445", + "412", + "417", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", - "537", - "621", - "896", + "468", + "476", + "533", + "538", + "622", "897", "898", - "1050", + "899", "1051", - "1052" + "1052", + "1053" ], "location": { "end": { @@ -39723,33 +39652,33 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "432", - "437", - "439", - "441", - "445", + "412", + "417", + "433", + "438", + "440", + "442", "446", - "453", - "455", - "457", - "459", - "461", - "464", + "447", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", - "475", - "532", - "537", - "621", - "896", + "468", + "476", + "533", + "538", + "622", "897", "898", - "1050", + "899", "1051", - "1052" + "1052", + "1053" ], "location": { "end": { @@ -39771,7 +39700,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1050" + "1051" ], "location": { "end": { @@ -39793,14 +39722,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "448", + "426", "449", - "451", - "546", - "1053", + "450", + "452", + "547", "1054", - "1055" + "1055", + "1056" ], "location": { "end": { @@ -39822,14 +39751,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "448", + "426", "449", - "451", - "546", - "1053", + "450", + "452", + "547", "1054", - "1055" + "1055", + "1056" ], "location": { "end": { @@ -39851,17 +39780,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "425", - "448", + "426", "449", - "451", - "546", - "1053", + "450", + "452", + "547", "1054", - "1055" + "1055", + "1056" ], "location": { "end": { @@ -39883,17 +39812,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "425", - "448", + "426", "449", - "451", - "546", - "1053", + "450", + "452", + "547", "1054", - "1055" + "1055", + "1056" ], "location": { "end": { @@ -39915,17 +39844,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1054" + "1055" ], "coveredBy": [ - "425", - "448", + "426", "449", - "451", - "546", - "1053", + "450", + "452", + "547", "1054", - "1055" + "1055", + "1056" ], "location": { "end": { @@ -39947,15 +39876,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "1054" + "1055" ], "coveredBy": [ - "425", - "449", - "451", - "546", - "1054", - "1055" + "426", + "450", + "452", + "547", + "1055", + "1056" ], "location": { "end": { @@ -39978,9 +39907,9 @@ "killedBy": [], "coveredBy": [ "391", - "1056", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40003,9 +39932,9 @@ "killedBy": [], "coveredBy": [ "391", - "1056", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40028,9 +39957,9 @@ "killedBy": [], "coveredBy": [ "391", - "1056", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40053,9 +39982,9 @@ "killedBy": [], "coveredBy": [ "391", - "1056", "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40077,7 +40006,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1056" + "1057" ], "location": { "end": { @@ -40103,8 +40032,8 @@ ], "coveredBy": [ "391", - "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40126,12 +40055,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1057" + "1058" ], "coveredBy": [ "391", - "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40157,8 +40086,8 @@ ], "coveredBy": [ "391", - "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40180,12 +40109,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1057" + "1058" ], "coveredBy": [ "391", - "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40211,8 +40140,8 @@ ], "coveredBy": [ "391", - "1057", - "1058" + "1058", + "1059" ], "location": { "end": { @@ -40234,15 +40163,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "523", + "473", "524", - "541", - "551", - "562", - "620", - "1059", - "1060" + "525", + "542", + "552", + "563", + "621", + "1060", + "1061" ], "location": { "end": { @@ -40264,9 +40193,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "408", - "1061", - "1062" + "409", + "1062", + "1063" ], "location": { "end": { @@ -40294,8 +40223,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "537", - "1024" + "538", + "1025" ], "location": { "end": { @@ -40317,8 +40246,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "537", - "1024" + "538", + "1025" ], "location": { "end": { @@ -40340,10 +40269,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "896", "897", "898", - "1025" + "899", + "1026" ], "location": { "end": { @@ -40365,10 +40294,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "896", "897", "898", - "1025" + "899", + "1026" ], "location": { "end": { @@ -40390,9 +40319,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "448", "449", - "1026" + "450", + "1027" ], "location": { "end": { @@ -40414,9 +40343,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "448", "449", - "1026" + "450", + "1027" ], "location": { "end": { @@ -40438,8 +40367,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "475", - "1027" + "476", + "1028" ], "location": { "end": { @@ -40461,8 +40390,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "475", - "1027" + "476", + "1028" ], "location": { "end": { @@ -40484,9 +40413,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40508,9 +40437,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40532,9 +40461,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40556,12 +40485,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "425" + "426" ], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40583,12 +40512,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1028" + "1029" ], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40610,12 +40539,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1028" + "1029" ], "coveredBy": [ - "425", - "1028", - "1029" + "426", + "1029", + "1030" ], "location": { "end": { @@ -40637,11 +40566,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1028" + "1029" ], "coveredBy": [ - "425", - "1028" + "1029" ], "location": { "end": { @@ -40663,8 +40591,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "1030" + "533", + "1031" ], "location": { "end": { @@ -40686,8 +40614,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "532", - "1030" + "533", + "1031" ], "location": { "end": { @@ -40709,11 +40637,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1030" + "1031" ], "coveredBy": [ - "532", - "1030" + "533", + "1031" ], "location": { "end": { @@ -40735,9 +40663,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "459", - "461", - "1031" + "460", + "462", + "1032" ], "location": { "end": { @@ -40759,9 +40687,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "459", - "461", - "1031" + "460", + "462", + "1032" ], "location": { "end": { @@ -40783,12 +40711,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "459" + "460" ], "coveredBy": [ - "459", - "461", - "1031" + "460", + "462", + "1032" ], "location": { "end": { @@ -40810,8 +40738,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "437", - "1032" + "438", + "1033" ], "location": { "end": { @@ -40833,8 +40761,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "437", - "1032" + "438", + "1033" ], "location": { "end": { @@ -40856,11 +40784,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "437" + "438" ], "coveredBy": [ - "437", - "1032" + "438", + "1033" ], "location": { "end": { @@ -40882,9 +40810,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "515", - "546", - "1033" + "516", + "547", + "1034" ], "location": { "end": { @@ -40906,9 +40834,9 @@ "static": true, "killedBy": [], "coveredBy": [ - "515", - "546", - "1033" + "516", + "547", + "1034" ], "location": { "end": { @@ -40930,12 +40858,12 @@ "testsCompleted": 3, "static": true, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "515", - "546", - "1033" + "516", + "547", + "1034" ], "location": { "end": { @@ -40957,13 +40885,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "432", - "512", + "433", "513", "514", "515", "516", - "1034" + "517", + "1035" ], "location": { "end": { @@ -40985,13 +40913,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "432", - "512", + "433", "513", "514", "515", "516", - "1034" + "517", + "1035" ], "location": { "end": { @@ -41013,8 +40941,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "451", - "1035" + "452", + "1036" ], "location": { "end": { @@ -41036,8 +40964,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "451", - "1035" + "452", + "1036" ], "location": { "end": { @@ -41059,8 +40987,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "439", - "1036" + "440", + "1037" ], "location": { "end": { @@ -41082,8 +41010,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "439", - "1036" + "440", + "1037" ], "location": { "end": { @@ -41105,8 +41033,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "1037" + "442", + "1038" ], "location": { "end": { @@ -41128,8 +41056,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "441", - "1037" + "442", + "1038" ], "location": { "end": { @@ -41151,9 +41079,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", "446", - "1038" + "447", + "1039" ], "location": { "end": { @@ -41175,9 +41103,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", "446", - "1038" + "447", + "1039" ], "location": { "end": { @@ -41199,9 +41127,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", "446", - "1039" + "447", + "1040" ], "location": { "end": { @@ -41223,9 +41151,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "445", "446", - "1039" + "447", + "1040" ], "location": { "end": { @@ -41247,8 +41175,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "457", - "1040" + "458", + "1041" ], "location": { "end": { @@ -41270,8 +41198,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "457", - "1040" + "458", + "1041" ], "location": { "end": { @@ -41293,8 +41221,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "455", - "1041" + "456", + "1042" ], "location": { "end": { @@ -41316,8 +41244,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "455", - "1041" + "456", + "1042" ], "location": { "end": { @@ -41339,14 +41267,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "464", "465", "466", "467", "468", "469", "470", - "1042" + "471", + "1043" ], "location": { "end": { @@ -41368,14 +41296,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "464", "465", "466", "467", "468", "469", "470", - "1042" + "471", + "1043" ], "location": { "end": { @@ -41397,9 +41325,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "453", - "621", - "1043" + "454", + "622", + "1044" ], "location": { "end": { @@ -41421,9 +41349,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "453", - "621", - "1043" + "454", + "622", + "1044" ], "location": { "end": { @@ -41446,7 +41374,7 @@ "killedBy": [], "coveredBy": [ "391", - "1044" + "1045" ], "location": { "end": { @@ -41469,7 +41397,7 @@ "killedBy": [], "coveredBy": [ "391", - "1044" + "1045" ], "location": { "end": { @@ -41491,11 +41419,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1044" + "1045" ], "coveredBy": [ "391", - "1044" + "1045" ], "location": { "end": { @@ -41517,9 +41445,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "411", - "416", - "1045" + "412", + "417", + "1046" ], "location": { "end": { @@ -41541,9 +41469,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "411", - "416", - "1045" + "412", + "417", + "1046" ], "location": { "end": { @@ -41565,12 +41493,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1045" + "1046" ], "coveredBy": [ - "411", - "416", - "1045" + "412", + "417", + "1046" ], "location": { "end": { @@ -41593,44 +41521,43 @@ "killedBy": [], "coveredBy": [ "391", - "411", - "416", - "425", - "432", - "437", - "439", - "441", - "445", + "412", + "417", + "426", + "433", + "438", + "440", + "442", "446", - "448", + "447", "449", - "451", - "453", - "455", - "457", - "459", - "461", - "464", + "450", + "452", + "454", + "456", + "458", + "460", + "462", "465", "466", "467", "468", "469", "470", - "475", - "512", + "471", + "476", "513", "514", "515", "516", - "532", - "537", - "546", - "621", - "896", + "517", + "533", + "538", + "547", + "622", "897", "898", - "1024", + "899", "1025", "1026", "1027", @@ -41653,15 +41580,16 @@ "1044", "1045", "1046", - "1051", + "1047", "1052", - "1054", + "1053", "1055", - "1079", + "1056", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -41680,127 +41608,6 @@ "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts": { "language": "typescript", "mutants": [ - { - "id": "1034", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(8,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 2, - "line": 11 - }, - "start": { - "column": 86, - "line": 8 - } - } - }, { "id": "1035", "mutatorName": "ConditionalExpression", @@ -41810,249 +41617,8 @@ "testsCompleted": 96, "static": false, "killedBy": [ - "995" - ], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 100, - "line": 10 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, - { - "id": "1036", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" + "996" ], - "location": { - "end": { - "column": 100, - "line": 10 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, - { - "id": "1037", - "mutatorName": "LogicalOperator", - "replacement": "(activeAt === undefined || activeAt.turn < game.turn) && activeAt.turn === game.turn && (activeAt.phase === game.phase || game.phase === GamePhases.DAY)", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,67): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,99): error TS18048: 'activeAt' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ "167", "223", @@ -42075,66 +41641,66 @@ "397", "400", "401", - "481", + "402", "482", - "490", - "497", - "499", + "483", + "491", + "498", "500", "501", "502", "503", - "513", + "504", "514", "515", "516", - "518", + "517", "519", "520", - "522", + "521", "523", "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", + "525", + "527", + "532", + "535", + "540", + "544", + "551", + "656", + "746", + "748", "753", - "756", + "754", "757", - "783", - "793", - "795", - "799", + "758", + "784", + "794", + "796", "800", - "816", + "801", "817", - "825", + "818", "826", "827", "828", "829", "830", - "845", - "888", - "891", - "902", - "945", + "831", + "846", + "889", + "892", + "903", "946", - "980", - "983", + "947", + "981", "984", "985", "986", "987", "988", "989", - "991", + "990", "992", "993", "994", @@ -42143,17 +41709,18 @@ "997", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", + "1012", "1023", - "1066", - "1081", - "1083", + "1024", + "1067", + "1082", "1084", - "1223" + "1085", + "1224" ], "location": { "end": { @@ -42166,490 +41733,6 @@ } } }, - { - "id": "1038", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 61, - "line": 9 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, - { - "id": "1039", - "mutatorName": "LogicalOperator", - "replacement": "activeAt === undefined && activeAt.turn < game.turn", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 61, - "line": 9 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, - { - "id": "1040", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,19): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 32, - "line": 9 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, - { - "id": "1041", - "mutatorName": "EqualityOperator", - "replacement": "activeAt !== undefined", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "522", - "523", - "524", - "526", - "531", - "534", - "539", - "543", - "550", - "655", - "745", - "747", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "888", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "994", - "995", - "996", - "997", - "998", - "999", - "1006", - "1007", - "1010", - "1011", - "1022", - "1023", - "1066", - "1081", - "1083", - "1084", - "1223" - ], - "location": { - "end": { - "column": 32, - "line": 9 - }, - "start": { - "column": 10, - "line": 9 - } - } - }, { "id": "1042", "mutatorName": "ConditionalExpression", @@ -42659,20 +41742,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "996" + "997" ], "coveredBy": [ - "995", "996", "997", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42694,20 +41777,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "997" + "998" ], "coveredBy": [ - "995", "996", "997", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42729,20 +41812,20 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "995" + "996" ], "coveredBy": [ - "995", "996", "997", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42764,19 +41847,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "998" + "999" ], "coveredBy": [ - "995", - "997", + "996", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42798,19 +41881,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "995" + "996" ], "coveredBy": [ - "995", - "997", + "996", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42832,19 +41915,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "995" + "996" ], "coveredBy": [ - "995", - "997", + "996", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42866,19 +41949,19 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "995" + "996" ], "coveredBy": [ - "995", - "997", + "996", "998", "999", - "1006", + "1000", "1007", - "1010", + "1008", "1011", - "1022", - "1023" + "1012", + "1023", + "1024" ], "location": { "end": { @@ -42900,15 +41983,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "997" + "998" ], "coveredBy": [ - "997", "998", "999", - "1007", - "1011", - "1023" + "1000", + "1008", + "1012", + "1024" ], "location": { "end": { @@ -42930,15 +42013,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "998" + "999" ], "coveredBy": [ - "997", "998", "999", - "1007", - "1011", - "1023" + "1000", + "1008", + "1012", + "1024" ], "location": { "end": { @@ -42960,15 +42043,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "998" + "999" ], "coveredBy": [ - "997", "998", "999", - "1007", - "1011", - "1023" + "1000", + "1008", + "1012", + "1024" ], "location": { "end": { @@ -42990,15 +42073,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "997" + "998" ], "coveredBy": [ - "997", "998", "999", - "1007", - "1011", - "1023" + "1000", + "1008", + "1012", + "1024" ], "location": { "end": { @@ -43020,11 +42103,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "999" + "1000" ], "coveredBy": [ - "997", - "999" + "998", + "1000" ], "location": { "end": { @@ -43046,11 +42129,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "997" + "998" ], "coveredBy": [ - "997", - "999" + "998", + "1000" ], "location": { "end": { @@ -43072,11 +42155,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1000", "1001", "1002", "1003", - "1004" + "1004", + "1005" ], "location": { "end": { @@ -43098,14 +42181,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "1000" + "1001" ], "coveredBy": [ - "1000", "1001", "1002", "1003", - "1004" + "1004", + "1005" ], "location": { "end": { @@ -43126,10 +42209,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "1000", "1001", - "1003", - "1004" + "1002", + "1004", + "1005" ], "location": { "end": { @@ -43151,13 +42234,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1000" + "1001" ], "coveredBy": [ - "1000", "1001", - "1003", - "1004" + "1002", + "1004", + "1005" ], "location": { "end": { @@ -43178,10 +42261,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "1000", "1001", - "1003", - "1004" + "1002", + "1004", + "1005" ], "location": { "end": { @@ -43203,9 +42286,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "1002", "1003", - "1004" + "1004", + "1005" ], "location": { "end": { @@ -43227,12 +42310,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1002" + "1003" ], "coveredBy": [ - "1002", "1003", - "1004" + "1004", + "1005" ], "location": { "end": { @@ -43254,12 +42337,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1002" + "1003" ], "coveredBy": [ - "1002", "1003", - "1004" + "1004", + "1005" ], "location": { "end": { @@ -43273,13 +42356,16 @@ } }, { - "id": "1063", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(21,117): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1064", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:740:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 206, "static": false, - "killedBy": [], + "killedBy": [ + "609" + ], "coveredBy": [ "28", "30", @@ -43338,20 +42424,20 @@ "402", "403", "404", - "472", - "480", + "405", + "473", "481", "482", "483", "484", - "487", + "485", "488", "489", "490", "491", "492", "493", - "495", + "494", "496", "497", "498", @@ -43361,7 +42447,7 @@ "502", "503", "504", - "512", + "505", "513", "514", "515", @@ -43376,26 +42462,26 @@ "524", "525", "526", - "534", + "527", "535", "536", "537", - "539", + "538", "540", "541", - "543", + "542", "544", "545", "546", "547", "548", - "550", + "549", "551", - "608", + "552", "609", - "620", + "610", "621", - "655", + "622", "656", "657", "658", @@ -43404,16 +42490,16 @@ "661", "662", "663", - "745", + "664", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "789", + "758", + "784", "790", "791", "792", @@ -43421,7 +42507,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -43429,36 +42515,36 @@ "803", "804", "805", - "815", + "806", "816", "817", - "824", + "818", "825", "826", "827", "828", "829", "830", - "836", + "831", "837", "838", "839", "840", "841", - "845", + "842", "846", "847", - "887", + "848", "888", "889", "890", "891", - "899", - "902", - "945", + "892", + "900", + "903", "946", - "980", - "982", + "947", + "981", "983", "984", "985", @@ -43470,127 +42556,76 @@ "991", "992", "993", - "1005", + "994", "1006", "1007", "1008", "1009", "1010", "1011", - "1066", - "1223", - "1224" + "1012", + "1067", + "1224", + "1225" ], "location": { "end": { - "column": 2, - "line": 23 + "column": 115, + "line": 22 }, "start": { - "column": 145, - "line": 21 + "column": 26, + "line": 22 } } }, { - "id": "1064", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:740:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1065", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 206, + "testsCompleted": 100, "static": false, "killedBy": [ - "608" + "264" ], "coveredBy": [ - "28", - "30", - "122", - "124", - "141", "167", - "201", "223", "224", "227", "237", - "238", - "239", - "240", - "241", "242", - "243", "244", - "263", "264", - "265", "266", "267", "274", - "275", "287", - "288", - "289", - "290", - "291", "304", - "305", - "307", - "308", - "313", "318", - "319", - "320", - "321", - "322", - "349", "350", - "352", "353", - "358", "359", "391", - "395", - "396", "397", - "398", - "399", "400", "401", "402", - "403", - "404", - "472", - "480", - "481", "482", "483", - "484", - "487", - "488", - "489", - "490", "491", - "492", - "493", - "495", - "496", - "497", "498", - "499", "500", "501", "502", "503", "504", - "512", - "513", "514", "515", "516", "517", - "518", "519", "520", "521", @@ -43599,90 +42634,44 @@ "524", "525", "526", - "534", + "527", "535", - "536", - "537", - "539", "540", - "541", - "543", "544", - "545", - "546", - "547", - "548", - "550", "551", - "608", - "609", - "620", - "621", - "655", + "622", "656", - "657", - "658", - "659", - "660", - "661", - "662", - "663", - "745", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "789", - "790", - "791", - "792", - "793", + "758", + "784", "794", - "795", "796", - "798", - "799", "800", "801", - "802", - "803", - "804", - "805", - "815", - "816", "817", - "824", - "825", + "818", "826", "827", "828", "829", "830", - "836", - "837", - "838", - "839", - "840", - "841", - "845", + "831", "846", - "847", - "887", "888", "889", "890", "891", - "899", - "902", - "945", + "892", + "903", "946", - "980", - "982", - "983", + "947", + "981", "984", "985", "986", @@ -43690,18 +42679,16 @@ "988", "989", "990", - "991", "992", "993", - "1005", + "994", "1006", "1007", "1008", - "1009", "1010", "1011", - "1066", - "1223", + "1012", + "1067", "1224" ], "location": { @@ -43710,21 +42697,21 @@ "line": 22 }, "start": { - "column": 26, + "column": 39, "line": 22 } } }, { - "id": "1065", + "id": "1066", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-days\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 100, + "testsCompleted": 99, "static": false, "killedBy": [ - "264" + "237" ], "coveredBy": [ "167", @@ -43748,142 +42735,20 @@ "397", "400", "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "534", - "539", - "543", - "550", - "621", - "655", - "745", - "746", - "747", - "748", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "887", - "888", - "889", - "890", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "1005", - "1006", - "1007", - "1009", - "1010", - "1011", - "1066", - "1223" - ], - "location": { - "end": { - "column": 115, - "line": 22 - }, - "start": { - "column": 39, - "line": 22 - } - } - }, - { - "id": "1066", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-days\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 99, - "static": false, - "killedBy": [ - "237" - ], - "coveredBy": [ - "167", - "223", - "224", - "227", - "237", - "242", - "244", - "264", - "266", - "267", - "274", - "287", - "304", - "318", - "350", - "353", - "359", - "391", - "397", - "400", - "401", - "481", + "402", "482", - "490", - "497", - "499", + "483", + "491", + "498", "500", "501", "502", "503", - "513", + "504", "514", "515", "516", - "518", + "517", "519", "520", "521", @@ -43892,61 +42757,62 @@ "524", "525", "526", - "534", - "539", - "543", - "550", - "621", - "655", - "745", + "527", + "535", + "540", + "544", + "551", + "622", + "656", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "793", - "795", - "799", + "758", + "784", + "794", + "796", "800", - "816", + "801", "817", - "825", + "818", "826", "827", "828", "829", "830", - "845", - "887", + "831", + "846", "888", "889", "890", "891", - "902", - "945", + "892", + "903", "946", - "980", - "983", + "947", + "981", "984", "985", "986", "987", "988", "989", - "991", + "990", "992", "993", - "1005", + "994", "1006", "1007", - "1009", + "1008", "1010", "1011", - "1066", - "1223" + "1012", + "1067", + "1224" ], "location": { "end": { @@ -43968,7 +42834,7 @@ "testsCompleted": 99, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ "167", @@ -43992,20 +42858,20 @@ "397", "400", "401", - "481", + "402", "482", - "490", - "497", - "499", + "483", + "491", + "498", "500", "501", "502", "503", - "513", + "504", "514", "515", "516", - "518", + "517", "519", "520", "521", @@ -44014,61 +42880,62 @@ "524", "525", "526", - "534", - "539", - "543", - "550", - "621", - "655", - "745", + "527", + "535", + "540", + "544", + "551", + "622", + "656", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "793", - "795", - "799", + "758", + "784", + "794", + "796", "800", - "816", + "801", "817", - "825", + "818", "826", "827", "828", "829", "830", - "845", - "887", + "831", + "846", "888", "889", "890", "891", - "902", - "945", + "892", + "903", "946", - "980", - "983", + "947", + "981", "984", "985", "986", "987", "988", "989", - "991", + "990", "992", "993", - "1005", + "994", "1006", "1007", - "1009", + "1008", "1010", "1011", - "1066", - "1223" + "1012", + "1067", + "1224" ], "location": { "end": { @@ -44090,7 +42957,7 @@ "testsCompleted": 100, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ "167", @@ -44114,20 +42981,20 @@ "397", "400", "401", - "481", + "402", "482", - "490", - "497", - "499", + "483", + "491", + "498", "500", "501", "502", "503", - "513", + "504", "514", "515", "516", - "518", + "517", "519", "520", "521", @@ -44136,61 +43003,62 @@ "524", "525", "526", - "534", - "539", - "543", - "550", - "621", - "655", - "745", + "527", + "535", + "540", + "544", + "551", + "622", + "656", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "793", - "795", - "799", + "758", + "784", + "794", + "796", "800", - "816", + "801", "817", - "825", + "818", "826", "827", "828", "829", "830", - "845", - "887", + "831", + "846", "888", "889", "890", "891", - "902", - "945", + "892", + "903", "946", - "980", - "983", + "947", + "981", "984", "985", "986", "987", "988", "989", - "991", + "990", "992", "993", - "1005", + "994", "1006", "1007", - "1009", + "1008", "1010", "1011", - "1066", - "1223" + "1012", + "1067", + "1224" ], "location": { "end": { @@ -44236,191 +43104,20 @@ "397", "400", "401", - "481", - "482", - "490", - "497", - "499", - "500", - "501", - "502", - "503", - "513", - "514", - "515", - "516", - "518", - "519", - "520", - "521", - "522", - "523", - "524", - "525", - "526", - "534", - "539", - "543", - "550", - "621", - "655", - "745", - "746", - "747", - "748", - "752", - "753", - "756", - "757", - "783", - "793", - "795", - "799", - "800", - "816", - "817", - "825", - "826", - "827", - "828", - "829", - "830", - "845", - "887", - "888", - "889", - "890", - "891", - "902", - "945", - "946", - "980", - "983", - "984", - "985", - "986", - "987", - "988", - "989", - "991", - "992", - "993", - "1005", - "1006", - "1007", - "1009", - "1010", - "1011", - "1066", - "1223" - ], - "location": { - "end": { - "column": 71, - "line": 22 - }, - "start": { - "column": 39, - "line": 22 - } - } - }, - { - "id": "1070", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(25,114): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "28", - "30", - "122", - "124", - "141", - "167", - "201", - "223", - "224", - "227", - "237", - "238", - "239", - "240", - "241", - "242", - "243", - "244", - "263", - "264", - "265", - "266", - "267", - "274", - "275", - "287", - "288", - "289", - "290", - "291", - "304", - "305", - "307", - "308", - "313", - "318", - "319", - "320", - "321", - "322", - "349", - "350", - "352", - "353", - "358", - "359", - "391", - "395", - "396", - "397", - "398", - "399", - "400", - "401", "402", - "403", - "404", - "472", - "480", - "481", "482", "483", - "484", - "487", - "488", - "489", - "490", "491", - "492", - "493", - "495", - "496", - "497", "498", - "499", "500", "501", "502", "503", "504", - "512", - "513", "514", "515", "516", "517", - "518", "519", "520", "521", @@ -44429,90 +43126,44 @@ "524", "525", "526", - "534", + "527", "535", - "536", - "537", - "539", "540", - "541", - "543", "544", - "545", - "546", - "547", - "548", - "550", "551", - "608", - "609", - "620", - "621", - "655", + "622", "656", - "657", - "658", - "659", - "660", - "661", - "662", - "663", - "745", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "789", - "790", - "791", - "792", - "793", + "758", + "784", "794", - "795", "796", - "798", - "799", "800", "801", - "802", - "803", - "804", - "805", - "815", - "816", "817", - "824", - "825", + "818", "826", "827", "828", "829", "830", - "836", - "837", - "838", - "839", - "840", - "841", - "845", + "831", "846", - "847", - "887", "888", "889", "890", "891", - "899", - "902", - "945", + "892", + "903", "946", - "980", - "982", - "983", + "947", + "981", "984", "985", "986", @@ -44520,25 +43171,26 @@ "988", "989", "990", - "991", "992", "993", + "994", + "1006", + "1007", "1008", - "1009", "1010", "1011", - "1066", - "1223", + "1012", + "1067", "1224" ], "location": { "end": { - "column": 2, - "line": 27 + "column": 71, + "line": 22 }, "start": { - "column": 122, - "line": 25 + "column": 39, + "line": 22 } } }, @@ -44551,7 +43203,7 @@ "testsCompleted": 197, "static": false, "killedBy": [ - "472" + "473" ], "coveredBy": [ "28", @@ -44611,20 +43263,20 @@ "402", "403", "404", - "472", - "480", + "405", + "473", "481", "482", "483", "484", - "487", + "485", "488", "489", "490", "491", "492", "493", - "495", + "494", "496", "497", "498", @@ -44634,7 +43286,7 @@ "502", "503", "504", - "512", + "505", "513", "514", "515", @@ -44649,26 +43301,26 @@ "524", "525", "526", - "534", + "527", "535", "536", "537", - "539", + "538", "540", "541", - "543", + "542", "544", "545", "546", "547", "548", - "550", + "549", "551", - "608", + "552", "609", - "620", + "610", "621", - "655", + "622", "656", "657", "658", @@ -44677,16 +43329,16 @@ "661", "662", "663", - "745", + "664", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "789", + "758", + "784", "790", "791", "792", @@ -44694,7 +43346,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -44702,36 +43354,36 @@ "803", "804", "805", - "815", + "806", "816", "817", - "824", + "818", "825", "826", "827", "828", "829", "830", - "836", + "831", "837", "838", "839", "840", "841", - "845", + "842", "846", "847", - "887", + "848", "888", "889", "890", "891", - "899", - "902", - "945", + "892", + "900", + "903", "946", - "980", - "982", + "947", + "981", "983", "984", "985", @@ -44743,13 +43395,14 @@ "991", "992", "993", - "1008", + "994", "1009", "1010", "1011", - "1066", - "1223", - "1224" + "1012", + "1067", + "1224", + "1225" ], "location": { "end": { @@ -44831,20 +43484,20 @@ "402", "403", "404", - "472", - "480", + "405", + "473", "481", "482", "483", "484", - "487", + "485", "488", "489", "490", "491", "492", "493", - "495", + "494", "496", "497", "498", @@ -44854,7 +43507,7 @@ "502", "503", "504", - "512", + "505", "513", "514", "515", @@ -44869,26 +43522,26 @@ "524", "525", "526", - "534", + "527", "535", "536", "537", - "539", + "538", "540", "541", - "543", + "542", "544", "545", "546", "547", "548", - "550", + "549", "551", - "608", + "552", "609", - "620", + "610", "621", - "655", + "622", "656", "657", "658", @@ -44897,16 +43550,16 @@ "661", "662", "663", - "745", + "664", "746", "747", "748", - "752", + "749", "753", - "756", + "754", "757", - "783", - "789", + "758", + "784", "790", "791", "792", @@ -44914,7 +43567,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -44922,36 +43575,36 @@ "803", "804", "805", - "815", + "806", "816", "817", - "824", + "818", "825", "826", "827", "828", "829", "830", - "836", + "831", "837", "838", "839", "840", "841", - "845", + "842", "846", "847", - "887", + "848", "888", "889", "890", "891", - "899", - "902", - "945", + "892", + "900", + "903", "946", - "980", - "982", + "947", + "981", "983", "984", "985", @@ -44963,13 +43616,14 @@ "991", "992", "993", - "1008", + "994", "1009", "1010", "1011", - "1066", - "1223", - "1224" + "1012", + "1067", + "1224", + "1225" ], "location": { "end": { @@ -44991,9 +43645,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1012", + "533", "1013", "1014", "1015", @@ -45004,7 +43657,8 @@ "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45026,12 +43680,11 @@ "testsCompleted": 14, "static": false, "killedBy": [ - "531" + "532" ], "coveredBy": [ - "531", "532", - "1012", + "533", "1013", "1014", "1015", @@ -45042,7 +43695,8 @@ "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45064,20 +43718,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1012" + "1013" ], "coveredBy": [ - "531", - "1012", + "532", "1013", "1014", - "1016", + "1015", "1017", "1018", - "1020", + "1019", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45098,17 +43752,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", - "1012", + "532", "1013", "1014", - "1016", + "1015", "1017", "1018", - "1020", + "1019", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45130,20 +43784,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "1013" + "1014" ], "coveredBy": [ - "531", - "1012", + "532", "1013", "1014", - "1016", + "1015", "1017", "1018", - "1020", + "1019", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45165,20 +43819,20 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "1013" + "1014" ], "coveredBy": [ - "531", - "1012", + "532", "1013", "1014", - "1016", + "1015", "1017", "1018", - "1020", + "1019", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45200,20 +43854,20 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "1012" + "1013" ], "coveredBy": [ - "531", - "1012", + "532", "1013", "1014", - "1016", + "1015", "1017", "1018", - "1020", + "1019", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45235,17 +43889,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1014" + "1015" ], "coveredBy": [ - "531", - "1012", - "1014", - "1017", + "532", + "1013", + "1015", "1018", - "1021", + "1019", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45267,17 +43921,17 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1012" + "1013" ], "coveredBy": [ - "531", - "1012", - "1014", - "1017", + "532", + "1013", + "1015", "1018", - "1021", + "1019", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45299,10 +43953,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "1015", "1016", "1017", - "1018" + "1018", + "1019" ], "location": { "end": { @@ -45324,13 +43978,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "1015" + "1016" ], "coveredBy": [ - "1015", "1016", "1017", - "1018" + "1018", + "1019" ], "location": { "end": { @@ -45351,10 +44005,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "1015", "1016", "1017", - "1018" + "1018", + "1019" ], "location": { "end": { @@ -45376,13 +44030,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45403,13 +44057,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45430,13 +44084,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45458,13 +44112,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45486,13 +44140,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45514,13 +44168,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "531", "532", - "1019", + "533", "1020", "1021", "1022", - "1023" + "1023", + "1024" ], "location": { "end": { @@ -45532,1291 +44186,754 @@ "line": 39 } } - } - ], - "source": "import { GamePhases } from \"@/modules/game/enums/game.enum\";\nimport type { PlayerAttributeNames } from \"@/modules/game/enums/player.enum\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { PlayerAttribute } from \"@/modules/game/schemas/player/player-attribute/player-attribute.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport type { GameSource } from \"@/modules/game/types/game.type\";\n\nfunction isPlayerAttributeActive({ activeAt }: PlayerAttribute, game: Game): boolean {\n return activeAt === undefined || activeAt.turn < game.turn ||\n activeAt.turn === game.turn && (activeAt.phase === game.phase || game.phase === GamePhases.DAY);\n}\n\nfunction getPlayerAttributeWithName({ attributes }: Player, attributeName: PlayerAttributeNames): PlayerAttribute | undefined {\n return attributes.find(({ name }) => name === attributeName);\n}\n\nfunction doesPlayerHaveAttributeWithName(player: Player, attributeName: PlayerAttributeNames): boolean {\n return !!getPlayerAttributeWithName(player, attributeName);\n}\n\nfunction getActivePlayerAttributeWithName({ attributes }: Player, attributeName: PlayerAttributeNames, game: Game): PlayerAttribute | undefined {\n return attributes.find(attribute => attribute.name === attributeName && isPlayerAttributeActive(attribute, game));\n}\n\nfunction doesPlayerHaveActiveAttributeWithName(player: Player, attributeName: PlayerAttributeNames, game: Game): boolean {\n return !!getActivePlayerAttributeWithName(player, attributeName, game);\n}\n\nfunction getPlayerAttributeWithNameAndSource({ attributes }: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource): PlayerAttribute | undefined {\n return attributes.find(({ name, source }) => name === attributeName && source === attributeSource);\n}\n\nfunction doesPlayerHaveAttributeWithNameAndSource(player: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource): boolean {\n return !!getPlayerAttributeWithNameAndSource(player, attributeName, attributeSource);\n}\n\nfunction doesPlayerHaveActiveAttributeWithNameAndSource(player: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource, game: Game): boolean {\n const attribute = getPlayerAttributeWithNameAndSource(player, attributeName, attributeSource);\n return !!attribute && isPlayerAttributeActive(attribute, game);\n}\n\nexport {\n isPlayerAttributeActive,\n getPlayerAttributeWithName,\n doesPlayerHaveAttributeWithName,\n getActivePlayerAttributeWithName,\n doesPlayerHaveActiveAttributeWithName,\n getPlayerAttributeWithNameAndSource,\n doesPlayerHaveAttributeWithNameAndSource,\n doesPlayerHaveActiveAttributeWithNameAndSource,\n};" - }, - "src/modules/game/helpers/player/player-death/player-death.factory.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1091", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(9,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1078", - "1130" - ], - "location": { - "end": { - "column": 2, - "line": 15 - }, - "start": { - "column": 106, - "line": 9 - } - } - }, - { - "id": "1092", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(10,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1078", - "1130" - ], - "location": { - "end": { - "column": 4, - "line": 14 - }, - "start": { - "column": 28, - "line": 10 - } - } }, { - "id": "1093", + "id": "1034", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(17,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(8,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ + "167", + "223", + "224", + "227", + "237", + "242", + "244", + "264", + "266", + "267", + "274", + "287", + "304", + "318", + "350", + "353", + "359", + "391", + "397", + "400", + "401", + "402", + "482", + "483", + "491", + "498", + "500", + "501", + "502", + "503", + "504", + "514", + "515", + "516", + "517", + "519", "520", - "1131" + "521", + "523", + "524", + "525", + "527", + "532", + "535", + "540", + "544", + "551", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", + "796", + "800", + "801", + "817", + "818", + "826", + "827", + "828", + "829", + "830", + "831", + "846", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "992", + "993", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", + "1224" ], "location": { "end": { "column": 2, - "line": 23 - }, - "start": { - "column": 99, - "line": 17 - } - } - }, - { - "id": "1094", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(18,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "520", - "1131" - ], - "location": { - "end": { - "column": 4, - "line": 22 + "line": 11 }, "start": { - "column": 28, - "line": 18 + "column": 86, + "line": 8 } } }, { - "id": "1095", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(25,96): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1039", + "mutatorName": "LogicalOperator", + "replacement": "activeAt === undefined && activeAt.turn < game.turn", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "548", - "1132" - ], - "location": { - "end": { - "column": 2, - "line": 31 - }, - "start": { - "column": 108, - "line": 25 - } - } - }, - { - "id": "1096", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(26,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "548", - "1132" - ], - "location": { - "end": { - "column": 4, - "line": 30 - }, - "start": { - "column": 28, - "line": 26 - } - } - }, - { - "id": "1097", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(33,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "398", - "1133" - ], - "location": { - "end": { - "column": 2, - "line": 39 - }, - "start": { - "column": 107, - "line": 33 - } - } - }, - { - "id": "1098", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(34,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "398", - "1133" - ], - "location": { - "end": { - "column": 4, - "line": 38 - }, - "start": { - "column": 28, - "line": 34 - } - } - }, - { - "id": "1099", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(41,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "389", - "1134" - ], - "location": { - "end": { - "column": 2, - "line": 47 - }, - "start": { - "column": 94, - "line": 41 - } - } - }, - { - "id": "1100", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(42,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "389", - "1134" - ], - "location": { - "end": { - "column": 4, - "line": 46 - }, - "start": { - "column": 28, - "line": 42 - } - } - }, - { - "id": "1101", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(49,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "409", - "1135" - ], - "location": { - "end": { - "column": 2, - "line": 55 - }, - "start": { - "column": 96, - "line": 49 - } - } - }, - { - "id": "1102", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(50,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "409", - "1135" - ], - "location": { - "end": { - "column": 4, - "line": 54 - }, - "start": { - "column": 28, - "line": 50 - } - } - }, - { - "id": "1103", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(57,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "443", - "1136" - ], - "location": { - "end": { - "column": 2, - "line": 63 - }, - "start": { - "column": 93, - "line": 57 - } - } - }, - { - "id": "1104", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(58,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "443", - "1136" - ], - "location": { - "end": { - "column": 4, - "line": 62 - }, - "start": { - "column": 28, - "line": 58 - } - } - }, - { - "id": "1105", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(65,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1137" - ], - "location": { - "end": { - "column": 2, - "line": 71 - }, - "start": { - "column": 101, - "line": 65 - } - } - }, - { - "id": "1106", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(66,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1137" - ], - "location": { - "end": { - "column": 4, - "line": 70 - }, - "start": { - "column": 28, - "line": 66 - } - } - }, - { - "id": "1107", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(73,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1138" - ], - "location": { - "end": { - "column": 2, - "line": 79 - }, - "start": { - "column": 98, - "line": 73 - } - } - }, - { - "id": "1108", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(74,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1138" - ], - "location": { - "end": { - "column": 4, - "line": 78 - }, - "start": { - "column": 28, - "line": 74 - } - } - }, - { - "id": "1109", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(81,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1076", - "1139" - ], - "location": { - "end": { - "column": 2, - "line": 87 - }, - "start": { - "column": 98, - "line": 81 - } - } - }, - { - "id": "1110", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(82,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1076", - "1139" - ], - "location": { - "end": { - "column": 4, - "line": 86 - }, - "start": { - "column": 28, - "line": 82 - } - } - }, - { - "id": "1111", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(89,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1077", - "1140" - ], - "location": { - "end": { - "column": 2, - "line": 95 - }, - "start": { - "column": 99, - "line": 89 - } - } - }, - { - "id": "1112", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(90,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "1077", - "1140" - ], - "location": { - "end": { - "column": 4, - "line": 94 - }, - "start": { - "column": 28, - "line": 90 - } - } - }, - { - "id": "1113", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(97,55): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "389", - "398", - "409", - "443", - "472", - "520", - "548", - "563", - "1076", - "1077", - "1078", - "1130", - "1131", - "1132", - "1133", - "1134", - "1135", - "1136", - "1137", - "1138", - "1139", - "1140", - "1141" - ], - "location": { - "end": { - "column": 2, - "line": 99 - }, - "start": { - "column": 67, - "line": 97 - } - } - } - ], - "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { PlayerAttributeNames, PlayerDeathCauses, PlayerGroups } from \"@/modules/game/enums/player.enum\";\nimport { PlayerDeath } from \"@/modules/game/schemas/player/player-death/player-death.schema\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createPlayerDiseaseByRustySwordKnightDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.DISEASE,\n source: RoleNames.RUSTY_SWORD_KNIGHT,\n ...playerDeath,\n });\n}\n\nfunction createPlayerBrokenHeartByCupidDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.BROKEN_HEART,\n source: RoleNames.CUPID,\n ...playerDeath,\n });\n}\n\nfunction createPlayerReconsiderPardonBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.RECONSIDER_PARDON,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteScapegoatedBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE_SCAPEGOATED,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteBySheriffDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE,\n source: PlayerAttributeNames.SHERIFF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerShotByHunterDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.SHOT,\n source: RoleNames.HUNTER,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWhiteWerewolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: RoleNames.WHITE_WEREWOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByBigBadWolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: RoleNames.BIG_BAD_WOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWerewolvesDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: PlayerGroups.WEREWOLVES,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeathPotionByWitchDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.DEATH_POTION,\n source: RoleNames.WITCH,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeath(playerDeath: PlayerDeath): PlayerDeath {\n return plainToInstance(PlayerDeath, playerDeath, DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport {\n createPlayerDiseaseByRustySwordKnightDeath,\n createPlayerBrokenHeartByCupidDeath,\n createPlayerReconsiderPardonBySurvivorsDeath,\n createPlayerVoteScapegoatedBySurvivorsDeath,\n createPlayerVoteBySheriffDeath,\n createPlayerVoteBySurvivorsDeath,\n createPlayerShotByHunterDeath,\n createPlayerEatenByWhiteWerewolfDeath,\n createPlayerEatenByBigBadWolfDeath,\n createPlayerEatenByWerewolvesDeath,\n createPlayerDeathPotionByWitchDeath,\n createPlayerDeath,\n};" - }, - "src/modules/game/helpers/player/player.factory.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1114", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player.factory.ts(8,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "221", - "222", - "224", - "225", - "226", - "227", - "391", - "411", - "416", - "423", - "427", - "428", - "429", - "430", - "432", - "437", - "439", - "441", - "445", - "446", - "453", - "455", - "457", - "458", - "459", - "460", - "461", - "462", - "464", - "465", - "466", - "467", - "472", - "474", - "475", - "485", - "486", - "494", - "516", - "525", - "526", - "532", - "537", - "557", - "558", - "559", - "560", - "561", - "562", - "563", - "608", - "609", - "610", - "620", - "621", - "887", - "888", - "889", - "890", - "891", - "892", - "893", - "896", - "897", - "898", - "980", - "1048", - "1049", - "1051", - "1052", - "1057", - "1058", - "1082", - "1083", - "1084", - "1278", - "1279" - ], - "location": { - "end": { - "column": 2, - "line": 10 - }, - "start": { - "column": 47, - "line": 8 - } - } - }, - { - "id": "1115", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 1\n\n@@ -8,10 +8,11 @@\n \"remainingPhases\": undefined,\n \"source\": \"fox\",\n },\n ],\n \"death\": undefined,\n+ \"extra\": \"extra\",\n \"isAlive\": true,\n \"name\": \"Toto\",\n \"position\": 1,\n \"role\": PlayerRole {\n \"current\": \"scapegoat\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.factory.spec.ts:37:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 68, - "static": false, - "killedBy": [ - "1279" - ], - "coveredBy": [ - "221", - "222", + "167", + "223", "224", - "225", - "226", "227", + "237", + "242", + "244", + "264", + "266", + "267", + "274", + "287", + "304", + "318", + "350", + "353", + "359", "391", - "411", - "416", - "423", - "427", - "428", - "429", - "430", - "432", - "437", - "439", - "441", - "445", - "446", - "453", - "455", - "457", - "458", - "459", - "460", - "461", - "462", - "464", - "465", - "466", - "467", - "472", - "474", - "475", - "485", - "486", - "494", + "397", + "400", + "401", + "402", + "482", + "483", + "491", + "498", + "500", + "501", + "502", + "503", + "504", + "514", + "515", "516", + "517", + "519", + "520", + "521", + "523", + "524", "525", - "526", + "527", "532", - "537", - "557", - "558", - "559", - "560", - "561", - "562", - "563", - "608", - "609", - "610", - "620", - "621", - "887", - "888", + "535", + "540", + "544", + "551", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", + "796", + "800", + "801", + "817", + "818", + "826", + "827", + "828", + "829", + "830", + "831", + "846", "889", - "890", - "891", "892", - "893", - "896", - "897", - "898", - "980", - "1048", - "1049", - "1051", - "1052", - "1057", - "1058", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "992", + "993", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", "1082", - "1083", "1084", - "1278", - "1279" + "1085", + "1224" ], "location": { "end": { - "column": 121, + "column": 61, "line": 9 }, "start": { - "column": 50, + "column": 10, "line": 9 } } }, { - "id": "1116", - "mutatorName": "BooleanLiteral", + "id": "1038", + "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 1\n\n@@ -8,10 +8,11 @@\n \"remainingPhases\": undefined,\n \"source\": \"fox\",\n },\n ],\n \"death\": undefined,\n+ \"extra\": \"extra\",\n \"isAlive\": true,\n \"name\": \"Toto\",\n \"position\": 1,\n \"role\": PlayerRole {\n \"current\": \"hunter\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.factory.spec.ts:37:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 68, + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1279" - ], "coveredBy": [ - "221", - "222", + "167", + "223", "224", - "225", - "226", "227", - "391", - "411", - "416", - "423", - "427", - "428", - "429", - "430", - "432", - "437", - "439", - "441", - "445", - "446", - "453", - "455", - "457", - "458", - "459", - "460", - "461", - "462", - "464", - "465", - "466", - "467", - "472", - "474", - "475", - "485", - "486", - "494", - "516", - "525", - "526", - "532", - "537", - "557", - "558", - "559", - "560", - "561", - "562", - "563", - "608", - "609", - "610", - "620", - "621", - "887", - "888", - "889", - "890", - "891", - "892", - "893", - "896", - "897", - "898", - "980", - "1048", - "1049", - "1051", - "1052", - "1057", - "1058", - "1082", - "1083", - "1084", - "1278", - "1279" - ], - "location": { - "end": { - "column": 119, - "line": 9 - }, - "start": { - "column": 115, - "line": 9 - } - } - } - ], - "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { Player } from \"@/modules/game/schemas/player/player.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createPlayer(player: Player): Player {\n return plainToInstance(Player, toJSON(player), { ...DEFAULT_PLAIN_TO_INSTANCE_OPTIONS, excludeExtraneousValues: true });\n}\n\nexport { createPlayer };" - }, - "src/modules/game/helpers/player/player.helper.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1117", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player.helper.ts(7,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "28", - "30", - "122", - "124", - "240", - "241", + "237", "242", - "243", "244", "264", - "265", + "266", + "267", "274", - "275", "287", - "288", - "289", - "290", - "291", "304", - "305", - "307", - "308", - "313", "318", - "319", - "320", - "321", - "322", - "349", "350", - "352", "353", + "359", + "391", "397", - "398", - "487", - "488", - "489", - "490", + "400", + "401", + "402", + "482", + "483", "491", - "492", - "493", - "495", - "496", - "497", "498", + "500", + "501", + "502", + "503", + "504", + "514", "515", "516", - "522", + "517", + "519", + "520", + "521", "523", - "534", + "524", + "525", + "527", + "532", "535", - "536", - "537", - "539", "540", - "541", - "543", "544", - "545", - "546", - "547", - "548", - "550", "551", - "620", - "621", - "795", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", "796", - "798", "800", - "802", + "801", + "817", + "818", "826", "827", "828", "829", "830", - "836", - "837", - "838", - "839", - "840", - "841", - "845", + "831", "846", - "847", - "899", - "902", - "980", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", "989", "990", - "991", "992", "993", - "1223", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", "1224" ], "location": { "end": { - "column": 2, + "column": 61, "line": 9 }, "start": { - "column": 64, - "line": 7 + "column": 10, + "line": 9 } } }, { - "id": "1118", - "mutatorName": "BooleanLiteral", - "replacement": "doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.POWERLESS, game)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 97, + "id": "1040", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,19): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "490" - ], "coveredBy": [ - "28", - "30", - "122", - "124", - "240", - "241", + "167", + "223", + "224", + "227", + "237", "242", - "243", "244", "264", - "265", + "266", + "267", "274", - "275", "287", - "288", - "289", - "290", - "291", "304", - "305", - "307", - "308", - "313", "318", - "319", - "320", - "321", - "322", - "349", "350", - "352", "353", + "359", + "391", "397", - "398", - "487", - "488", - "489", - "490", + "400", + "401", + "402", + "482", + "483", "491", - "492", - "493", - "495", - "496", - "497", "498", + "500", + "501", + "502", + "503", + "504", + "514", "515", "516", - "522", + "517", + "519", + "520", + "521", "523", - "534", + "524", + "525", + "527", + "532", "535", - "536", - "537", - "539", "540", - "541", - "543", "544", - "545", - "546", - "547", - "548", - "550", "551", - "620", - "621", - "795", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", "796", - "798", "800", - "802", + "801", + "817", + "818", "826", "827", "828", "829", "830", - "836", - "837", - "838", - "839", - "840", - "841", - "845", + "831", "846", - "847", - "899", - "902", - "980", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", "989", "990", - "991", "992", "993", - "1223", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", "1224" ], "location": { "end": { - "column": 94, - "line": 8 + "column": 32, + "line": 9 }, "start": { "column": 10, - "line": 8 + "line": 9 } } }, { - "id": "1119", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player.helper.ts(11,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1037", + "mutatorName": "LogicalOperator", + "replacement": "(activeAt === undefined || activeAt.turn < game.turn) && activeAt.turn === game.turn && (activeAt.phase === game.phase || game.phase === GamePhases.DAY)", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,67): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,99): error TS18048: 'activeAt' is possibly 'undefined'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "27", - "28", - "30", - "121", - "122", - "124", - "240", - "241", + "167", + "223", + "224", + "227", + "237", "242", - "243", "244", - "263", "264", - "265", - "273", + "266", + "267", "274", - "275", - "286", "287", - "288", - "289", - "290", - "291", - "303", "304", - "305", - "307", - "308", - "312", - "313", - "317", "318", - "319", - "320", - "321", - "322", - "355", - "396", + "350", + "353", + "359", + "391", "397", - "398", - "620", - "621", - "795", + "400", + "401", + "402", + "482", + "483", + "491", + "498", + "500", + "501", + "502", + "503", + "504", + "514", + "515", + "516", + "517", + "519", + "520", + "521", + "523", + "524", + "525", + "527", + "532", + "535", + "540", + "544", + "551", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", + "796", "800", - "802", - "825", + "801", + "817", + "818", "826", "827", "828", "829", "830", - "844", - "845", + "831", "846", - "847", - "899", - "901", - "902", - "1222", - "1223", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "992", + "993", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", "1224" ], "location": { "end": { - "column": 2, - "line": 13 + "column": 100, + "line": 10 }, "start": { - "column": 72, - "line": 11 + "column": 10, + "line": 9 } } }, { - "id": "1120", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1885:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 62, + "id": "1041", + "mutatorName": "EqualityOperator", + "replacement": "activeAt !== undefined", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(9,36): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,5): error TS18048: 'activeAt' is possibly 'undefined'.\nsrc/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(10,37): error TS18048: 'activeAt' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "121" - ], "coveredBy": [ - "27", - "28", - "30", - "121", - "122", - "124", - "240", - "241", + "167", + "223", + "224", + "227", + "237", "242", - "243", "244", - "263", "264", - "265", - "273", + "266", + "267", "274", - "275", - "286", "287", - "288", - "289", - "290", - "291", - "303", "304", - "305", - "307", - "308", - "312", - "313", - "317", "318", - "319", - "320", - "321", - "322", - "355", - "396", + "350", + "353", + "359", + "391", "397", - "398", - "620", - "621", - "795", + "400", + "401", + "402", + "482", + "483", + "491", + "498", + "500", + "501", + "502", + "503", + "504", + "514", + "515", + "516", + "517", + "519", + "520", + "521", + "523", + "524", + "525", + "527", + "532", + "535", + "540", + "544", + "551", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", + "796", "800", - "802", - "825", + "801", + "817", + "818", "826", "827", "828", "829", "830", - "844", - "845", + "831", "846", - "847", - "899", - "901", - "902", - "1222", - "1223", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "992", + "993", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", "1224" ], "location": { "end": { - "column": 58, - "line": 12 + "column": 32, + "line": 9 }, "start": { "column": 10, - "line": 12 + "line": 9 } } }, { - "id": "1121", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -8,28 +8,6 @@\n \"source\": GamePlaySource {\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 62, + "id": "1063", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(21,117): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ - "27", "28", "30", - "121", "122", "124", + "141", + "167", + "201", + "223", + "224", + "227", + "237", + "238", + "239", "240", "241", "242", @@ -46825,83 +44942,218 @@ "263", "264", "265", - "273", + "266", + "267", "274", "275", - "286", "287", "288", "289", "290", "291", - "303", "304", "305", "307", "308", - "312", "313", - "317", "318", "319", "320", "321", "322", - "355", + "349", + "350", + "352", + "353", + "358", + "359", + "391", + "395", "396", "397", "398", - "620", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "473", + "481", + "482", + "483", + "484", + "485", + "488", + "489", + "490", + "491", + "492", + "493", + "494", + "496", + "497", + "498", + "499", + "500", + "501", + "502", + "503", + "504", + "505", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "527", + "535", + "536", + "537", + "538", + "540", + "541", + "542", + "544", + "545", + "546", + "547", + "548", + "549", + "551", + "552", + "609", + "610", "621", + "622", + "656", + "657", + "658", + "659", + "660", + "661", + "662", + "663", + "664", + "746", + "747", + "748", + "749", + "753", + "754", + "757", + "758", + "784", + "790", + "791", + "792", + "793", + "794", "795", + "796", + "797", + "799", "800", + "801", "802", + "803", + "804", + "805", + "806", + "816", + "817", + "818", "825", "826", "827", "828", "829", "830", - "844", - "845", + "831", + "837", + "838", + "839", + "840", + "841", + "842", "846", "847", - "899", - "901", - "902", - "1222", - "1223", - "1224" + "848", + "888", + "889", + "890", + "891", + "892", + "900", + "903", + "946", + "947", + "981", + "983", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "991", + "992", + "993", + "994", + "1006", + "1007", + "1008", + "1009", + "1010", + "1011", + "1012", + "1067", + "1224", + "1225" ], "location": { "end": { - "column": 58, - "line": 12 + "column": 2, + "line": 23 }, "start": { - "column": 10, - "line": 12 + "column": 145, + "line": 21 } } }, { - "id": "1122", - "mutatorName": "LogicalOperator", - "replacement": "player.isAlive || isPlayerPowerful(player, game)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 62, + "id": "1070", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts(25,114): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "621" - ], "coveredBy": [ - "27", "28", "30", - "121", "122", "124", + "141", + "167", + "201", + "223", + "224", + "227", + "237", + "238", + "239", "240", "241", "242", @@ -46910,1785 +45162,3468 @@ "263", "264", "265", - "273", + "266", + "267", "274", "275", - "286", "287", "288", "289", "290", "291", - "303", "304", "305", "307", "308", - "312", "313", - "317", "318", "319", "320", "321", "322", - "355", + "349", + "350", + "352", + "353", + "358", + "359", + "391", + "395", "396", "397", "398", - "620", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "473", + "481", + "482", + "483", + "484", + "485", + "488", + "489", + "490", + "491", + "492", + "493", + "494", + "496", + "497", + "498", + "499", + "500", + "501", + "502", + "503", + "504", + "505", + "513", + "514", + "515", + "516", + "517", + "518", + "519", + "520", + "521", + "522", + "523", + "524", + "525", + "526", + "527", + "535", + "536", + "537", + "538", + "540", + "541", + "542", + "544", + "545", + "546", + "547", + "548", + "549", + "551", + "552", + "609", + "610", "621", + "622", + "656", + "657", + "658", + "659", + "660", + "661", + "662", + "663", + "664", + "746", + "747", + "748", + "749", + "753", + "754", + "757", + "758", + "784", + "790", + "791", + "792", + "793", + "794", "795", + "796", + "797", + "799", "800", + "801", "802", + "803", + "804", + "805", + "806", + "816", + "817", + "818", "825", "826", "827", "828", "829", "830", - "844", - "845", + "831", + "837", + "838", + "839", + "840", + "841", + "842", "846", "847", - "899", - "901", - "902", - "1222", - "1223", + "848", + "888", + "889", + "890", + "891", + "892", + "900", + "903", + "946", + "947", + "981", + "983", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "991", + "992", + "993", + "994", + "1009", + "1010", + "1011", + "1012", + "1067", + "1224", + "1225" + ], + "location": { + "end": { + "column": 2, + "line": 27 + }, + "start": { + "column": 122, + "line": 25 + } + } + }, + { + "id": "1036", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "status": "Timeout", + "static": false, + "coveredBy": [ + "167", + "223", + "224", + "227", + "237", + "242", + "244", + "264", + "266", + "267", + "274", + "287", + "304", + "318", + "350", + "353", + "359", + "391", + "397", + "400", + "401", + "402", + "482", + "483", + "491", + "498", + "500", + "501", + "502", + "503", + "504", + "514", + "515", + "516", + "517", + "519", + "520", + "521", + "523", + "524", + "525", + "527", + "532", + "535", + "540", + "544", + "551", + "656", + "746", + "748", + "753", + "754", + "757", + "758", + "784", + "794", + "796", + "800", + "801", + "817", + "818", + "826", + "827", + "828", + "829", + "830", + "831", + "846", + "889", + "892", + "903", + "946", + "947", + "981", + "984", + "985", + "986", + "987", + "988", + "989", + "990", + "992", + "993", + "994", + "995", + "996", + "997", + "998", + "999", + "1000", + "1007", + "1008", + "1011", + "1012", + "1023", + "1024", + "1067", + "1082", + "1084", + "1085", "1224" ], "location": { "end": { - "column": 58, - "line": 12 + "column": 100, + "line": 10 }, "start": { "column": 10, - "line": 12 + "line": 9 } } - }, + } + ], + "source": "import { GamePhases } from \"@/modules/game/enums/game.enum\";\nimport type { PlayerAttributeNames } from \"@/modules/game/enums/player.enum\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { PlayerAttribute } from \"@/modules/game/schemas/player/player-attribute/player-attribute.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport type { GameSource } from \"@/modules/game/types/game.type\";\n\nfunction isPlayerAttributeActive({ activeAt }: PlayerAttribute, game: Game): boolean {\n return activeAt === undefined || activeAt.turn < game.turn ||\n activeAt.turn === game.turn && (activeAt.phase === game.phase || game.phase === GamePhases.DAY);\n}\n\nfunction getPlayerAttributeWithName({ attributes }: Player, attributeName: PlayerAttributeNames): PlayerAttribute | undefined {\n return attributes.find(({ name }) => name === attributeName);\n}\n\nfunction doesPlayerHaveAttributeWithName(player: Player, attributeName: PlayerAttributeNames): boolean {\n return !!getPlayerAttributeWithName(player, attributeName);\n}\n\nfunction getActivePlayerAttributeWithName({ attributes }: Player, attributeName: PlayerAttributeNames, game: Game): PlayerAttribute | undefined {\n return attributes.find(attribute => attribute.name === attributeName && isPlayerAttributeActive(attribute, game));\n}\n\nfunction doesPlayerHaveActiveAttributeWithName(player: Player, attributeName: PlayerAttributeNames, game: Game): boolean {\n return !!getActivePlayerAttributeWithName(player, attributeName, game);\n}\n\nfunction getPlayerAttributeWithNameAndSource({ attributes }: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource): PlayerAttribute | undefined {\n return attributes.find(({ name, source }) => name === attributeName && source === attributeSource);\n}\n\nfunction doesPlayerHaveAttributeWithNameAndSource(player: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource): boolean {\n return !!getPlayerAttributeWithNameAndSource(player, attributeName, attributeSource);\n}\n\nfunction doesPlayerHaveActiveAttributeWithNameAndSource(player: Player, attributeName: PlayerAttributeNames, attributeSource: GameSource, game: Game): boolean {\n const attribute = getPlayerAttributeWithNameAndSource(player, attributeName, attributeSource);\n return !!attribute && isPlayerAttributeActive(attribute, game);\n}\n\nexport {\n isPlayerAttributeActive,\n getPlayerAttributeWithName,\n doesPlayerHaveAttributeWithName,\n getActivePlayerAttributeWithName,\n doesPlayerHaveActiveAttributeWithName,\n getPlayerAttributeWithNameAndSource,\n doesPlayerHaveAttributeWithNameAndSource,\n doesPlayerHaveActiveAttributeWithNameAndSource,\n};" + }, + "src/modules/game/helpers/player/player-death/player-death.factory.ts": { + "language": "typescript", + "mutants": [ { - "id": "1123", + "id": "1091", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player.helper.ts(20,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(9,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "1225", - "1226" + "1079", + "1131" ], "location": { "end": { "column": 2, - "line": 17 + "line": 15 }, "start": { - "column": 60, - "line": 15 + "column": 106, + "line": 9 } } }, { - "id": "1124", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:89:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1092", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(10,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1225" - ], + "killedBy": [], "coveredBy": [ - "1225", - "1226" + "1079", + "1131" ], "location": { "end": { - "column": 54, - "line": 16 + "column": 4, + "line": 14 }, "start": { - "column": 10, - "line": 16 + "column": 28, + "line": 10 } } }, { - "id": "1125", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:93:78)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1093", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(17,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1226" - ], + "killedBy": [], "coveredBy": [ - "1225", - "1226" + "521", + "1132" ], "location": { "end": { - "column": 54, - "line": 16 + "column": 2, + "line": 23 }, "start": { - "column": 10, - "line": 16 + "column": 99, + "line": 17 } } }, { - "id": "1126", - "mutatorName": "EqualityOperator", - "replacement": "player.side.current !== RoleSides.WEREWOLVES", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:89:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1094", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(18,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1225" - ], + "killedBy": [], "coveredBy": [ - "1225", - "1226" + "521", + "1132" ], "location": { "end": { - "column": 54, - "line": 16 + "column": 4, + "line": 22 }, "start": { - "column": 10, - "line": 16 + "column": 28, + "line": 18 } } }, { - "id": "1127", + "id": "1095", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/helpers/player/player.helper.ts(24,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(25,96): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "1227", - "1228" + "549", + "1133" ], "location": { "end": { "column": 2, - "line": 21 + "line": 31 }, "start": { - "column": 59, - "line": 19 + "column": 108, + "line": 25 } } }, { - "id": "1128", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:103:77)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1096", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(26,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1228" - ], + "killedBy": [], "coveredBy": [ - "1227", - "1228" + "549", + "1133" ], "location": { "end": { - "column": 53, - "line": 20 + "column": 4, + "line": 30 }, "start": { - "column": 10, - "line": 20 + "column": 28, + "line": 26 } } }, { - "id": "1129", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:99:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1097", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(33,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1227" - ], + "killedBy": [], "coveredBy": [ - "1227", - "1228" + "398", + "1134" ], "location": { "end": { - "column": 53, - "line": 20 + "column": 2, + "line": 39 }, "start": { - "column": 10, - "line": 20 + "column": 107, + "line": 33 } } }, { - "id": "1130", - "mutatorName": "EqualityOperator", - "replacement": "player.side.current !== RoleSides.VILLAGERS", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:99:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "1227" - ], - "coveredBy": [ - "1227", - "1228" - ], - "location": { - "end": { - "column": 53, - "line": 20 - }, - "start": { - "column": 10, - "line": 20 - } - } - } - ], - "source": "import { PlayerAttributeNames } from \"@/modules/game/enums/player.enum\";\nimport { doesPlayerHaveActiveAttributeWithName } from \"@/modules/game/helpers/player/player-attribute/player-attribute.helper\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { RoleSides } from \"@/modules/role/enums/role.enum\";\n\nfunction isPlayerPowerful(player: Player, game: Game): boolean {\n return !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.POWERLESS, game);\n}\n\nfunction isPlayerAliveAndPowerful(player: Player, game: Game): boolean {\n return player.isAlive && isPlayerPowerful(player, game);\n}\n\nfunction isPlayerOnWerewolvesSide(player: Player): boolean {\n return player.side.current === RoleSides.WEREWOLVES;\n}\n\nfunction isPlayerOnVillagersSide(player: Player): boolean {\n return player.side.current === RoleSides.VILLAGERS;\n}\n\nexport {\n isPlayerPowerful,\n isPlayerAliveAndPowerful,\n isPlayerOnWerewolvesSide,\n isPlayerOnVillagersSide,\n};" - }, - "src/modules/game/providers/repositories/game-history-record.repository.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1131", - "mutatorName": "BlockStatement", + "id": "1098", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(19,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(34,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "627", - "628", - "629", - "680", - "681", - "682", - "683" + "398", + "1134" ], "location": { "end": { "column": 4, - "line": 22 + "line": 38 }, "start": { - "column": 123, - "line": 19 + "column": 28, + "line": 34 } } }, { - "id": "1132", - "mutatorName": "ObjectLiteral", + "id": "1099", + "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(41,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "627", - "628", - "629", - "680", - "681", - "682", - "683" + "389", + "1135" ], "location": { "end": { - "column": 55, - "line": 21 + "column": 2, + "line": 47 }, "start": { - "column": 45, - "line": 21 + "column": 94, + "line": 41 } } }, { - "id": "1133", - "mutatorName": "BlockStatement", + "id": "1100", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(24,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(42,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "620", - "621", - "684", - "685", - "686", - "687", - "688", - "689", - "690", - "691", - "692" + "389", + "1135" ], "location": { "end": { "column": 4, - "line": 26 + "line": 46 }, "start": { - "column": 97, - "line": 24 + "column": 28, + "line": 42 } } }, { - "id": "1134", + "id": "1101", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(28,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(49,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "693", - "694", - "695" + "410", + "1136" ], "location": { "end": { - "column": 4, - "line": 35 + "column": 2, + "line": 55 }, "start": { - "column": 116, - "line": 28 + "column": 96, + "line": 49 } } }, { - "id": "1135", + "id": "1102", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toBeNull()\n\nReceived: {\"_id\": \"5a8a19e5bae5d42ca528afe4\", \"createdAt\": 2023-11-29T09:51:32.830Z, \"gameId\": \"c3cd0449f0b72c5ffdfabdd5\", \"phase\": \"day\", \"play\": {\"action\": \"eat\", \"source\": {\"name\": \"werewolves\", \"players\": [{\"_id\": \"ec9baddfac54ca43dffc2053\", \"attributes\": [], \"isAlive\": true, \"name\": \"Cameron\", \"position\": 7645063523860480, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]}}, \"tick\": 799202875539456, \"turn\": 5524781977829376}\n at Object.toBeNull (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:184:110)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(50,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "693" - ], + "killedBy": [], "coveredBy": [ - "693", - "694", - "695" + "410", + "1136" ], "location": { "end": { - "column": 6, - "line": 33 + "column": 4, + "line": 54 }, "start": { - "column": 52, - "line": 29 + "column": 28, + "line": 50 } } }, { - "id": "1136", - "mutatorName": "ObjectLiteral", + "id": "1103", + "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(57,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "693", - "694", - "695" + "444", + "1137" ], "location": { "end": { - "column": 94, - "line": 34 + "column": 2, + "line": 63 }, "start": { - "column": 67, - "line": 34 + "column": 93, + "line": 57 } } }, { - "id": "1137", + "id": "1104", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 7\n\n@@ -1,21 +1,21 @@\n Object {\n- \"_id\": \"bc2d12aff6c6b2c3d42d366f\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"8b6a0a62ecbecf087a2214b6\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"dd3fc91b64a2bd23008e1ea1\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"protect\",\n \"source\": Object {\n \"name\": \"defender\",\n \"players\": Array [\n Object {\n- \"_id\": \"ec7a4aa877d0a5e996f7f4f4\",\n+ \"_id\": \"407df555e4a89c832ff56db1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Willa\",\n- \"position\": 4751572535869440,\n+ \"name\": \"Lorenza\",\n+ \"position\": 4526966923329536,\n \"role\": Object {\n \"current\": \"defender\",\n \"isRevealed\": false,\n \"original\": \"defender\",\n },\n@@ -25,8 +25,8 @@\n },\n },\n ],\n },\n },\n- \"tick\": 7727194314899456,\n- \"turn\": 1520206859993088,\n+ \"tick\": 4593166042791936,\n+ \"turn\": 5250105244385280,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:209:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(58,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "695" - ], + "killedBy": [], "coveredBy": [ - "693", - "694", - "695" + "444", + "1137" ], "location": { "end": { - "column": 92, - "line": 34 + "column": 4, + "line": 62 }, "start": { - "column": 75, - "line": 34 + "column": 28, + "line": 58 } } }, { - "id": "1138", - "mutatorName": "UnaryOperator", - "replacement": "+1", - "status": "Timeout", + "id": "1105", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(65,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "693", - "694", - "695" + "1138" ], "location": { "end": { - "column": 90, - "line": 34 + "column": 2, + "line": 71 }, "start": { - "column": 88, - "line": 34 + "column": 101, + "line": 65 } } }, { - "id": "1139", - "mutatorName": "BlockStatement", + "id": "1106", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(37,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(66,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "620", - "696", - "697", - "698", - "699" + "1138" ], "location": { "end": { "column": 4, - "line": 44 + "line": 70 }, "start": { - "column": 135, - "line": 37 + "column": 28, + "line": 66 } } }, { - "id": "1140", - "mutatorName": "ObjectLiteral", + "id": "1107", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toBeNull()\n\nReceived: {\"_id\": \"4ebbe9cbc3bcc3e3e9a77abf\", \"createdAt\": 2023-11-26T03:35:01.073Z, \"gameId\": \"fef4ffba96b17e016aa0a0bc\", \"phase\": \"day\", \"play\": {\"action\": \"eat\", \"source\": {\"name\": \"werewolves\", \"players\": [{\"_id\": \"e5ad76150afc33e92931614e\", \"attributes\": [], \"isAlive\": true, \"name\": \"Jennie\", \"position\": 593847612604416, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]}}, \"tick\": 4944278388211712, \"turn\": 1533872634331136}\n at Object.toBeNull (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:221:126)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(73,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "696" - ], + "killedBy": [], "coveredBy": [ - "620", - "696", - "697", - "698", - "699" + "1139" ], "location": { "end": { - "column": 6, - "line": 42 + "column": 2, + "line": 79 }, "start": { - "column": 52, - "line": 38 + "column": 98, + "line": 73 } } }, { - "id": "1141", + "id": "1108", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 11\n\n@@ -1,25 +1,25 @@\n Object {\n- \"_id\": \"e8eb849ce5ec3b89fc26ebf7\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"e6bdfda9a42fdf364c9cdbcc\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"daaa57c76e6eaf5e785ee9b1\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"35cfafbdf20a3f10ed2cbab3\",\n+ \"_id\": \"c6183bed4dc5e5d3acfabfbd\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Priscilla\",\n- \"position\": 3130898365022208,\n+ \"isAlive\": false,\n+ \"name\": \"Lauriane\",\n+ \"position\": 8632145811603456,\n \"role\": Object {\n- \"current\": \"dog-wolf\",\n+ \"current\": \"three-brothers\",\n \"isRevealed\": true,\n- \"original\": \"big-bad-wolf\",\n+ \"original\": \"fox\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n@@ -28,8 +28,8 @@\n },\n \"voting\": Object {\n \"result\": \"tie\",\n },\n },\n- \"tick\": 6934069935865856,\n- \"turn\": 7059203413770240,\n+ \"tick\": 8558282641768448,\n+ \"turn\": 2069624178868224,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:260:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(74,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "699" - ], + "killedBy": [], "coveredBy": [ - "620", - "696", - "697", - "698", - "699" + "1139" ], "location": { "end": { - "column": 94, - "line": 43 + "column": 4, + "line": 78 }, "start": { - "column": 67, - "line": 43 + "column": 28, + "line": 74 } } }, { - "id": "1142", - "mutatorName": "ObjectLiteral", + "id": "1109", + "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(81,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "620", - "696", - "697", - "698", - "699" + "1077", + "1140" ], "location": { "end": { - "column": 92, - "line": 43 + "column": 2, + "line": 87 }, "start": { - "column": 75, - "line": 43 + "column": 98, + "line": 81 } } }, { - "id": "1143", - "mutatorName": "UnaryOperator", - "replacement": "+1", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 13\n\n Object {\n- \"_id\": \"ee07da9f8aca4dd8f5ae26a5\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"efe6323e6bbfe0a957d8b66b\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"7adce0dc679b9c7e419f2ca0\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"6a2be98e7eca43fa0c7b7d1d\",\n+ \"_id\": \"532e7a3a8a848b7c6cb6cfa8\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Elisa\",\n- \"position\": 5170378269786112,\n+ \"name\": \"London\",\n+ \"position\": 2801388906086400,\n \"role\": Object {\n- \"current\": \"wild-child\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"villagers\",\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n },\n },\n ],\n },\n \"voting\": Object {\n \"result\": \"tie\",\n },\n },\n- \"tick\": 4913671320895488,\n- \"turn\": 8559383875158016,\n+ \"tick\": 8666932903411712,\n+ \"turn\": 8948467525222400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:260:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "1110", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(82,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "699" - ], + "killedBy": [], "coveredBy": [ - "620", - "696", - "697", - "698", - "699" + "1077", + "1140" ], "location": { "end": { - "column": 90, - "line": 43 + "column": 4, + "line": 86 }, "start": { - "column": 88, - "line": 43 + "column": 28, + "line": 82 } } }, { - "id": "1144", + "id": "1111", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(46,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(89,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "700", - "701", - "702", - "703", - "704" + "1078", + "1141" ], "location": { "end": { - "column": 4, - "line": 54 + "column": 2, + "line": 95 }, "start": { - "column": 137, - "line": 46 + "column": 99, + "line": 89 } } }, { - "id": "1145", + "id": "1112", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 136\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"259dbbcce58faaffac44c0ba\",\n+ \"createdAt\": \"2023-11-29T08:42:29.864Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"0cdcace974b264a5ad3e25d1\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Eliseo\",\n+ \"position\": 279352252039168,\n+ \"role\": Object {\n+ \"current\": \"hunter\",\n+ \"isRevealed\": false,\n+ \"original\": \"cupid\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"voting\": Object {\n+ \"result\": \"tie\",\n+ },\n+ },\n+ \"tick\": 8176275319422976,\n+ \"turn\": 562344688091136,\n+ },\n+ Object {\n+ \"_id\": \"4c1d81ae86ebce8cc67b174c\",\n+ \"createdAt\": \"2023-11-29T11:03:38.835Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cb8d43786c9fa7f21a1ce5bd\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Kolby\",\n+ \"position\": 246869615706112,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1069425191026688,\n+ \"turn\": 3182819245293568,\n+ },\n+ Object {\n+ \"_id\": \"0a8fcdce070cdc51eaee5d3a\",\n+ \"createdAt\": \"2023-11-29T06:31:21.124Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"e56bccb7bdb3e0aaec0c3af5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Joan\",\n+ \"position\": 7756925676552192,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2469200847175680,\n+ \"turn\": 5681048851578880,\n+ },\n+ Object {\n+ \"_id\": \"c92226f0b007a5d8dbab6509\",\n+ \"createdAt\": \"2023-11-29T06:28:20.444Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"bb63fbd6d20a9ede999ee247\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Marcelino\",\n+ \"position\": 7333402611023872,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": true,\n+ \"original\": \"two-sisters\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ \"voting\": Object {\n+ \"result\": \"tie\",\n+ },\n+ },\n+ \"tick\": 802209876934656,\n+ \"turn\": 2146247811006464,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:277:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(90,28): error TS2345: Argument of type '{}' is not assignable to parameter of type 'PlayerDeath'.\n Type '{}' is missing the following properties from type 'PlayerDeath': source, cause\n", + "status": "CompileError", "static": false, - "killedBy": [ - "700" - ], + "killedBy": [], "coveredBy": [ - "700", - "701", - "702", - "703", - "704" + "1078", + "1141" ], "location": { "end": { - "column": 6, - "line": 52 + "column": 4, + "line": 94 }, "start": { - "column": 52, - "line": 47 + "column": 28, + "line": 90 } } }, { - "id": "1146", + "id": "1113", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(56,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player-death/player-death.factory.ts(97,55): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "705", - "706" + "389", + "398", + "410", + "444", + "473", + "521", + "549", + "564", + "1077", + "1078", + "1079", + "1131", + "1132", + "1133", + "1134", + "1135", + "1136", + "1137", + "1138", + "1139", + "1140", + "1141", + "1142" ], "location": { "end": { - "column": 4, - "line": 63 + "column": 2, + "line": 99 }, "start": { - "column": 118, - "line": 56 + "column": 67, + "line": 97 } } - }, + } + ], + "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { PlayerAttributeNames, PlayerDeathCauses, PlayerGroups } from \"@/modules/game/enums/player.enum\";\nimport { PlayerDeath } from \"@/modules/game/schemas/player/player-death/player-death.schema\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createPlayerDiseaseByRustySwordKnightDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.DISEASE,\n source: RoleNames.RUSTY_SWORD_KNIGHT,\n ...playerDeath,\n });\n}\n\nfunction createPlayerBrokenHeartByCupidDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.BROKEN_HEART,\n source: RoleNames.CUPID,\n ...playerDeath,\n });\n}\n\nfunction createPlayerReconsiderPardonBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.RECONSIDER_PARDON,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteScapegoatedBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE_SCAPEGOATED,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteBySheriffDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE,\n source: PlayerAttributeNames.SHERIFF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerVoteBySurvivorsDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.VOTE,\n source: PlayerGroups.SURVIVORS,\n ...playerDeath,\n });\n}\n\nfunction createPlayerShotByHunterDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.SHOT,\n source: RoleNames.HUNTER,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWhiteWerewolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: RoleNames.WHITE_WEREWOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByBigBadWolfDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: RoleNames.BIG_BAD_WOLF,\n ...playerDeath,\n });\n}\n\nfunction createPlayerEatenByWerewolvesDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.EATEN,\n source: PlayerGroups.WEREWOLVES,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeathPotionByWitchDeath(playerDeath: Partial = {}): PlayerDeath {\n return createPlayerDeath({\n cause: PlayerDeathCauses.DEATH_POTION,\n source: RoleNames.WITCH,\n ...playerDeath,\n });\n}\n\nfunction createPlayerDeath(playerDeath: PlayerDeath): PlayerDeath {\n return plainToInstance(PlayerDeath, playerDeath, DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport {\n createPlayerDiseaseByRustySwordKnightDeath,\n createPlayerBrokenHeartByCupidDeath,\n createPlayerReconsiderPardonBySurvivorsDeath,\n createPlayerVoteScapegoatedBySurvivorsDeath,\n createPlayerVoteBySheriffDeath,\n createPlayerVoteBySurvivorsDeath,\n createPlayerShotByHunterDeath,\n createPlayerEatenByWhiteWerewolfDeath,\n createPlayerEatenByBigBadWolfDeath,\n createPlayerEatenByWerewolvesDeath,\n createPlayerDeathPotionByWitchDeath,\n createPlayerDeath,\n};" + }, + "src/modules/game/helpers/player/player.factory.ts": { + "language": "typescript", + "mutants": [ { - "id": "1147", + "id": "1115", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 130\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"cc3ba478b2f9bc5a54c4948e\",\n+ \"createdAt\": \"2023-11-29T19:25:27.803Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"54eaac488cdc08d49c39ccd7\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Lilyan\",\n+ \"position\": 8881289530703872,\n+ \"role\": Object {\n+ \"current\": \"idiot\",\n+ \"isRevealed\": true,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1061482385113088,\n+ \"turn\": 6747169281277952,\n+ },\n+ Object {\n+ \"_id\": \"96ccbc581456dbf0907e9e6e\",\n+ \"createdAt\": \"2023-11-29T21:53:30.963Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"8725cf47fc4f93a9b4dbd1d9\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Anibal\",\n+ \"position\": 1865676272697344,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1380255117869056,\n+ \"turn\": 2786462695161856,\n+ },\n+ Object {\n+ \"_id\": \"d54c6c988648affd9bde6dc6\",\n+ \"createdAt\": \"2023-11-29T23:30:50.949Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"624eccd792755b7c562f1a4b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Thurman\",\n+ \"position\": 3526956152782848,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 3171449841909760,\n+ \"turn\": 8211968074711040,\n+ },\n+ Object {\n+ \"_id\": \"35bdef90b8cd86adcf4ebc34\",\n+ \"createdAt\": \"2023-11-29T18:52:05.533Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"3abedbd2c5051b2a2ffabd6c\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jamir\",\n+ \"position\": 6382832159031296,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 7386748388638720,\n+ \"turn\": 3692219504525312,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:371:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 1\n\n@@ -8,10 +8,11 @@\n \"remainingPhases\": undefined,\n \"source\": \"fox\",\n },\n ],\n \"death\": undefined,\n+ \"extra\": \"extra\",\n \"isAlive\": true,\n \"name\": \"Toto\",\n \"position\": 1,\n \"role\": PlayerRole {\n \"current\": \"scapegoat\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.factory.spec.ts:37:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 68, "static": false, "killedBy": [ - "705" + "1280" ], "coveredBy": [ - "705", - "706" + "221", + "222", + "224", + "225", + "226", + "227", + "391", + "412", + "417", + "424", + "428", + "429", + "430", + "431", + "433", + "438", + "440", + "442", + "446", + "447", + "454", + "456", + "458", + "459", + "460", + "461", + "462", + "463", + "465", + "466", + "467", + "468", + "473", + "475", + "476", + "486", + "487", + "495", + "517", + "526", + "527", + "533", + "538", + "558", + "559", + "560", + "561", + "562", + "563", + "564", + "609", + "610", + "611", + "621", + "622", + "888", + "889", + "890", + "891", + "892", + "893", + "894", + "897", + "898", + "899", + "981", + "1049", + "1050", + "1052", + "1053", + "1058", + "1059", + "1083", + "1084", + "1085", + "1279", + "1280" ], "location": { "end": { - "column": 6, - "line": 61 + "column": 121, + "line": 9 }, "start": { - "column": 52, - "line": 57 + "column": 50, + "line": 9 } } }, { - "id": "1148", + "id": "1116", "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 13\n\n@@ -1,22 +1,22 @@\n Array [\n Object {\n- \"_id\": \"f3983f85a9f17f3bca0ff87c\",\n- \"createdAt\": \"2023-11-29T12:45:44.600Z\",\n+ \"_id\": \"efa2be19d9d8bc406be3c57a\",\n+ \"createdAt\": \"2023-11-29T17:58:09.127Z\",\n \"gameId\": \"e00bf25bb76f8bebe9bf7b1d\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"eat\",\n \"source\": Object {\n \"name\": \"werewolves\",\n \"players\": Array [\n Object {\n- \"_id\": \"bd3ebe43b05a8a3fc6bfa25e\",\n+ \"_id\": \"9cfc4eba12bdc58ed6de11c5\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Ian\",\n- \"position\": 2803370314170368,\n+ \"name\": \"Emmet\",\n+ \"position\": 5389645418332160,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n@@ -27,29 +27,29 @@\n },\n ],\n },\n \"targets\": Array [\n Object {\n- \"isInfected\": true,\n+ \"isInfected\": false,\n \"player\": Object {\n- \"_id\": \"ab5c8ddcf61df47b753ac9f9\",\n+ \"_id\": \"a158ce1bddc5b9bccaadeec1\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Joe\",\n- \"position\": 547448057495552,\n+ \"name\": \"Emmanuel\",\n+ \"position\": 7079214549303296,\n \"role\": Object {\n- \"current\": \"two-sisters\",\n+ \"current\": \"pied-piper\",\n \"isRevealed\": false,\n- \"original\": \"hunter\",\n+ \"original\": \"seer\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n },\n ],\n },\n- \"tick\": 6633381511036928,\n- \"turn\": 5074036541358080,\n+ \"tick\": 6219913999941632,\n+ \"turn\": 5715356003860480,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:389:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 1\n\n@@ -8,10 +8,11 @@\n \"remainingPhases\": undefined,\n \"source\": \"fox\",\n },\n ],\n \"death\": undefined,\n+ \"extra\": \"extra\",\n \"isAlive\": true,\n \"name\": \"Toto\",\n \"position\": 1,\n \"role\": PlayerRole {\n \"current\": \"hunter\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.factory.spec.ts:37:55)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 68, "static": false, "killedBy": [ - "706" + "1280" ], "coveredBy": [ - "705", - "706" + "221", + "222", + "224", + "225", + "226", + "227", + "391", + "412", + "417", + "424", + "428", + "429", + "430", + "431", + "433", + "438", + "440", + "442", + "446", + "447", + "454", + "456", + "458", + "459", + "460", + "461", + "462", + "463", + "465", + "466", + "467", + "468", + "473", + "475", + "476", + "486", + "487", + "495", + "517", + "526", + "527", + "533", + "538", + "558", + "559", + "560", + "561", + "562", + "563", + "564", + "609", + "610", + "611", + "621", + "622", + "888", + "889", + "890", + "891", + "892", + "893", + "894", + "897", + "898", + "899", + "981", + "1049", + "1050", + "1052", + "1053", + "1058", + "1059", + "1083", + "1084", + "1085", + "1279", + "1280" ], "location": { "end": { - "column": 38, - "line": 60 + "column": 119, + "line": 9 }, "start": { - "column": 34, - "line": 60 + "column": 115, + "line": 9 } } }, { - "id": "1149", + "id": "1114", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(65,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player.factory.ts(8,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "707", - "708" + "221", + "222", + "224", + "225", + "226", + "227", + "391", + "412", + "417", + "424", + "428", + "429", + "430", + "431", + "433", + "438", + "440", + "442", + "446", + "447", + "454", + "456", + "458", + "459", + "460", + "461", + "462", + "463", + "465", + "466", + "467", + "468", + "473", + "475", + "476", + "486", + "487", + "495", + "517", + "526", + "527", + "533", + "538", + "558", + "559", + "560", + "561", + "562", + "563", + "564", + "609", + "610", + "611", + "621", + "622", + "888", + "889", + "890", + "891", + "892", + "893", + "894", + "897", + "898", + "899", + "981", + "1049", + "1050", + "1052", + "1053", + "1058", + "1059", + "1083", + "1084", + "1085", + "1279", + "1280" ], "location": { "end": { - "column": 4, - "line": 71 + "column": 2, + "line": 10 }, "start": { - "column": 104, - "line": 65 + "column": 47, + "line": 8 } } - }, + } + ], + "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { Player } from \"@/modules/game/schemas/player/player.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createPlayer(player: Player): Player {\n return plainToInstance(Player, toJSON(player), { ...DEFAULT_PLAIN_TO_INSTANCE_OPTIONS, excludeExtraneousValues: true });\n}\n\nexport { createPlayer };" + }, + "src/modules/game/helpers/player/player.helper.ts": { + "language": "typescript", + "mutants": [ { - "id": "1150", - "mutatorName": "ObjectLiteral", + "id": "1117", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 131\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"40bda9db410fee9058ee1cd8\",\n+ \"createdAt\": \"2023-11-29T14:32:59.275Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"5caf554b9ba8204cff23fecc\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Annabell\",\n+ \"position\": 8837300670693376,\n+ \"role\": Object {\n+ \"current\": \"pied-piper\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8394689606582272,\n+ \"turn\": 6808206837809152,\n+ },\n+ Object {\n+ \"_id\": \"0ad3f4eaf1eca6afbf47eb4d\",\n+ \"createdAt\": \"2023-11-28T23:49:11.505Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"fde614c3d7e88be9ce8e0bdf\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Neal\",\n+ \"position\": 3354546648645632,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1363114297655296,\n+ \"turn\": 2227340052529152,\n+ },\n+ Object {\n+ \"_id\": \"bdf511934e9a8dfe04a65bc2\",\n+ \"createdAt\": \"2023-11-28T16:41:03.935Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"095ee6de4bbd7eff83c4bb4b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Efrain\",\n+ \"position\": 5200992203177984,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6659340324831232,\n+ \"turn\": 1712027250720768,\n+ },\n+ Object {\n+ \"_id\": \"a71648b4466fdf77c32459f8\",\n+ \"createdAt\": \"2023-11-28T19:21:20.762Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"bce610e46a0a4cf6e8bbc1d2\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Mathew\",\n+ \"position\": 8558109844832256,\n+ \"role\": Object {\n+ \"current\": \"idiot\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2772947882213376,\n+ \"turn\": 7612726434070528,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:405:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/helpers/player/player.helper.ts(7,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "707" - ], + "killedBy": [], "coveredBy": [ - "707", - "708" + "28", + "30", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "264", + "265", + "274", + "275", + "287", + "288", + "289", + "290", + "291", + "304", + "305", + "307", + "308", + "313", + "318", + "319", + "320", + "321", + "322", + "349", + "350", + "352", + "353", + "397", + "398", + "488", + "489", + "490", + "491", + "492", + "493", + "494", + "496", + "497", + "498", + "499", + "516", + "517", + "523", + "524", + "535", + "536", + "537", + "538", + "540", + "541", + "542", + "544", + "545", + "546", + "547", + "548", + "549", + "551", + "552", + "621", + "622", + "796", + "797", + "799", + "801", + "803", + "827", + "828", + "829", + "830", + "831", + "837", + "838", + "839", + "840", + "841", + "842", + "846", + "847", + "848", + "900", + "903", + "981", + "990", + "991", + "992", + "993", + "994", + "1224", + "1225" ], "location": { "end": { - "column": 6, - "line": 69 + "column": 2, + "line": 9 }, "start": { - "column": 52, - "line": 66 + "column": 64, + "line": 7 } } }, { - "id": "1151", + "id": "1118", "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 35\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"be6aa09fa3da0ecf2bda6b1a\",\n+ \"createdAt\": \"2023-11-29T02:08:05.725Z\",\n+ \"gameId\": \"39bd943be9a29cb2276329b0\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cd60f606e15e64c43dbfe61d\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Hassie\",\n+ \"position\": 4610828863012864,\n+ \"role\": Object {\n+ \"current\": \"white-werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"scapegoat\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 4527328621232128,\n+ \"turn\": 287992971264000,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:405:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.POWERLESS, game)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 97, "static": false, "killedBy": [ - "707" + "491" ], "coveredBy": [ - "707", - "708" + "28", + "30", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "264", + "265", + "274", + "275", + "287", + "288", + "289", + "290", + "291", + "304", + "305", + "307", + "308", + "313", + "318", + "319", + "320", + "321", + "322", + "349", + "350", + "352", + "353", + "397", + "398", + "488", + "489", + "490", + "491", + "492", + "493", + "494", + "496", + "497", + "498", + "499", + "516", + "517", + "523", + "524", + "535", + "536", + "537", + "538", + "540", + "541", + "542", + "544", + "545", + "546", + "547", + "548", + "549", + "551", + "552", + "621", + "622", + "796", + "797", + "799", + "801", + "803", + "827", + "828", + "829", + "830", + "831", + "837", + "838", + "839", + "840", + "841", + "842", + "846", + "847", + "848", + "900", + "903", + "981", + "990", + "991", + "992", + "993", + "994", + "1224", + "1225" ], "location": { "end": { - "column": 46, - "line": 68 + "column": 94, + "line": 8 }, "start": { - "column": 42, - "line": 68 + "column": 10, + "line": 8 } } }, { - "id": "1152", + "id": "1119", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(73,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player.helper.ts(11,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "709", - "710" + "27", + "28", + "30", + "121", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "263", + "264", + "265", + "273", + "274", + "275", + "286", + "287", + "288", + "289", + "290", + "291", + "303", + "304", + "305", + "307", + "308", + "312", + "313", + "317", + "318", + "319", + "320", + "321", + "322", + "355", + "396", + "397", + "398", + "621", + "622", + "796", + "801", + "803", + "826", + "827", + "828", + "829", + "830", + "831", + "845", + "846", + "847", + "848", + "900", + "902", + "903", + "1223", + "1224", + "1225" ], "location": { "end": { - "column": 4, - "line": 80 + "column": 2, + "line": 13 }, "start": { - "column": 111, - "line": 73 + "column": 72, + "line": 11 } } }, { - "id": "1153", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 130\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"c584ecaca1ae8d2775e7aca7\",\n+ \"createdAt\": \"2023-11-26T12:11:21.357Z\",\n+ \"gameId\": \"d6fb3acab1ff2b13c340ba76\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": Object {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"1b1afbd8bfd927daca6f3b17\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Megane\",\n+ \"position\": 2272092477194240,\n+ \"role\": Object {\n+ \"current\": \"stuttering-judge\",\n+ \"isRevealed\": false,\n+ \"original\": \"stuttering-judge\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1617381772230656,\n+ \"turn\": 6545418909384704,\n+ },\n+ Object {\n+ \"_id\": \"8ddcee2048afd95ed3869ba3\",\n+ \"createdAt\": \"2023-11-26T01:02:47.740Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"3dbfaa2be7f803fb0c0a79f5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Loyce\",\n+ \"position\": 5743795456966656,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6498030805057536,\n+ \"turn\": 5109397457993728,\n+ },\n+ Object {\n+ \"_id\": \"dbdf1eeb12ffcef7cba2cdac\",\n+ \"createdAt\": \"2023-11-26T10:16:16.551Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"1ccdcc4ecd81e3b6179d36c5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Addison\",\n+ \"position\": 1496971558780928,\n+ \"role\": Object {\n+ \"current\": \"stuttering-judge\",\n+ \"isRevealed\": false,\n+ \"original\": \"stuttering-judge\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 4899938418819072,\n+ \"turn\": 6824754801541120,\n+ },\n+ Object {\n+ \"_id\": \"dac1abfa10a110f0a3c5f6ee\",\n+ \"createdAt\": \"2023-11-26T03:34:03.726Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"ea3dfa318ba69adb6cdfbd29\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Taurean\",\n+ \"position\": 4375088486940672,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2261404459466752,\n+ \"turn\": 1698263705059328,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:440:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1120", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1885:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 62, "static": false, "killedBy": [ - "709" + "121" ], "coveredBy": [ - "709", - "710" - ], - "location": { - "end": { - "column": 6, - "line": 78 + "27", + "28", + "30", + "121", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "263", + "264", + "265", + "273", + "274", + "275", + "286", + "287", + "288", + "289", + "290", + "291", + "303", + "304", + "305", + "307", + "308", + "312", + "313", + "317", + "318", + "319", + "320", + "321", + "322", + "355", + "396", + "397", + "398", + "621", + "622", + "796", + "801", + "803", + "826", + "827", + "828", + "829", + "830", + "831", + "845", + "846", + "847", + "848", + "900", + "902", + "903", + "1223", + "1224", + "1225" + ], + "location": { + "end": { + "column": 58, + "line": 12 }, "start": { - "column": 52, - "line": 74 + "column": 10, + "line": 12 } } }, { - "id": "1154", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(82,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1121", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -8,28 +8,6 @@\n \"source\": GamePlaySource {\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 62, "static": false, - "killedBy": [], + "killedBy": [ + "240" + ], "coveredBy": [ - "711", - "712" + "27", + "28", + "30", + "121", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "263", + "264", + "265", + "273", + "274", + "275", + "286", + "287", + "288", + "289", + "290", + "291", + "303", + "304", + "305", + "307", + "308", + "312", + "313", + "317", + "318", + "319", + "320", + "321", + "322", + "355", + "396", + "397", + "398", + "621", + "622", + "796", + "801", + "803", + "826", + "827", + "828", + "829", + "830", + "831", + "845", + "846", + "847", + "848", + "900", + "902", + "903", + "1223", + "1224", + "1225" ], "location": { "end": { - "column": 4, - "line": 89 + "column": 58, + "line": 12 }, "start": { - "column": 110, - "line": 82 + "column": 10, + "line": 12 } } }, { - "id": "1155", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "status": "Timeout", + "id": "1122", + "mutatorName": "LogicalOperator", + "replacement": "player.isAlive || isPlayerPowerful(player, game)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 62, "static": false, - "killedBy": [], + "killedBy": [ + "622" + ], "coveredBy": [ - "711", - "712" + "27", + "28", + "30", + "121", + "122", + "124", + "240", + "241", + "242", + "243", + "244", + "263", + "264", + "265", + "273", + "274", + "275", + "286", + "287", + "288", + "289", + "290", + "291", + "303", + "304", + "305", + "307", + "308", + "312", + "313", + "317", + "318", + "319", + "320", + "321", + "322", + "355", + "396", + "397", + "398", + "621", + "622", + "796", + "801", + "803", + "826", + "827", + "828", + "829", + "830", + "831", + "845", + "846", + "847", + "848", + "900", + "902", + "903", + "1223", + "1224", + "1225" ], "location": { "end": { - "column": 6, - "line": 87 + "column": 58, + "line": 12 }, "start": { - "column": 52, - "line": 83 + "column": 10, + "line": 12 } } }, { - "id": "1156", + "id": "1123", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(91,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/player/player.helper.ts(20,52): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "713" + "1226", + "1227" ], "location": { "end": { - "column": 4, - "line": 113 + "column": 2, + "line": 17 }, "start": { - "column": 120, - "line": 91 + "column": 60, + "line": 15 } } }, { - "id": "1157", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 209\n\n@@ -1,7 +1,40 @@\n Array [\n Object {\n+ \"_id\": \"d3ca96a5db70de6ccc5becb5\",\n+ \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"2fb4eace7220eb77a9c6960f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Sincere\",\n+ \"position\": 3703745336573952,\n+ \"role\": Object {\n+ \"current\": \"vile-father-of-wolves\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 3682379059167232,\n+ \"turn\": 1629396588822528,\n+ },\n+ Object {\n \"_id\": \"bbbe05ebc3c63f5138d0e230\",\n \"createdAt\": \"2023-11-29T14:52:30.578Z\",\n \"gameId\": \"e58ccccb19ecd342becf9d81\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -66,10 +99,186 @@\n },\n ],\n },\n \"tick\": 2336756078739456,\n \"turn\": 6671354862501888,\n+ },\n+ Object {\n+ \"_id\": \"6ec373365ba1849e826e5ed1\",\n+ \"createdAt\": \"2023-11-29T03:23:37.563Z\",\n+ \"gameId\": \"7a6d5cb83e0677beae6afcc1\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"52adafbebabe4d247dffe60c\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Lisa\",\n+ \"position\": 8473479496073216,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"c02fcf998e1866b10e958426\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"America\",\n+ \"position\": 2847534795980800,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 7595672719065088,\n+ \"turn\": 3104714461806592,\n+ },\n+ Object {\n+ \"_id\": \"ff14c582bada7dfbcbaed0cf\",\n+ \"createdAt\": \"2023-11-29T08:44:35.781Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"145868d3b6c35fdceacda6ef\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Camren\",\n+ \"position\": 5863053694337024,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"cecc3aef60b8629a8fd002ca\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Tiffany\",\n+ \"position\": 2074633576644608,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 113471358238720,\n+ \"turn\": 1289137300701184,\n+ },\n+ Object {\n+ \"_id\": \"db56d91e9a98e44a3a18754f\",\n+ \"createdAt\": \"2023-11-28T16:37:31.599Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"774ffbe5aae8b7fbc6de1337\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Tomas\",\n+ \"position\": 7669057329299456,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"9e8c3c4abd8bb52caae8f3fe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Nathan\",\n+ \"position\": 2427329030651904,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"69cefaa7fd6c11bdab5e6977\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Lina\",\n+ \"position\": 8510649910951936,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 2124836467900416,\n+ \"turn\": 1325174102163456,\n },\n Object {\n \"_id\": \"81d96fff1c369cddcde0ee84\",\n \"createdAt\": \"2023-11-29T08:56:26.249Z\",\n \"gameId\": \"e58ccccb19ecd342becf9d81\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1124", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:89:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 2, "static": false, "killedBy": [ - "713" + "1226" ], "coveredBy": [ - "713" + "1226", + "1227" ], "location": { "end": { - "column": 6, - "line": 111 + "column": 54, + "line": 16 }, "start": { - "column": 52, - "line": 92 + "column": 10, + "line": 16 } } }, { - "id": "1158", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "status": "Timeout", + "id": "1125", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:93:78)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "1227" + ], "coveredBy": [ - "713" + "1226", + "1227" ], "location": { "end": { - "column": 8, - "line": 110 + "column": 54, + "line": 16 }, "start": { - "column": 12, - "line": 94 + "column": 10, + "line": 16 } } }, { - "id": "1159", - "mutatorName": "ObjectLiteral", + "id": "1126", + "mutatorName": "EqualityOperator", + "replacement": "player.side.current !== RoleSides.WEREWOLVES", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:89:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "1226" + ], + "coveredBy": [ + "1226", + "1227" + ], + "location": { + "end": { + "column": 54, + "line": 16 + }, + "start": { + "column": 10, + "line": 16 + } + } + }, + { + "id": "1127", + "mutatorName": "BlockStatement", "replacement": "{}", - "status": "Timeout", + "statusReason": "src/modules/game/helpers/player/player.helper.ts(24,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "713" + "1228", + "1229" ], "location": { "end": { - "column": 10, - "line": 99 + "column": 2, + "line": 21 }, "start": { - "column": 9, - "line": 95 + "column": 59, + "line": 19 } } }, { - "id": "1160", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 157\n\n@@ -1,7 +1,40 @@\n Array [\n Object {\n+ \"_id\": \"6c8bfd81e3cf566ff6ffbdb8\",\n+ \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"ee3757e2a3cbb55dfad73e4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Katarina\",\n+ \"position\": 366909381935104,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"pied-piper\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8191527650066432,\n+ \"turn\": 2655205126569984,\n+ },\n+ Object {\n \"_id\": \"fcacf575c459ec7dde309bec\",\n \"createdAt\": \"2023-11-29T12:35:33.139Z\",\n \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -66,10 +99,134 @@\n },\n ],\n },\n \"tick\": 1768314334347264,\n \"turn\": 1200724627161088,\n+ },\n+ Object {\n+ \"_id\": \"9cef3bfa9ec13297e02deed5\",\n+ \"createdAt\": \"2023-11-28T22:35:22.634Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"97d6caa9acacb449fe8c0743\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Eulah\",\n+ \"position\": 1761277942693888,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"fcfdf0afe30eced84c2fc8ad\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Deanna\",\n+ \"position\": 100682126327808,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 69061467701248,\n+ \"turn\": 4936325264310272,\n+ },\n+ Object {\n+ \"_id\": \"39d7ab6e40d069b80b0e95fc\",\n+ \"createdAt\": \"2023-11-28T23:31:54.556Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"8dd6eb5fe5a63b8a9bcbf7ab\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Buster\",\n+ \"position\": 4986180816863232,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"e313a40e81b3afa4fac09b88\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Mauricio\",\n+ \"position\": 7490704127295488,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"009dcac3bb24b69ef1e51c2a\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Alda\",\n+ \"position\": 5932718294564864,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 538405190500352,\n+ \"turn\": 3067539242352640,\n },\n Object {\n \"_id\": \"0eb1fccdedb0b2bada24bd1e\",\n \"createdAt\": \"2023-11-29T03:32:11.707Z\",\n \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1128", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:103:77)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 2, "static": false, "killedBy": [ - "713" + "1229" ], "coveredBy": [ - "713" + "1228", + "1229" ], "location": { "end": { - "column": 10, - "line": 109 + "column": 53, + "line": 20 }, "start": { - "column": 9, - "line": 100 + "column": 10, + "line": 20 } } }, { - "id": "1161", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 72\n+ Received + 0\n\n@@ -67,78 +67,6 @@\n ],\n },\n \"tick\": 4181089172062208,\n \"turn\": 313626405634048,\n },\n- Object {\n- \"_id\": \"baab7becb1ba6580bdcf5bcd\",\n- \"createdAt\": \"2023-11-29T05:27:37.956Z\",\n- \"gameId\": \"b9f2d5e3fbf2bef3a0d2b5ac\",\n- \"phase\": \"night\",\n- \"play\": Object {\n- \"action\": \"use-potions\",\n- \"source\": Object {\n- \"name\": \"witch\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"befd5dc1ee311e51e3c7da85\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Belle\",\n- \"position\": 7844178568413184,\n- \"role\": Object {\n- \"current\": \"witch\",\n- \"isRevealed\": false,\n- \"original\": \"witch\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- ],\n- },\n- \"targets\": Array [\n- Object {\n- \"drankPotion\": \"death\",\n- \"player\": Object {\n- \"_id\": \"bbe71a2d6bdf87964d9e8381\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Kaia\",\n- \"position\": 1445278880104448,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"drankPotion\": \"life\",\n- \"player\": Object {\n- \"_id\": \"cd9fccb6aa5dedcaa16ac9d8\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Herminia\",\n- \"position\": 6057958517506048,\n- \"role\": Object {\n- \"current\": \"elder\",\n- \"isRevealed\": false,\n- \"original\": \"elder\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n- \"tick\": 7751978362863616,\n- \"turn\": 7856000774176768,\n- },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1129", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:99:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 2, "static": false, "killedBy": [ - "713" + "1228" ], "coveredBy": [ - "713" + "1228", + "1229" ], "location": { "end": { - "column": 12, - "line": 108 + "column": 53, + "line": 20 }, "start": { - "column": 27, - "line": 103 + "column": 10, + "line": 20 } } }, { - "id": "1162", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 72\n\n@@ -68,10 +68,82 @@\n },\n \"tick\": 5762990471118848,\n \"turn\": 8088881641553920,\n },\n Object {\n+ \"_id\": \"de0c35bb48fbd11edf44c92e\",\n+ \"createdAt\": \"2023-11-28T22:36:24.173Z\",\n+ \"gameId\": \"4d9cbc6df6f7b679d93e5124\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"6705a49f14dcb7afe5ddce4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Denis\",\n+ \"position\": 2844071974404096,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"aa67e8bcf7fcba98bd4fe199\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Rylee\",\n+ \"position\": 2623501810794496,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"d8ce2ecbbfdeacde4929e5e1\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Loy\",\n+ \"position\": 1943761349246976,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 4004956937912320,\n+ \"turn\": 2692397708345344,\n+ },\n+ Object {\n \"_id\": \"eac56bd4cefaf7c0753ccdba\",\n \"createdAt\": \"2023-11-29T08:37:37.750Z\",\n \"gameId\": \"4d9cbc6df6f7b679d93e5124\",\n \"phase\": \"day\",\n \"play\": Object {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1130", + "mutatorName": "EqualityOperator", + "replacement": "player.side.current !== RoleSides.VILLAGERS", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts:99:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 2, "static": false, "killedBy": [ - "713" + "1228" ], "coveredBy": [ - "713" + "1228", + "1229" ], "location": { "end": { - "column": 14, - "line": 107 + "column": 53, + "line": 20 }, "start": { - "column": 25, - "line": 104 + "column": 10, + "line": 20 } } - }, + } + ], + "source": "import { PlayerAttributeNames } from \"@/modules/game/enums/player.enum\";\nimport { doesPlayerHaveActiveAttributeWithName } from \"@/modules/game/helpers/player/player-attribute/player-attribute.helper\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { RoleSides } from \"@/modules/role/enums/role.enum\";\n\nfunction isPlayerPowerful(player: Player, game: Game): boolean {\n return !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.POWERLESS, game);\n}\n\nfunction isPlayerAliveAndPowerful(player: Player, game: Game): boolean {\n return player.isAlive && isPlayerPowerful(player, game);\n}\n\nfunction isPlayerOnWerewolvesSide(player: Player): boolean {\n return player.side.current === RoleSides.WEREWOLVES;\n}\n\nfunction isPlayerOnVillagersSide(player: Player): boolean {\n return player.side.current === RoleSides.VILLAGERS;\n}\n\nexport {\n isPlayerPowerful,\n isPlayerAliveAndPowerful,\n isPlayerOnWerewolvesSide,\n isPlayerOnVillagersSide,\n};" + }, + "src/modules/game/providers/repositories/game-history-record.repository.ts": { + "language": "typescript", + "mutants": [ { - "id": "1163", + "id": "1131", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(115,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(19,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "714", - "715" + "628", + "629", + "630", + "681", + "682", + "683", + "684" ], "location": { "end": { "column": 4, - "line": 118 + "line": 22 }, "start": { - "column": 104, - "line": 115 + "column": 123, + "line": 19 } } }, { - "id": "1164", + "id": "1132", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "714", - "715" + "628", + "629", + "630", + "681", + "682", + "683", + "684" ], "location": { "end": { - "column": 62, - "line": 116 + "column": 55, + "line": 21 }, "start": { - "column": 52, - "line": 116 + "column": 45, + "line": 21 } } }, { - "id": "1165", - "mutatorName": "ObjectLiteral", + "id": "1133", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 11\n\n Object {\n- \"_id\": \"5ce5ef7e3b8f4dd8f8ffdbe9\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"f8bb3acbd2db4d9e3baafd9d\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"db7a87cdd0cee3120fae4d12\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"fb98b668f0b6c6e5c756cebf\",\n+ \"_id\": \"ec487fc1dabe8f4ff3464414\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Malcolm\",\n- \"position\": 5764879898116096,\n+ \"name\": \"Bernie\",\n+ \"position\": 8028011620204544,\n \"role\": Object {\n- \"current\": \"idiot\",\n+ \"current\": \"two-sisters\",\n \"isRevealed\": true,\n- \"original\": \"hunter\",\n+ \"original\": \"dog-wolf\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 8385155076980736,\n- \"turn\": 139118570897408,\n+ \"tick\": 1206680536743936,\n+ \"turn\": 4699146346823680,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(24,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "715" - ], + "killedBy": [], "coveredBy": [ - "714", - "715" + "621", + "622", + "685", + "686", + "687", + "688", + "689", + "690", + "691", + "692", + "693" ], "location": { "end": { - "column": 94, - "line": 117 + "column": 4, + "line": 26 }, "start": { - "column": 67, - "line": 117 + "column": 97, + "line": 24 } } }, { - "id": "1166", - "mutatorName": "ObjectLiteral", + "id": "1134", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 12\n\n Object {\n- \"_id\": \"f8458c923afafc9a4c0345eb\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"cbfb3fbacecaaeb1fbc607fd\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"e81dfbbfafc4a06baefe0554\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"b2aa134546b6dc950d216dbc\",\n+ \"_id\": \"6ddd8beaecebbb9800ceb387\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Opal\",\n- \"position\": 4071441850957824,\n+ \"isAlive\": false,\n+ \"name\": \"Ricardo\",\n+ \"position\": 7536306370379776,\n \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"fox\",\n+ \"current\": \"elder\",\n+ \"isRevealed\": true,\n+ \"original\": \"seer\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n- \"original\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 3867400300658688,\n- \"turn\": 98973968760832,\n+ \"tick\": 444253117349888,\n+ \"turn\": 6002936511463424,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(28,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "715" - ], + "killedBy": [], "coveredBy": [ - "714", - "715" + "694", + "695", + "696" ], "location": { "end": { - "column": 92, - "line": 117 + "column": 4, + "line": 35 }, "start": { - "column": 75, - "line": 117 + "column": 116, + "line": 28 } } }, { - "id": "1167", - "mutatorName": "UnaryOperator", - "replacement": "+1", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n Object {\n- \"_id\": \"9384fc0aadf2afdc0cbfec45\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"aefc91e0c63adb60dee7e8ce\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"deed66fcf2c21b8d2d1d9a65\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"e40cd019bf118f7cc8fb5c25\",\n+ \"_id\": \"b85f4b35133febb877ecca12\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Darrell\",\n- \"position\": 5482220481413120,\n+ \"name\": \"Shirley\",\n+ \"position\": 6146013653893120,\n \"role\": Object {\n- \"current\": \"pied-piper\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": true,\n- \"original\": \"stuttering-judge\",\n+ \"original\": \"raven\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 3415243256496128,\n- \"turn\": 7480047675899904,\n+ \"tick\": 2377770808115200,\n+ \"turn\": 8040462531166208,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1135", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toBeNull()\n\nReceived: {\"_id\": \"5a8a19e5bae5d42ca528afe4\", \"createdAt\": 2023-11-29T09:51:32.830Z, \"gameId\": \"c3cd0449f0b72c5ffdfabdd5\", \"phase\": \"day\", \"play\": {\"action\": \"eat\", \"source\": {\"name\": \"werewolves\", \"players\": [{\"_id\": \"ec9baddfac54ca43dffc2053\", \"attributes\": [], \"isAlive\": true, \"name\": \"Cameron\", \"position\": 7645063523860480, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]}}, \"tick\": 799202875539456, \"turn\": 5524781977829376}\n at Object.toBeNull (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:184:110)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 3, "static": false, "killedBy": [ - "715" + "694" ], "coveredBy": [ - "714", - "715" + "694", + "695", + "696" ], "location": { "end": { - "column": 90, - "line": 117 + "column": 6, + "line": 33 }, "start": { - "column": 88, - "line": 117 + "column": 52, + "line": 29 } } }, { - "id": "1168", - "mutatorName": "BlockStatement", + "id": "1136", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(120,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "621", - "716" + "694", + "695", + "696" ], "location": { "end": { - "column": 4, - "line": 122 + "column": 94, + "line": 34 }, "start": { - "column": 130, - "line": 120 + "column": 67, + "line": 34 } } }, { - "id": "1169", + "id": "1137", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 96\n\n@@ -30,10 +30,42 @@\n },\n \"tick\": 5368006089637888,\n \"turn\": 1,\n },\n Object {\n+ \"_id\": \"35d3720ae2deaeb3d2deffe3\",\n+ \"createdAt\": \"2023-11-25T19:04:02.613Z\",\n+ \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 7701339047985152,\n+ \"turn\": 1,\n+ },\n+ Object {\n \"_id\": \"14b82c1abbf2aaef76d78c48\",\n \"createdAt\": \"2023-11-26T07:55:35.676Z\",\n \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -60,11 +92,43 @@\n ],\n },\n },\n \"tick\": 9002941820174336,\n \"turn\": 1,\n+ },\n+ Object {\n+ \"_id\": \"378ababa3eb6dadffebf3a58\",\n+ \"createdAt\": \"2023-11-26T03:54:20.976Z\",\n+ \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n },\n+ },\n+ \"tick\": 2818027976392704,\n+ \"turn\": 2,\n+ },\n Object {\n \"_id\": \"a5d2673c3d64b5b5e87e7eb4\",\n \"createdAt\": \"2023-11-26T08:42:27.083Z\",\n \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n \"phase\": \"day\",\n@@ -91,8 +155,40 @@\n },\n ],\n },\n },\n \"tick\": 720762394640384,\n+ \"turn\": 1,\n+ },\n+ Object {\n+ \"_id\": \"25f515222e6ffd6f96caf399\",\n+ \"createdAt\": \"2023-11-26T13:48:21.900Z\",\n+ \"gameId\": \"87433e27edca1bdccb01c7ba\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2004160977305600,\n \"turn\": 1,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:609:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 7\n\n@@ -1,21 +1,21 @@\n Object {\n- \"_id\": \"bc2d12aff6c6b2c3d42d366f\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"8b6a0a62ecbecf087a2214b6\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"dd3fc91b64a2bd23008e1ea1\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"protect\",\n \"source\": Object {\n \"name\": \"defender\",\n \"players\": Array [\n Object {\n- \"_id\": \"ec7a4aa877d0a5e996f7f4f4\",\n+ \"_id\": \"407df555e4a89c832ff56db1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Willa\",\n- \"position\": 4751572535869440,\n+ \"name\": \"Lorenza\",\n+ \"position\": 4526966923329536,\n \"role\": Object {\n \"current\": \"defender\",\n \"isRevealed\": false,\n \"original\": \"defender\",\n },\n@@ -25,8 +25,8 @@\n },\n },\n ],\n },\n },\n- \"tick\": 7727194314899456,\n- \"turn\": 1520206859993088,\n+ \"tick\": 4593166042791936,\n+ \"turn\": 5250105244385280,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:209:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 3, "static": false, "killedBy": [ - "716" - ], - "coveredBy": [ - "620", - "621", - "716" + "696" ], - "location": { - "end": { - "column": 68, - "line": 121 - }, - "start": { - "column": 45, - "line": 121 - } - } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { InjectModel } from \"@nestjs/mongoose\";\nimport { Model } from \"mongoose\";\nimport type { FilterQuery, Types } from \"mongoose\";\n\nimport { convertGetGameHistoryDtoToMongooseQueryOptions } from \"@/modules/game/helpers/game-history/game-history-record.mapper\";\nimport type { GetGameHistoryDto } from \"@/modules/game/dto/get-game-history/get-game-history.dto\";\nimport { GameHistoryRecordVotingResults } from \"@/modules/game/enums/game-history-record.enum\";\nimport { GamePlayActions, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport type { GamePhases } from \"@/modules/game/enums/game.enum\";\nimport { GameHistoryRecord } from \"@/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameHistoryRecordDocument, GameHistoryRecordToInsert } from \"@/modules/game/types/game-history-record.type\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\n@Injectable()\nexport class GameHistoryRecordRepository {\n public constructor(@InjectModel(GameHistoryRecord.name) private readonly gameHistoryRecordModel: Model) {}\n\n public async getGameHistory(gameId: Types.ObjectId, getGameHistoryDto: GetGameHistoryDto): Promise {\n const queryOptions = convertGetGameHistoryDtoToMongooseQueryOptions(getGameHistoryDto);\n return this.gameHistoryRecordModel.find({ gameId }, undefined, queryOptions);\n }\n\n public async create(gameHistoryRecord: GameHistoryRecordToInsert): Promise {\n return this.gameHistoryRecordModel.create(gameHistoryRecord);\n }\n\n public async getLastGameHistoryDefenderProtectsRecord(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.PROTECT,\n \"play.source.name\": RoleNames.DEFENDER,\n };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n \n public async getLastGameHistoryTieInVotesRecord(gameId: Types.ObjectId, action: GamePlayActions): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": action,\n \"play.voting.result\": GameHistoryRecordVotingResults.TIE,\n };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n\n public async getGameHistoryWitchUsesSpecificPotionRecords(gameId: Types.ObjectId, potion: WitchPotions): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.source.name\": RoleNames.WITCH,\n \"play.action\": GamePlayActions.USE_POTIONS,\n \"play.targets.drankPotion\": potion,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryAccursedWolfFatherInfectedRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.EAT,\n \"play.targets.isInfected\": true,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryJudgeRequestRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.didJudgeRequestAnotherVote\": true,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryJudgeChoosesHisSignRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.CHOOSE_SIGN,\n \"play.source.name\": RoleNames.STUTTERING_JUDGE,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n \n public async getGameHistoryWerewolvesEatElderRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.EAT,\n \"play.targets.player.role.current\": RoleNames.ELDER,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryElderProtectedFromWerewolvesRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n $or: [\n {\n \"play.source.name\": RoleNames.DEFENDER,\n \"play.action\": GamePlayActions.PROTECT,\n \"play.targets.player.role.current\": RoleNames.ELDER,\n },\n {\n \"play.source.name\": RoleNames.WITCH,\n \"play.action\": GamePlayActions.USE_POTIONS,\n \"play.targets\": {\n $elemMatch: {\n \"player.role.current\": RoleNames.ELDER,\n \"drankPotion\": WitchPotions.LIFE,\n },\n },\n },\n ],\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n \n public async getPreviousGameHistoryRecord(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = { gameId };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n\n public async getGameHistoryPhaseRecords(gameId: Types.ObjectId, turn: number, phase: GamePhases): Promise {\n return this.gameHistoryRecordModel.find({ gameId, turn, phase });\n }\n}" - }, - "src/modules/game/providers/repositories/game.repository.ts": { - "language": "typescript", - "mutants": [ - { - "id": "1170", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game.repository.ts(13,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "566", - "567" + "694", + "695", + "696" ], "location": { "end": { - "column": 4, - "line": 15 + "column": 92, + "line": 34 }, "start": { - "column": 78, - "line": 13 + "column": 75, + "line": 34 } } }, { - "id": "1172", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game.repository.ts(21,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1138", + "mutatorName": "UnaryOperator", + "replacement": "+1", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "608", - "609", - "610" + "694", + "695", + "696" ], "location": { "end": { - "column": 4, - "line": 23 + "column": 90, + "line": 34 }, "start": { - "column": 59, - "line": 21 + "column": 88, + "line": 34 } } }, { - "id": "1173", + "id": "1139", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game.repository.ts(25,111): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(37,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "608", - "609", - "610", - "614", - "620", - "621" + "621", + "697", + "698", + "699", + "700" ], "location": { "end": { "column": 4, - "line": 27 + "line": 44 }, "start": { - "column": 132, - "line": 25 + "column": 135, + "line": 37 } } }, { - "id": "1174", + "id": "1140", "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).resolves.toBeNull()\n\nReceived: {\"_id\": \"4ebbe9cbc3bcc3e3e9a77abf\", \"createdAt\": 2023-11-26T03:35:01.073Z, \"gameId\": \"fef4ffba96b17e016aa0a0bc\", \"phase\": \"day\", \"play\": {\"action\": \"eat\", \"source\": {\"name\": \"werewolves\", \"players\": [{\"_id\": \"e5ad76150afc33e92931614e\", \"attributes\": [], \"isAlive\": true, \"name\": \"Jennie\", \"position\": 593847612604416, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]}}, \"tick\": 4944278388211712, \"turn\": 1533872634331136}\n at Object.toBeNull (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:221:126)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 5, "static": false, "killedBy": [ - "608" + "697" ], "coveredBy": [ - "608", - "609", - "610", - "614", - "620", - "621" + "621", + "697", + "698", + "699", + "700" ], "location": { "end": { - "column": 83, - "line": 26 + "column": 6, + "line": 42 }, "start": { - "column": 58, - "line": 26 + "column": 52, + "line": 38 } } }, { - "id": "1175", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 251\n+ Received + 0\n\n@@ -1,264 +1,13 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"elect-sheriff\",\n- \"canBeSkipped\": false,\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Doudou\",\n- \"position\": 4,\n- \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"cupid\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Doudou\",\n- \"position\": 4,\n- \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"cupid\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "1141", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 11\n\n@@ -1,25 +1,25 @@\n Object {\n- \"_id\": \"e8eb849ce5ec3b89fc26ebf7\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"e6bdfda9a42fdf364c9cdbcc\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"daaa57c76e6eaf5e785ee9b1\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"35cfafbdf20a3f10ed2cbab3\",\n+ \"_id\": \"c6183bed4dc5e5d3acfabfbd\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Priscilla\",\n- \"position\": 3130898365022208,\n+ \"isAlive\": false,\n+ \"name\": \"Lauriane\",\n+ \"position\": 8632145811603456,\n \"role\": Object {\n- \"current\": \"dog-wolf\",\n+ \"current\": \"three-brothers\",\n \"isRevealed\": true,\n- \"original\": \"big-bad-wolf\",\n+ \"original\": \"fox\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n@@ -28,8 +28,8 @@\n },\n \"voting\": Object {\n \"result\": \"tie\",\n },\n },\n- \"tick\": 6934069935865856,\n- \"turn\": 7059203413770240,\n+ \"tick\": 8558282641768448,\n+ \"turn\": 2069624178868224,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:260:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 5, "static": false, "killedBy": [ - "608" + "700" ], "coveredBy": [ - "608", - "609", - "610", - "614", - "620", - "621" + "621", + "697", + "698", + "699", + "700" ], "location": { "end": { - "column": 69, - "line": 26 + "column": 94, + "line": 43 }, "start": { - "column": 65, - "line": 26 + "column": 67, + "line": 43 } } }, { - "id": "1171", - "mutatorName": "BlockStatement", + "id": "1142", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/repositories/game.repository.ts(17,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "status": "Timeout", "static": false, + "killedBy": [], "coveredBy": [ - "578", - "579", - "612", - "613", - "614", - "616", - "617", - "618", - "619", - "620", "621", - "622", - "623", - "624", - "626", - "627", - "628", - "629" + "697", + "698", + "699", + "700" ], "location": { "end": { - "column": 4, - "line": 19 + "column": 92, + "line": 43 }, "start": { - "column": 81, - "line": 17 + "column": 75, + "line": 43 } } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { InjectModel } from \"@nestjs/mongoose\";\nimport { Model } from \"mongoose\";\nimport type { FilterQuery, QueryOptions } from \"mongoose\";\n\nimport type { GameDocument } from \"@/modules/game/types/game.type\";\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\n\n@Injectable()\nexport class GameRepository {\n public constructor(@InjectModel(Game.name) private readonly gameModel: Model) {}\n public async find(filter: FilterQuery = {}): Promise {\n return this.gameModel.find(filter);\n }\n\n public async findOne(filter: FilterQuery): Promise {\n return this.gameModel.findOne(filter);\n }\n\n public async create(game: CreateGameDto): Promise {\n return this.gameModel.create(game);\n }\n\n public async updateOne(filter: FilterQuery, game: Partial, options: QueryOptions = {}): Promise {\n return this.gameModel.findOneAndUpdate(filter, game, { new: true, ...options });\n }\n}" - }, - "src/modules/game/providers/services/game-history/game-history-record.service.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "1176", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(40,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1143", + "mutatorName": "UnaryOperator", + "replacement": "+1", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 13\n\n Object {\n- \"_id\": \"ee07da9f8aca4dd8f5ae26a5\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"efe6323e6bbfe0a957d8b66b\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"7adce0dc679b9c7e419f2ca0\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"6a2be98e7eca43fa0c7b7d1d\",\n+ \"_id\": \"532e7a3a8a848b7c6cb6cfa8\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Elisa\",\n- \"position\": 5170378269786112,\n+ \"name\": \"London\",\n+ \"position\": 2801388906086400,\n \"role\": Object {\n- \"current\": \"wild-child\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"villagers\",\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n },\n },\n ],\n },\n \"voting\": Object {\n \"result\": \"tie\",\n },\n },\n- \"tick\": 4913671320895488,\n- \"turn\": 8559383875158016,\n+ \"tick\": 8666932903411712,\n+ \"turn\": 8948467525222400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:260:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "700" + ], "coveredBy": [ - "620", "621", - "630" + "697", + "698", + "699", + "700" ], "location": { "end": { - "column": 4, + "column": 90, "line": 43 }, "start": { - "column": 122, - "line": 40 + "column": 88, + "line": 43 } } }, { - "id": "1177", + "id": "1144", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(45,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(46,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "631" + "701", + "702", + "703", + "704", + "705" ], "location": { "end": { "column": 4, - "line": 47 + "line": 54 }, "start": { - "column": 116, - "line": 45 + "column": 137, + "line": 46 } } }, { - "id": "1178", - "mutatorName": "BlockStatement", + "id": "1145", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(49,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 136\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"259dbbcce58faaffac44c0ba\",\n+ \"createdAt\": \"2023-11-29T08:42:29.864Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"0cdcace974b264a5ad3e25d1\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Eliseo\",\n+ \"position\": 279352252039168,\n+ \"role\": Object {\n+ \"current\": \"hunter\",\n+ \"isRevealed\": false,\n+ \"original\": \"cupid\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"voting\": Object {\n+ \"result\": \"tie\",\n+ },\n+ },\n+ \"tick\": 8176275319422976,\n+ \"turn\": 562344688091136,\n+ },\n+ Object {\n+ \"_id\": \"4c1d81ae86ebce8cc67b174c\",\n+ \"createdAt\": \"2023-11-29T11:03:38.835Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cb8d43786c9fa7f21a1ce5bd\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Kolby\",\n+ \"position\": 246869615706112,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1069425191026688,\n+ \"turn\": 3182819245293568,\n+ },\n+ Object {\n+ \"_id\": \"0a8fcdce070cdc51eaee5d3a\",\n+ \"createdAt\": \"2023-11-29T06:31:21.124Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"e56bccb7bdb3e0aaec0c3af5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Joan\",\n+ \"position\": 7756925676552192,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2469200847175680,\n+ \"turn\": 5681048851578880,\n+ },\n+ Object {\n+ \"_id\": \"c92226f0b007a5d8dbab6509\",\n+ \"createdAt\": \"2023-11-29T06:28:20.444Z\",\n+ \"gameId\": \"e0571dba987eceb41c06f68f\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"bb63fbd6d20a9ede999ee247\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Marcelino\",\n+ \"position\": 7333402611023872,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": true,\n+ \"original\": \"two-sisters\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ \"voting\": Object {\n+ \"result\": \"tie\",\n+ },\n+ },\n+ \"tick\": 802209876934656,\n+ \"turn\": 2146247811006464,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:277:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "701" + ], "coveredBy": [ - "620", - "632" + "701", + "702", + "703", + "704", + "705" ], "location": { "end": { - "column": 4, - "line": 51 + "column": 6, + "line": 52 }, "start": { - "column": 135, - "line": 49 + "column": 52, + "line": 47 } } }, { - "id": "1179", + "id": "1146", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(53,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(56,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "633", - "634" + "706", + "707" ], "location": { "end": { "column": 4, - "line": 55 + "line": 63 }, "start": { - "column": 137, - "line": 53 + "column": 118, + "line": 56 } } }, { - "id": "1180", - "mutatorName": "BlockStatement", + "id": "1147", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(57,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 130\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"cc3ba478b2f9bc5a54c4948e\",\n+ \"createdAt\": \"2023-11-29T19:25:27.803Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"54eaac488cdc08d49c39ccd7\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Lilyan\",\n+ \"position\": 8881289530703872,\n+ \"role\": Object {\n+ \"current\": \"idiot\",\n+ \"isRevealed\": true,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1061482385113088,\n+ \"turn\": 6747169281277952,\n+ },\n+ Object {\n+ \"_id\": \"96ccbc581456dbf0907e9e6e\",\n+ \"createdAt\": \"2023-11-29T21:53:30.963Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"8725cf47fc4f93a9b4dbd1d9\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Anibal\",\n+ \"position\": 1865676272697344,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1380255117869056,\n+ \"turn\": 2786462695161856,\n+ },\n+ Object {\n+ \"_id\": \"d54c6c988648affd9bde6dc6\",\n+ \"createdAt\": \"2023-11-29T23:30:50.949Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"624eccd792755b7c562f1a4b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Thurman\",\n+ \"position\": 3526956152782848,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 3171449841909760,\n+ \"turn\": 8211968074711040,\n+ },\n+ Object {\n+ \"_id\": \"35bdef90b8cd86adcf4ebc34\",\n+ \"createdAt\": \"2023-11-29T18:52:05.533Z\",\n+ \"gameId\": \"5dc412e1859ff8e576136d47\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"3abedbd2c5051b2a2ffabd6c\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jamir\",\n+ \"position\": 6382832159031296,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 7386748388638720,\n+ \"turn\": 3692219504525312,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:371:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "706" + ], "coveredBy": [ - "635" + "706", + "707" ], "location": { "end": { - "column": 4, - "line": 59 + "column": 6, + "line": 61 }, "start": { - "column": 118, + "column": 52, "line": 57 } } }, { - "id": "1181", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(61,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1148", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 13\n\n@@ -1,22 +1,22 @@\n Array [\n Object {\n- \"_id\": \"f3983f85a9f17f3bca0ff87c\",\n- \"createdAt\": \"2023-11-29T12:45:44.600Z\",\n+ \"_id\": \"efa2be19d9d8bc406be3c57a\",\n+ \"createdAt\": \"2023-11-29T17:58:09.127Z\",\n \"gameId\": \"e00bf25bb76f8bebe9bf7b1d\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"eat\",\n \"source\": Object {\n \"name\": \"werewolves\",\n \"players\": Array [\n Object {\n- \"_id\": \"bd3ebe43b05a8a3fc6bfa25e\",\n+ \"_id\": \"9cfc4eba12bdc58ed6de11c5\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Ian\",\n- \"position\": 2803370314170368,\n+ \"name\": \"Emmet\",\n+ \"position\": 5389645418332160,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n@@ -27,29 +27,29 @@\n },\n ],\n },\n \"targets\": Array [\n Object {\n- \"isInfected\": true,\n+ \"isInfected\": false,\n \"player\": Object {\n- \"_id\": \"ab5c8ddcf61df47b753ac9f9\",\n+ \"_id\": \"a158ce1bddc5b9bccaadeec1\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Joe\",\n- \"position\": 547448057495552,\n+ \"name\": \"Emmanuel\",\n+ \"position\": 7079214549303296,\n \"role\": Object {\n- \"current\": \"two-sisters\",\n+ \"current\": \"pied-piper\",\n \"isRevealed\": false,\n- \"original\": \"hunter\",\n+ \"original\": \"seer\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n },\n ],\n },\n- \"tick\": 6633381511036928,\n- \"turn\": 5074036541358080,\n+ \"tick\": 6219913999941632,\n+ \"turn\": 5715356003860480,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:389:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "707" + ], "coveredBy": [ - "636" + "706", + "707" ], "location": { "end": { - "column": 4, - "line": 63 + "column": 38, + "line": 60 }, "start": { - "column": 104, - "line": 61 + "column": 34, + "line": 60 } } }, { - "id": "1182", + "id": "1149", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(65,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(65,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "637", - "638" + "708", + "709" ], "location": { "end": { "column": 4, - "line": 68 + "line": 71 }, "start": { - "column": 78, + "column": 104, "line": 65 } } }, { - "id": "1183", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:206:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "1150", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 131\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"40bda9db410fee9058ee1cd8\",\n+ \"createdAt\": \"2023-11-29T14:32:59.275Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"5caf554b9ba8204cff23fecc\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Annabell\",\n+ \"position\": 8837300670693376,\n+ \"role\": Object {\n+ \"current\": \"pied-piper\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8394689606582272,\n+ \"turn\": 6808206837809152,\n+ },\n+ Object {\n+ \"_id\": \"0ad3f4eaf1eca6afbf47eb4d\",\n+ \"createdAt\": \"2023-11-28T23:49:11.505Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"fde614c3d7e88be9ce8e0bdf\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Neal\",\n+ \"position\": 3354546648645632,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1363114297655296,\n+ \"turn\": 2227340052529152,\n+ },\n+ Object {\n+ \"_id\": \"bdf511934e9a8dfe04a65bc2\",\n+ \"createdAt\": \"2023-11-28T16:41:03.935Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"095ee6de4bbd7eff83c4bb4b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Efrain\",\n+ \"position\": 5200992203177984,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6659340324831232,\n+ \"turn\": 1712027250720768,\n+ },\n+ Object {\n+ \"_id\": \"a71648b4466fdf77c32459f8\",\n+ \"createdAt\": \"2023-11-28T19:21:20.762Z\",\n+ \"gameId\": \"5cfaefa0aab85ec1a4bac4bf\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"bce610e46a0a4cf6e8bbc1d2\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Mathew\",\n+ \"position\": 8558109844832256,\n+ \"role\": Object {\n+ \"current\": \"idiot\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2772947882213376,\n+ \"turn\": 7612726434070528,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:405:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 2, "static": false, "killedBy": [ - "638" + "708" ], "coveredBy": [ - "637", - "638" + "708", + "709" ], "location": { "end": { - "column": 30, - "line": 67 + "column": 6, + "line": 69 }, "start": { - "column": 12, - "line": 67 + "column": 52, + "line": 66 } } }, { - "id": "1184", - "mutatorName": "ConditionalExpression", + "id": "1151", + "mutatorName": "BooleanLiteral", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:200:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 35\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"be6aa09fa3da0ecf2bda6b1a\",\n+ \"createdAt\": \"2023-11-29T02:08:05.725Z\",\n+ \"gameId\": \"39bd943be9a29cb2276329b0\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"cd60f606e15e64c43dbfe61d\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Hassie\",\n+ \"position\": 4610828863012864,\n+ \"role\": Object {\n+ \"current\": \"white-werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"scapegoat\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 4527328621232128,\n+ \"turn\": 287992971264000,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:405:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 2, "static": false, "killedBy": [ - "637" + "708" ], "coveredBy": [ - "637", - "638" + "708", + "709" ], "location": { "end": { - "column": 30, - "line": 67 + "column": 46, + "line": 68 }, "start": { - "column": 12, - "line": 67 + "column": 42, + "line": 68 } } }, { - "id": "1185", - "mutatorName": "EqualityOperator", - "replacement": "records.length >= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:206:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1152", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(73,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "638" - ], + "killedBy": [], "coveredBy": [ - "637", - "638" + "710", + "711" ], "location": { "end": { - "column": 30, - "line": 67 + "column": 4, + "line": 80 }, "start": { - "column": 12, - "line": 67 + "column": 111, + "line": 73 } } }, { - "id": "1186", - "mutatorName": "EqualityOperator", - "replacement": "records.length <= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:200:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "1153", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 130\n\n- Array []\n+ Array [\n+ Object {\n+ \"_id\": \"c584ecaca1ae8d2775e7aca7\",\n+ \"createdAt\": \"2023-11-26T12:11:21.357Z\",\n+ \"gameId\": \"d6fb3acab1ff2b13c340ba76\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": Object {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"1b1afbd8bfd927daca6f3b17\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Megane\",\n+ \"position\": 2272092477194240,\n+ \"role\": Object {\n+ \"current\": \"stuttering-judge\",\n+ \"isRevealed\": false,\n+ \"original\": \"stuttering-judge\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 1617381772230656,\n+ \"turn\": 6545418909384704,\n+ },\n+ Object {\n+ \"_id\": \"8ddcee2048afd95ed3869ba3\",\n+ \"createdAt\": \"2023-11-26T01:02:47.740Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"3dbfaa2be7f803fb0c0a79f5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Loyce\",\n+ \"position\": 5743795456966656,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 6498030805057536,\n+ \"turn\": 5109397457993728,\n+ },\n+ Object {\n+ \"_id\": \"dbdf1eeb12ffcef7cba2cdac\",\n+ \"createdAt\": \"2023-11-26T10:16:16.551Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"source\": Object {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"1ccdcc4ecd81e3b6179d36c5\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Addison\",\n+ \"position\": 1496971558780928,\n+ \"role\": Object {\n+ \"current\": \"stuttering-judge\",\n+ \"isRevealed\": false,\n+ \"original\": \"stuttering-judge\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 4899938418819072,\n+ \"turn\": 6824754801541120,\n+ },\n+ Object {\n+ \"_id\": \"dac1abfa10a110f0a3c5f6ee\",\n+ \"createdAt\": \"2023-11-26T03:34:03.726Z\",\n+ \"gameId\": \"b1cd8bf3439759fcafb5cfbe\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"choose-sign\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"ea3dfa318ba69adb6cdfbd29\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Taurean\",\n+ \"position\": 4375088486940672,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2261404459466752,\n+ \"turn\": 1698263705059328,\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:440:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 2, "static": false, "killedBy": [ - "637" + "710" ], "coveredBy": [ - "637", - "638" + "710", + "711" ], "location": { "end": { - "column": 30, - "line": 67 + "column": 6, + "line": 78 }, "start": { - "column": 12, - "line": 67 + "column": 52, + "line": 74 } } }, { - "id": "1187", + "id": "1154", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(70,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(82,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "639" + "712", + "713" ], "location": { "end": { "column": 4, - "line": 72 + "line": 89 }, "start": { "column": 110, - "line": 70 + "line": 82 } } }, { - "id": "1188", - "mutatorName": "BlockStatement", + "id": "1155", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(74,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "640" + "712", + "713" ], "location": { "end": { - "column": 4, - "line": 76 + "column": 6, + "line": 87 }, "start": { - "column": 120, - "line": 74 + "column": 52, + "line": 83 } } }, { - "id": "1189", + "id": "1156", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(78,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(91,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "620", - "621", - "641" + "714" ], "location": { "end": { "column": 4, - "line": 80 + "line": 113 }, "start": { - "column": 130, - "line": 78 + "column": 120, + "line": 91 } } }, { - "id": "1190", - "mutatorName": "BlockStatement", + "id": "1157", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(82,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 209\n\n@@ -1,7 +1,40 @@\n Array [\n Object {\n+ \"_id\": \"d3ca96a5db70de6ccc5becb5\",\n+ \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"2fb4eace7220eb77a9c6960f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Sincere\",\n+ \"position\": 3703745336573952,\n+ \"role\": Object {\n+ \"current\": \"vile-father-of-wolves\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager-villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 3682379059167232,\n+ \"turn\": 1629396588822528,\n+ },\n+ Object {\n \"_id\": \"bbbe05ebc3c63f5138d0e230\",\n \"createdAt\": \"2023-11-29T14:52:30.578Z\",\n \"gameId\": \"e58ccccb19ecd342becf9d81\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -66,10 +99,186 @@\n },\n ],\n },\n \"tick\": 2336756078739456,\n \"turn\": 6671354862501888,\n+ },\n+ Object {\n+ \"_id\": \"6ec373365ba1849e826e5ed1\",\n+ \"createdAt\": \"2023-11-29T03:23:37.563Z\",\n+ \"gameId\": \"7a6d5cb83e0677beae6afcc1\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"52adafbebabe4d247dffe60c\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Lisa\",\n+ \"position\": 8473479496073216,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"c02fcf998e1866b10e958426\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"America\",\n+ \"position\": 2847534795980800,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 7595672719065088,\n+ \"turn\": 3104714461806592,\n+ },\n+ Object {\n+ \"_id\": \"ff14c582bada7dfbcbaed0cf\",\n+ \"createdAt\": \"2023-11-29T08:44:35.781Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"145868d3b6c35fdceacda6ef\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Camren\",\n+ \"position\": 5863053694337024,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"cecc3aef60b8629a8fd002ca\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Tiffany\",\n+ \"position\": 2074633576644608,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 113471358238720,\n+ \"turn\": 1289137300701184,\n+ },\n+ Object {\n+ \"_id\": \"db56d91e9a98e44a3a18754f\",\n+ \"createdAt\": \"2023-11-28T16:37:31.599Z\",\n+ \"gameId\": \"e58ccccb19ecd342becf9d81\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"774ffbe5aae8b7fbc6de1337\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Tomas\",\n+ \"position\": 7669057329299456,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"9e8c3c4abd8bb52caae8f3fe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Nathan\",\n+ \"position\": 2427329030651904,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"69cefaa7fd6c11bdab5e6977\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Lina\",\n+ \"position\": 8510649910951936,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 2124836467900416,\n+ \"turn\": 1325174102163456,\n },\n Object {\n \"_id\": \"81d96fff1c369cddcde0ee84\",\n \"createdAt\": \"2023-11-29T08:56:26.249Z\",\n \"gameId\": \"e58ccccb19ecd342becf9d81\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "714" + ], "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 6, + "line": 111 + }, + "start": { + "column": 52, + "line": 92 + } + } + }, + { + "id": "1158", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 8, + "line": 110 + }, + "start": { + "column": 12, + "line": 94 + } + } + }, + { + "id": "1159", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 10, + "line": 99 + }, + "start": { + "column": 9, + "line": 95 + } + } + }, + { + "id": "1160", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 157\n\n@@ -1,7 +1,40 @@\n Array [\n Object {\n+ \"_id\": \"6c8bfd81e3cf566ff6ffbdb8\",\n+ \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"vote\",\n+ \"didJudgeRequestAnotherVote\": false,\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"ee3757e2a3cbb55dfad73e4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Katarina\",\n+ \"position\": 366909381935104,\n+ \"role\": Object {\n+ \"current\": \"fox\",\n+ \"isRevealed\": false,\n+ \"original\": \"pied-piper\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 8191527650066432,\n+ \"turn\": 2655205126569984,\n+ },\n+ Object {\n \"_id\": \"fcacf575c459ec7dde309bec\",\n \"createdAt\": \"2023-11-29T12:35:33.139Z\",\n \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -66,10 +99,134 @@\n },\n ],\n },\n \"tick\": 1768314334347264,\n \"turn\": 1200724627161088,\n+ },\n+ Object {\n+ \"_id\": \"9cef3bfa9ec13297e02deed5\",\n+ \"createdAt\": \"2023-11-28T22:35:22.634Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"protect\",\n+ \"source\": Object {\n+ \"name\": \"defender\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"97d6caa9acacb449fe8c0743\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Eulah\",\n+ \"position\": 1761277942693888,\n+ \"role\": Object {\n+ \"current\": \"defender\",\n+ \"isRevealed\": false,\n+ \"original\": \"defender\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"player\": Object {\n+ \"_id\": \"fcfdf0afe30eced84c2fc8ad\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Deanna\",\n+ \"position\": 100682126327808,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 69061467701248,\n+ \"turn\": 4936325264310272,\n+ },\n+ Object {\n+ \"_id\": \"39d7ab6e40d069b80b0e95fc\",\n+ \"createdAt\": \"2023-11-28T23:31:54.556Z\",\n+ \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"8dd6eb5fe5a63b8a9bcbf7ab\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Buster\",\n+ \"position\": 4986180816863232,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"e313a40e81b3afa4fac09b88\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Mauricio\",\n+ \"position\": 7490704127295488,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"009dcac3bb24b69ef1e51c2a\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Alda\",\n+ \"position\": 5932718294564864,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 538405190500352,\n+ \"turn\": 3067539242352640,\n },\n Object {\n \"_id\": \"0eb1fccdedb0b2bada24bd1e\",\n \"createdAt\": \"2023-11-29T03:32:11.707Z\",\n \"gameId\": \"ae64786d5a4d5095cbd9dbfb\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "714" + ], + "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 10, + "line": 109 + }, + "start": { + "column": 9, + "line": 100 + } + } + }, + { + "id": "1161", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 72\n+ Received + 0\n\n@@ -67,78 +67,6 @@\n ],\n },\n \"tick\": 4181089172062208,\n \"turn\": 313626405634048,\n },\n- Object {\n- \"_id\": \"baab7becb1ba6580bdcf5bcd\",\n- \"createdAt\": \"2023-11-29T05:27:37.956Z\",\n- \"gameId\": \"b9f2d5e3fbf2bef3a0d2b5ac\",\n- \"phase\": \"night\",\n- \"play\": Object {\n- \"action\": \"use-potions\",\n- \"source\": Object {\n- \"name\": \"witch\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"befd5dc1ee311e51e3c7da85\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Belle\",\n- \"position\": 7844178568413184,\n- \"role\": Object {\n- \"current\": \"witch\",\n- \"isRevealed\": false,\n- \"original\": \"witch\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- ],\n- },\n- \"targets\": Array [\n- Object {\n- \"drankPotion\": \"death\",\n- \"player\": Object {\n- \"_id\": \"bbe71a2d6bdf87964d9e8381\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Kaia\",\n- \"position\": 1445278880104448,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"drankPotion\": \"life\",\n- \"player\": Object {\n- \"_id\": \"cd9fccb6aa5dedcaa16ac9d8\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Herminia\",\n- \"position\": 6057958517506048,\n- \"role\": Object {\n- \"current\": \"elder\",\n- \"isRevealed\": false,\n- \"original\": \"elder\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n- \"tick\": 7751978362863616,\n- \"turn\": 7856000774176768,\n- },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "714" + ], + "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 12, + "line": 108 + }, + "start": { + "column": 27, + "line": 103 + } + } + }, + { + "id": "1162", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 72\n\n@@ -68,10 +68,82 @@\n },\n \"tick\": 5762990471118848,\n \"turn\": 8088881641553920,\n },\n Object {\n+ \"_id\": \"de0c35bb48fbd11edf44c92e\",\n+ \"createdAt\": \"2023-11-28T22:36:24.173Z\",\n+ \"gameId\": \"4d9cbc6df6f7b679d93e5124\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"use-potions\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"6705a49f14dcb7afe5ddce4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Denis\",\n+ \"position\": 2844071974404096,\n+ \"role\": Object {\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ \"targets\": Array [\n+ Object {\n+ \"drankPotion\": \"life\",\n+ \"player\": Object {\n+ \"_id\": \"aa67e8bcf7fcba98bd4fe199\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Rylee\",\n+ \"position\": 2623501810794496,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"drankPotion\": \"death\",\n+ \"player\": Object {\n+ \"_id\": \"d8ce2ecbbfdeacde4929e5e1\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Loy\",\n+ \"position\": 1943761349246976,\n+ \"role\": Object {\n+ \"current\": \"elder\",\n+ \"isRevealed\": false,\n+ \"original\": \"elder\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"tick\": 4004956937912320,\n+ \"turn\": 2692397708345344,\n+ },\n+ Object {\n \"_id\": \"eac56bd4cefaf7c0753ccdba\",\n \"createdAt\": \"2023-11-29T08:37:37.750Z\",\n \"gameId\": \"4d9cbc6df6f7b679d93e5124\",\n \"phase\": \"day\",\n \"play\": Object {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:557:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "714" + ], + "coveredBy": [ + "714" + ], + "location": { + "end": { + "column": 14, + "line": 107 + }, + "start": { + "column": 25, + "line": 104 + } + } + }, + { + "id": "1163", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(115,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "715", + "716" + ], + "location": { + "end": { + "column": 4, + "line": 118 + }, + "start": { + "column": 104, + "line": 115 + } + } + }, + { + "id": "1164", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "status": "Timeout", + "static": false, + "killedBy": [], + "coveredBy": [ + "715", + "716" + ], + "location": { + "end": { + "column": 62, + "line": 116 + }, + "start": { + "column": 52, + "line": 116 + } + } + }, + { + "id": "1165", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 11\n\n Object {\n- \"_id\": \"5ce5ef7e3b8f4dd8f8ffdbe9\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"f8bb3acbd2db4d9e3baafd9d\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"db7a87cdd0cee3120fae4d12\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"fb98b668f0b6c6e5c756cebf\",\n+ \"_id\": \"ec487fc1dabe8f4ff3464414\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Malcolm\",\n- \"position\": 5764879898116096,\n+ \"name\": \"Bernie\",\n+ \"position\": 8028011620204544,\n \"role\": Object {\n- \"current\": \"idiot\",\n+ \"current\": \"two-sisters\",\n \"isRevealed\": true,\n- \"original\": \"hunter\",\n+ \"original\": \"dog-wolf\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 8385155076980736,\n- \"turn\": 139118570897408,\n+ \"tick\": 1206680536743936,\n+ \"turn\": 4699146346823680,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "716" + ], + "coveredBy": [ + "715", + "716" + ], + "location": { + "end": { + "column": 94, + "line": 117 + }, + "start": { + "column": 67, + "line": 117 + } + } + }, + { + "id": "1166", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 12\n\n Object {\n- \"_id\": \"f8458c923afafc9a4c0345eb\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"cbfb3fbacecaaeb1fbc607fd\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"e81dfbbfafc4a06baefe0554\",\n \"phase\": \"night\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"b2aa134546b6dc950d216dbc\",\n+ \"_id\": \"6ddd8beaecebbb9800ceb387\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Opal\",\n- \"position\": 4071441850957824,\n+ \"isAlive\": false,\n+ \"name\": \"Ricardo\",\n+ \"position\": 7536306370379776,\n \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"fox\",\n+ \"current\": \"elder\",\n+ \"isRevealed\": true,\n+ \"original\": \"seer\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n- \"original\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 3867400300658688,\n- \"turn\": 98973968760832,\n+ \"tick\": 444253117349888,\n+ \"turn\": 6002936511463424,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "716" + ], + "coveredBy": [ + "715", + "716" + ], + "location": { + "end": { + "column": 92, + "line": 117 + }, + "start": { + "column": 75, + "line": 117 + } + } + }, + { + "id": "1167", + "mutatorName": "UnaryOperator", + "replacement": "+1", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 10\n\n Object {\n- \"_id\": \"9384fc0aadf2afdc0cbfec45\",\n- \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n+ \"_id\": \"aefc91e0c63adb60dee7e8ce\",\n+ \"createdAt\": \"2020-01-01T00:00:00.000Z\",\n \"gameId\": \"deed66fcf2c21b8d2d1d9a65\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"vote\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"e40cd019bf118f7cc8fb5c25\",\n+ \"_id\": \"b85f4b35133febb877ecca12\",\n \"attributes\": Array [],\n \"isAlive\": false,\n- \"name\": \"Darrell\",\n- \"position\": 5482220481413120,\n+ \"name\": \"Shirley\",\n+ \"position\": 6146013653893120,\n \"role\": Object {\n- \"current\": \"pied-piper\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": true,\n- \"original\": \"stuttering-judge\",\n+ \"original\": \"raven\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n+ \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 3415243256496128,\n- \"turn\": 7480047675899904,\n+ \"tick\": 2377770808115200,\n+ \"turn\": 8040462531166208,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:588:30)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "716" + ], + "coveredBy": [ + "715", + "716" + ], + "location": { + "end": { + "column": 90, + "line": 117 + }, + "start": { + "column": 88, + "line": 117 + } + } + }, + { + "id": "1168", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game-history-record.repository.ts(120,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "621", + "622", + "717" + ], + "location": { + "end": { + "column": 4, + "line": 122 + }, + "start": { + "column": 130, + "line": 120 + } + } + }, + { + "id": "1169", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 96\n\n@@ -30,10 +30,42 @@\n },\n \"tick\": 5368006089637888,\n \"turn\": 1,\n },\n Object {\n+ \"_id\": \"35d3720ae2deaeb3d2deffe3\",\n+ \"createdAt\": \"2023-11-25T19:04:02.613Z\",\n+ \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n+ \"phase\": \"night\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 7701339047985152,\n+ \"turn\": 1,\n+ },\n+ Object {\n \"_id\": \"14b82c1abbf2aaef76d78c48\",\n \"createdAt\": \"2023-11-26T07:55:35.676Z\",\n \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n \"phase\": \"day\",\n \"play\": Object {\n@@ -60,11 +92,43 @@\n ],\n },\n },\n \"tick\": 9002941820174336,\n \"turn\": 1,\n+ },\n+ Object {\n+ \"_id\": \"378ababa3eb6dadffebf3a58\",\n+ \"createdAt\": \"2023-11-26T03:54:20.976Z\",\n+ \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n },\n+ },\n+ \"tick\": 2818027976392704,\n+ \"turn\": 2,\n+ },\n Object {\n \"_id\": \"a5d2673c3d64b5b5e87e7eb4\",\n \"createdAt\": \"2023-11-26T08:42:27.083Z\",\n \"gameId\": \"68fcd2eb8ecbad2054bf82e2\",\n \"phase\": \"day\",\n@@ -91,8 +155,40 @@\n },\n ],\n },\n },\n \"tick\": 720762394640384,\n+ \"turn\": 1,\n+ },\n+ Object {\n+ \"_id\": \"25f515222e6ffd6f96caf399\",\n+ \"createdAt\": \"2023-11-26T13:48:21.900Z\",\n+ \"gameId\": \"87433e27edca1bdccb01c7ba\",\n+ \"phase\": \"day\",\n+ \"play\": Object {\n+ \"action\": \"eat\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ \"players\": Array [\n+ Object {\n+ \"_id\": \"664d02a6d7c8b4e9b5abdabe\",\n+ \"attributes\": Array [],\n+ \"isAlive\": false,\n+ \"name\": \"Sally\",\n+ \"position\": 2180623531769856,\n+ \"role\": Object {\n+ \"current\": \"dog-wolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"wild-child\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n+ },\n+ \"tick\": 2004160977305600,\n \"turn\": 1,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:609:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 3, + "static": false, + "killedBy": [ + "717" + ], + "coveredBy": [ + "621", + "622", + "717" + ], + "location": { + "end": { + "column": 68, + "line": 121 + }, + "start": { + "column": 45, + "line": 121 + } + } + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { InjectModel } from \"@nestjs/mongoose\";\nimport { Model } from \"mongoose\";\nimport type { FilterQuery, Types } from \"mongoose\";\n\nimport { convertGetGameHistoryDtoToMongooseQueryOptions } from \"@/modules/game/helpers/game-history/game-history-record.mapper\";\nimport type { GetGameHistoryDto } from \"@/modules/game/dto/get-game-history/get-game-history.dto\";\nimport { GameHistoryRecordVotingResults } from \"@/modules/game/enums/game-history-record.enum\";\nimport { GamePlayActions, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport type { GamePhases } from \"@/modules/game/enums/game.enum\";\nimport { GameHistoryRecord } from \"@/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameHistoryRecordDocument, GameHistoryRecordToInsert } from \"@/modules/game/types/game-history-record.type\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\n@Injectable()\nexport class GameHistoryRecordRepository {\n public constructor(@InjectModel(GameHistoryRecord.name) private readonly gameHistoryRecordModel: Model) {}\n\n public async getGameHistory(gameId: Types.ObjectId, getGameHistoryDto: GetGameHistoryDto): Promise {\n const queryOptions = convertGetGameHistoryDtoToMongooseQueryOptions(getGameHistoryDto);\n return this.gameHistoryRecordModel.find({ gameId }, undefined, queryOptions);\n }\n\n public async create(gameHistoryRecord: GameHistoryRecordToInsert): Promise {\n return this.gameHistoryRecordModel.create(gameHistoryRecord);\n }\n\n public async getLastGameHistoryDefenderProtectsRecord(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.PROTECT,\n \"play.source.name\": RoleNames.DEFENDER,\n };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n \n public async getLastGameHistoryTieInVotesRecord(gameId: Types.ObjectId, action: GamePlayActions): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": action,\n \"play.voting.result\": GameHistoryRecordVotingResults.TIE,\n };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n\n public async getGameHistoryWitchUsesSpecificPotionRecords(gameId: Types.ObjectId, potion: WitchPotions): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.source.name\": RoleNames.WITCH,\n \"play.action\": GamePlayActions.USE_POTIONS,\n \"play.targets.drankPotion\": potion,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryAccursedWolfFatherInfectedRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.EAT,\n \"play.targets.isInfected\": true,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryJudgeRequestRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.didJudgeRequestAnotherVote\": true,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryJudgeChoosesHisSignRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.CHOOSE_SIGN,\n \"play.source.name\": RoleNames.STUTTERING_JUDGE,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n \n public async getGameHistoryWerewolvesEatElderRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n \"play.action\": GamePlayActions.EAT,\n \"play.targets.player.role.current\": RoleNames.ELDER,\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n\n public async getGameHistoryElderProtectedFromWerewolvesRecords(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = {\n gameId,\n $or: [\n {\n \"play.source.name\": RoleNames.DEFENDER,\n \"play.action\": GamePlayActions.PROTECT,\n \"play.targets.player.role.current\": RoleNames.ELDER,\n },\n {\n \"play.source.name\": RoleNames.WITCH,\n \"play.action\": GamePlayActions.USE_POTIONS,\n \"play.targets\": {\n $elemMatch: {\n \"player.role.current\": RoleNames.ELDER,\n \"drankPotion\": WitchPotions.LIFE,\n },\n },\n },\n ],\n };\n return this.gameHistoryRecordModel.find(filter);\n }\n \n public async getPreviousGameHistoryRecord(gameId: Types.ObjectId): Promise {\n const filter: FilterQuery = { gameId };\n return this.gameHistoryRecordModel.findOne(filter, undefined, { sort: { createdAt: -1 } });\n }\n\n public async getGameHistoryPhaseRecords(gameId: Types.ObjectId, turn: number, phase: GamePhases): Promise {\n return this.gameHistoryRecordModel.find({ gameId, turn, phase });\n }\n}" + }, + "src/modules/game/providers/repositories/game.repository.ts": { + "language": "typescript", + "mutants": [ + { + "id": "1170", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game.repository.ts(13,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "567", + "568" + ], + "location": { + "end": { + "column": 4, + "line": 15 + }, + "start": { + "column": 78, + "line": 13 + } + } + }, + { + "id": "1171", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game.repository.ts(17,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "579", + "580", + "613", + "614", + "615", + "617", + "618", + "619", + "620", + "621", + "622", + "623", + "624", + "625", + "627", + "628", + "629", + "630" + ], + "location": { + "end": { + "column": 4, + "line": 19 + }, + "start": { + "column": 81, + "line": 17 + } + } + }, + { + "id": "1174", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 6, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "609", + "610", + "611", + "615", + "621", + "622" + ], + "location": { + "end": { + "column": 83, + "line": 26 + }, + "start": { + "column": 58, + "line": 26 + } + } + }, + { + "id": "1175", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 251\n+ Received + 0\n\n@@ -1,264 +1,13 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"elect-sheriff\",\n- \"canBeSkipped\": false,\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Doudou\",\n- \"position\": 4,\n- \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"cupid\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Doudou\",\n- \"position\": 4,\n- \"role\": Object {\n- \"current\": \"cupid\",\n- \"isRevealed\": false,\n- \"original\": \"cupid\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 6, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "609", + "610", + "611", + "615", + "621", + "622" + ], + "location": { + "end": { + "column": 69, + "line": 26 + }, + "start": { + "column": 65, + "line": 26 + } + } + }, + { + "id": "1172", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game.repository.ts(21,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "609", + "610", + "611" + ], + "location": { + "end": { + "column": 4, + "line": 23 + }, + "start": { + "column": 59, + "line": 21 + } + } + }, + { + "id": "1173", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/repositories/game.repository.ts(25,111): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "609", + "610", + "611", + "615", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 27 + }, + "start": { + "column": 132, + "line": 25 + } + } + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\nimport { InjectModel } from \"@nestjs/mongoose\";\nimport { Model } from \"mongoose\";\nimport type { FilterQuery, QueryOptions } from \"mongoose\";\n\nimport type { GameDocument } from \"@/modules/game/types/game.type\";\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\n\n@Injectable()\nexport class GameRepository {\n public constructor(@InjectModel(Game.name) private readonly gameModel: Model) {}\n public async find(filter: FilterQuery = {}): Promise {\n return this.gameModel.find(filter);\n }\n\n public async findOne(filter: FilterQuery): Promise {\n return this.gameModel.findOne(filter);\n }\n\n public async create(game: CreateGameDto): Promise {\n return this.gameModel.create(game);\n }\n\n public async updateOne(filter: FilterQuery, game: Partial, options: QueryOptions = {}): Promise {\n return this.gameModel.findOneAndUpdate(filter, game, { new: true, ...options });\n }\n}" + }, + "src/modules/game/providers/services/game-history/game-history-record.service.ts": { + "language": "typescript", + "mutants": [ + { + "id": "1176", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(40,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "621", + "622", + "631" + ], + "location": { + "end": { + "column": 4, + "line": 43 + }, + "start": { + "column": 122, + "line": 40 + } + } + }, + { + "id": "1177", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(45,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "632" + ], + "location": { + "end": { + "column": 4, + "line": 47 + }, + "start": { + "column": 116, + "line": 45 + } + } + }, + { + "id": "1178", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(49,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "621", + "633" + ], + "location": { + "end": { + "column": 4, + "line": 51 + }, + "start": { + "column": 135, + "line": 49 + } + } + }, + { + "id": "1179", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(53,108): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "634", + "635" + ], + "location": { + "end": { + "column": 4, + "line": 55 + }, + "start": { + "column": 137, + "line": 53 + } + } + }, + { + "id": "1180", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(57,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "636" + ], + "location": { + "end": { + "column": 4, + "line": 59 + }, + "start": { + "column": 118, + "line": 57 + } + } + }, + { + "id": "1181", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(61,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "637" + ], + "location": { + "end": { + "column": 4, + "line": 63 + }, + "start": { + "column": 104, + "line": 61 + } + } + }, + { + "id": "1182", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(65,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "638", + "639" + ], + "location": { + "end": { + "column": 4, + "line": 68 + }, + "start": { + "column": 78, + "line": 65 + } + } + }, + { + "id": "1183", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:206:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "639" + ], + "coveredBy": [ + "638", + "639" + ], + "location": { + "end": { + "column": 30, + "line": 67 + }, + "start": { + "column": 12, + "line": 67 + } + } + }, + { + "id": "1184", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:200:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "638" + ], + "coveredBy": [ + "638", + "639" + ], + "location": { + "end": { + "column": 30, + "line": 67 + }, + "start": { + "column": 12, + "line": 67 + } + } + }, + { + "id": "1185", + "mutatorName": "EqualityOperator", + "replacement": "records.length >= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:206:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "639" + ], + "coveredBy": [ + "638", + "639" + ], + "location": { + "end": { + "column": 30, + "line": 67 + }, + "start": { + "column": 12, + "line": 67 + } + } + }, + { + "id": "1186", + "mutatorName": "EqualityOperator", + "replacement": "records.length <= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts:200:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "638" + ], + "coveredBy": [ + "638", + "639" + ], + "location": { + "end": { + "column": 30, + "line": 67 + }, + "start": { + "column": 12, + "line": 67 + } + } + }, + { + "id": "1187", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(70,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "640" + ], + "location": { + "end": { + "column": 4, + "line": 72 + }, + "start": { + "column": 110, + "line": 70 + } + } + }, + { + "id": "1188", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(74,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "641" + ], + "location": { + "end": { + "column": 4, + "line": 76 + }, + "start": { + "column": 120, + "line": 74 + } + } + }, + { + "id": "1189", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(78,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "621", + "622", "642" ], + "location": { + "end": { + "column": 4, + "line": 80 + }, + "start": { + "column": 130, + "line": 78 + } + } + }, + { + "id": "1190", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-history/game-history-record.service.ts(82,70): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "643" + ], "location": { "end": { "column": 4, @@ -48709,14 +48644,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "643", + "622", "644", "645", "646", "647", - "648" + "648", + "649" ], "location": { "end": { @@ -48738,17 +48673,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "643", + "622", "644", "645", "646", "647", - "648" + "648", + "649" ], "location": { "end": { @@ -48770,17 +48705,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "643" + "644" ], "coveredBy": [ - "620", "621", - "643", + "622", "644", "645", "646", "647", - "648" + "648", + "649" ], "location": { "end": { @@ -48802,17 +48737,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "643", + "622", "644", "645", "646", "647", - "648" + "648", + "649" ], "location": { "end": { @@ -48834,10 +48769,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "643" + "644" ], "coveredBy": [ - "643" + "644" ], "location": { "end": { @@ -48859,10 +48794,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "643" + "644" ], "coveredBy": [ - "643" + "644" ], "location": { "end": { @@ -48884,7 +48819,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "643" + "644" ], "location": { "end": { @@ -48906,13 +48841,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "644", + "622", "645", "646", "647", - "648" + "648", + "649" ], "location": { "end": { @@ -48934,10 +48869,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "627", "628", "629", - "649" + "630", + "650" ], "location": { "end": { @@ -48959,10 +48894,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -48984,13 +48919,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49012,13 +48947,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49040,13 +48975,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49068,13 +49003,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49096,13 +49031,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49124,13 +49059,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49152,13 +49087,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49180,10 +49115,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49205,13 +49140,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49233,13 +49168,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "650" + "651" ], "coveredBy": [ - "620", "621", - "650", - "651" + "622", + "651", + "652" ], "location": { "end": { @@ -49261,10 +49196,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49286,13 +49221,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49314,13 +49249,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49342,13 +49277,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49370,13 +49305,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49398,13 +49333,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49426,13 +49361,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49454,13 +49389,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49482,13 +49417,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49510,13 +49445,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49538,10 +49473,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49563,13 +49498,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "652" + "653" ], "coveredBy": [ - "620", "621", - "652", - "653" + "622", + "653", + "654" ], "location": { "end": { @@ -49591,9 +49526,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "654" + "622", + "655" ], "location": { "end": { @@ -49615,9 +49550,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "654" + "622", + "655" ], "location": { "end": { @@ -49639,9 +49574,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49649,7 +49583,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49671,12 +49606,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49684,7 +49618,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49706,12 +49641,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49719,7 +49653,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49741,12 +49676,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49754,7 +49688,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49776,12 +49711,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49789,7 +49723,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49811,9 +49746,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -49821,7 +49755,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49843,16 +49778,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49874,13 +49809,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49902,16 +49837,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49933,16 +49868,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49964,13 +49899,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -49992,13 +49927,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50020,13 +49955,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50048,13 +49983,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "657", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50076,12 +50011,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -50089,7 +50023,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50111,9 +50046,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -50121,7 +50055,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50143,12 +50078,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -50156,7 +50090,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50178,12 +50113,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "655" + "656" ], "coveredBy": [ - "620", "621", - "655", + "622", "656", "657", "658", @@ -50191,7 +50125,8 @@ "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50213,11 +50148,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "655" + "656" ], "coveredBy": [ - "655", - "656" + "656", + "657" ], "location": { "end": { @@ -50239,18 +50174,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "657", + "622", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50272,18 +50207,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "657", + "622", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50305,15 +50240,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "657", + "622", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50335,15 +50270,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "657", + "622", "658", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50365,16 +50300,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "658" + "659" ], "coveredBy": [ - "620", - "658", + "621", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50396,16 +50331,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", - "658", + "621", "659", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50427,12 +50362,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "657" + "658" ], "coveredBy": [ - "621", - "657", - "658" + "622", + "658", + "659" ], "location": { "end": { @@ -50454,15 +50389,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "620", - "659", + "621", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50484,15 +50419,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "620", - "659", + "621", "660", "661", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50514,11 +50449,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "659" + "660" ], "coveredBy": [ - "659", - "660" + "660", + "661" ], "location": { "end": { @@ -50540,13 +50475,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "663" + "664" ], "coveredBy": [ - "620", - "661", + "621", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50568,13 +50503,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "620", - "661", + "621", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50596,13 +50531,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "620", - "661", + "621", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50624,13 +50559,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "620", - "661", + "621", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50652,13 +50587,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "620", - "661", + "621", "662", - "663" + "663", + "664" ], "location": { "end": { @@ -50680,12 +50615,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "662" + "663" ], "coveredBy": [ - "620", - "662", - "663" + "621", + "663", + "664" ], "location": { "end": { @@ -50707,12 +50642,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "662" + "663" ], "coveredBy": [ - "620", - "662", - "663" + "621", + "663", + "664" ], "location": { "end": { @@ -50734,11 +50669,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "661" + "662" ], "coveredBy": [ - "661", - "662" + "662", + "663" ], "location": { "end": { @@ -50760,13 +50695,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "664", + "622", "665", "666", "667", - "668" + "668", + "669" ], "location": { "end": { @@ -50788,13 +50723,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "664", + "622", "665", "666", "667", - "668" + "668", + "669" ], "location": { "end": { @@ -50816,9 +50751,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "669" + "622", + "670" ], "location": { "end": { @@ -50840,18 +50775,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "670" + "671" ], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -50873,15 +50808,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -50903,15 +50838,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "670", + "622", "671", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -50933,10 +50868,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "670" + "671" ], "coveredBy": [ - "670" + "671" ], "location": { "end": { @@ -50958,14 +50893,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "671", + "622", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -50987,9 +50922,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "671", - "675" + "622", + "672", + "676" ], "location": { "end": { @@ -51011,14 +50946,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "671", + "622", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51040,14 +50975,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "671", + "622", "672", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51069,10 +51004,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "671" + "672" ], "coveredBy": [ - "671" + "672" ], "location": { "end": { @@ -51094,13 +51029,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "672", + "622", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51122,10 +51057,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "672", + "621", "673", - "675" + "674", + "676" ], "location": { "end": { @@ -51147,13 +51082,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "672", + "622", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51175,13 +51110,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "672", + "622", "673", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51203,10 +51138,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "672" + "673" ], "coveredBy": [ - "672" + "673" ], "location": { "end": { @@ -51228,12 +51163,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "673", + "622", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51255,9 +51190,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "673", - "675" + "621", + "674", + "676" ], "location": { "end": { @@ -51279,12 +51214,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "673", + "622", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51306,12 +51241,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "673", + "622", "674", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51333,10 +51268,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "673" + "674" ], "coveredBy": [ - "673" + "674" ], "location": { "end": { @@ -51358,11 +51293,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "674", + "622", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51384,11 +51319,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "674", + "622", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51410,11 +51345,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "674", + "622", "675", - "679" + "676", + "680" ], "location": { "end": { @@ -51436,11 +51371,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "674" + "675" ], "coveredBy": [ - "674", - "675" + "675", + "676" ], "location": { "end": { @@ -51462,10 +51397,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "674" + "675" ], "coveredBy": [ - "674" + "675" ], "location": { "end": { @@ -51487,15 +51422,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "676" + "677" ], "coveredBy": [ - "620", "621", - "676", + "622", "677", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51517,15 +51452,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "676" + "677" ], "coveredBy": [ - "620", "621", - "676", + "622", "677", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51547,12 +51482,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "676", + "622", "677", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51574,12 +51509,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "676", + "622", "677", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51601,12 +51536,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "676", + "622", "677", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51628,7 +51563,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "676" + "677" ], "location": { "end": { @@ -51650,11 +51585,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "677", + "622", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51676,11 +51611,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "677", + "622", "678", - "679" + "679", + "680" ], "location": { "end": { @@ -51702,10 +51637,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "677" + "678" ], "coveredBy": [ - "677" + "678" ], "location": { "end": { @@ -51727,10 +51662,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "678", - "679" + "622", + "679", + "680" ], "location": { "end": { @@ -51752,10 +51687,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "678", - "679" + "622", + "679", + "680" ], "location": { "end": { @@ -51777,10 +51712,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "678" + "679" ], "coveredBy": [ - "678" + "679" ], "location": { "end": { @@ -51808,7 +51743,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "881" + "882" ], "location": { "end": { @@ -51830,8 +51765,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51853,11 +51788,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51879,11 +51814,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "883" + "884" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51905,11 +51840,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51931,11 +51866,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "883" + "884" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51957,11 +51892,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -51983,11 +51918,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -52009,10 +51944,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882" + "883" ], "location": { "end": { @@ -52034,10 +51969,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882" + "883" ], "location": { "end": { @@ -52059,11 +51994,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "883" + "884" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -52085,11 +52020,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -52111,11 +52046,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -52137,11 +52072,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "882" + "883" ], "coveredBy": [ - "882", - "883" + "883", + "884" ], "location": { "end": { @@ -52163,8 +52098,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "884", - "885" + "885", + "886" ], "location": { "end": { @@ -52186,11 +52121,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "884" + "885" ], "coveredBy": [ - "884", - "885" + "885", + "886" ], "location": { "end": { @@ -52212,11 +52147,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "885" + "886" ], "coveredBy": [ - "884", - "885" + "885", + "886" ], "location": { "end": { @@ -52238,11 +52173,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "884" + "885" ], "coveredBy": [ - "884", - "885" + "885", + "886" ], "location": { "end": { @@ -52264,10 +52199,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "885" + "886" ], "coveredBy": [ - "885" + "886" ], "location": { "end": { @@ -52289,7 +52224,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "886" + "887" ], "location": { "end": { @@ -52311,10 +52246,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "886" + "887" ], "coveredBy": [ - "886" + "887" ], "location": { "end": { @@ -52336,8 +52271,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "887", - "888" + "888", + "889" ], "location": { "end": { @@ -52359,11 +52294,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "887" + "888" ], "coveredBy": [ - "887", - "888" + "888", + "889" ], "location": { "end": { @@ -52385,11 +52320,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "888" + "889" ], "coveredBy": [ - "887", - "888" + "888", + "889" ], "location": { "end": { @@ -52411,10 +52346,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "888" + "889" ], "coveredBy": [ - "888" + "889" ], "location": { "end": { @@ -52436,9 +52371,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52460,9 +52395,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52484,12 +52419,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "889" + "890" ], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52511,9 +52446,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52535,9 +52470,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52559,10 +52494,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "891" + "892" ], "coveredBy": [ - "891" + "892" ], "location": { "end": { @@ -52584,12 +52519,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "890" + "891" ], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52611,12 +52546,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "891" + "892" ], "coveredBy": [ - "889", "890", - "891" + "891", + "892" ], "location": { "end": { @@ -52638,10 +52573,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "891" + "892" ], "coveredBy": [ - "891" + "892" ], "location": { "end": { @@ -52663,8 +52598,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "892", - "893" + "893", + "894" ], "location": { "end": { @@ -52686,11 +52621,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "893" + "894" ], "coveredBy": [ - "892", - "893" + "893", + "894" ], "location": { "end": { @@ -52712,11 +52647,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "892" + "893" ], "coveredBy": [ - "892", - "893" + "893", + "894" ], "location": { "end": { @@ -52738,11 +52673,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "892" + "893" ], "coveredBy": [ - "892", - "893" + "893", + "894" ], "location": { "end": { @@ -52764,10 +52699,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "892" + "893" ], "coveredBy": [ - "892" + "893" ], "location": { "end": { @@ -52789,11 +52724,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52815,11 +52750,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52841,11 +52776,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52867,11 +52802,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52893,11 +52828,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52919,14 +52854,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52948,14 +52883,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "897" + "898" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -52977,14 +52912,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "897" + "898" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53006,14 +52941,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "897" + "898" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53035,14 +52970,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53064,11 +52999,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53090,13 +53025,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "898" + "899" ], "coveredBy": [ - "894", "895", "896", - "898" + "897", + "899" ], "location": { "end": { @@ -53118,13 +53053,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", - "898" + "897", + "899" ], "location": { "end": { @@ -53146,10 +53081,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "894", "895", "896", - "898" + "897", + "899" ], "location": { "end": { @@ -53171,14 +53106,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53200,14 +53135,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "896" + "897" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53229,14 +53164,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53258,14 +53193,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53287,14 +53222,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "896" + "897" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53316,14 +53251,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "896" + "897" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53345,14 +53280,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "896" + "897" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53374,14 +53309,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "894" + "895" ], "coveredBy": [ - "894", "895", "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53403,12 +53338,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "896" + "897" ], "coveredBy": [ - "896", "897", - "898" + "898", + "899" ], "location": { "end": { @@ -53430,10 +53365,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53455,13 +53390,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "899" + "900" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53483,13 +53418,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "900" + "901" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53511,13 +53446,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "899" + "900" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53539,13 +53474,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "900" + "901" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53567,13 +53502,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "900" + "901" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53595,13 +53530,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "899" + "900" ], "coveredBy": [ - "899", "900", "901", - "902" + "902", + "903" ], "location": { "end": { @@ -53623,10 +53558,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "899" + "900" ], "coveredBy": [ - "899" + "900" ], "location": { "end": { @@ -57472,87 +57407,6 @@ } } }, - { - "id": "1409", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(66,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "125", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 70 - }, - "start": { - "column": 76, - "line": 66 - } - } - }, - { - "id": "1410", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(72,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "126", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 76 - }, - "start": { - "column": 94, - "line": 72 - } - } - }, - { - "id": "1411", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(78,68): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "127", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 82 - }, - "start": { - "column": 77, - "line": 78 - } - } - }, { "id": "1412", "mutatorName": "BlockStatement", @@ -58435,7 +58289,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58464,7 +58318,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58486,14 +58340,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "135", "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58522,7 +58376,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58544,14 +58398,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "135", "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58577,7 +58431,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58603,7 +58457,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58629,7 +58483,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58658,7 +58512,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58684,7 +58538,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58712,7 +58566,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58737,7 +58591,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58762,7 +58616,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58787,7 +58641,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58812,7 +58666,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58837,7 +58691,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58862,7 +58716,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58887,7 +58741,7 @@ "136", "137", "138", - "620" + "621" ], "location": { "end": { @@ -58914,7 +58768,7 @@ "coveredBy": [ "136", "138", - "620" + "621" ], "location": { "end": { @@ -58936,12 +58790,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "136", "138", - "620" + "621" ], "location": { "end": { @@ -59035,11 +58889,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "136", - "620" + "621" ], "location": { "end": { @@ -59061,11 +58915,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "136", - "620" + "621" ], "location": { "end": { @@ -59091,7 +58945,7 @@ ], "coveredBy": [ "136", - "620" + "621" ], "location": { "end": { @@ -59113,11 +58967,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "136", - "620" + "621" ], "location": { "end": { @@ -59141,7 +58995,7 @@ "coveredBy": [ "139", "140", - "620" + "621" ], "location": { "end": { @@ -59165,7 +59019,7 @@ "coveredBy": [ "139", "140", - "620" + "621" ], "location": { "end": { @@ -59187,12 +59041,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "139", "140", - "620" + "621" ], "location": { "end": { @@ -59215,8 +59069,8 @@ "killedBy": [], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59238,12 +59092,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59266,8 +59120,8 @@ "killedBy": [], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59290,8 +59144,8 @@ "killedBy": [], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59314,8 +59168,8 @@ "killedBy": [], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59338,8 +59192,8 @@ "killedBy": [], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59361,12 +59215,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "141", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59392,9 +59246,9 @@ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59416,16 +59270,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "142", "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59454,9 +59308,9 @@ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59482,9 +59336,9 @@ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59531,15 +59385,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59561,15 +59415,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59594,9 +59448,9 @@ "143", "144", "145", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -59622,7 +59476,7 @@ ], "coveredBy": [ "144", - "620" + "621" ], "location": { "end": { @@ -59649,8 +59503,8 @@ "coveredBy": [ "143", "145", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59672,13 +59526,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "143", "145", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59700,13 +59554,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "143", "145", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59728,12 +59582,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "143", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -59781,7 +59635,7 @@ "killedBy": [], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59803,11 +59657,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59830,7 +59684,7 @@ "killedBy": [], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59853,7 +59707,7 @@ "killedBy": [], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59876,7 +59730,7 @@ "killedBy": [], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59899,7 +59753,7 @@ "killedBy": [], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -59921,11 +59775,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "146", - "621" + "622" ], "location": { "end": { @@ -60619,6 +60473,29 @@ } } }, + { + "id": "1535", + "mutatorName": "BooleanLiteral", + "replacement": "lastProtectedPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(199,142): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "151", + "153" + ], + "location": { + "end": { + "column": 76, + "line": 199 + }, + "start": { + "column": 56, + "line": 199 + } + } + }, { "id": "1536", "mutatorName": "MethodExpression", @@ -61462,29 +61339,6 @@ } } }, - { - "id": "1572", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(240,55): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "159", - "610" - ], - "location": { - "end": { - "column": 4, - "line": 247 - }, - "start": { - "column": 79, - "line": 240 - } - } - }, { "id": "1573", "mutatorName": "MethodExpression", @@ -61498,7 +61352,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61524,7 +61378,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61550,7 +61404,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61576,7 +61430,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61602,7 +61456,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61628,7 +61482,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -61641,98 +61495,6 @@ } } }, - { - "id": "1579", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(243,48): error TS2739: Type '{}' is missing the following properties from type 'PlayerInteraction': source, type\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "159", - "610" - ], - "location": { - "end": { - "column": 109, - "line": 243 - }, - "start": { - "column": 48, - "line": 243 - } - } - }, - { - "id": "1580", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(244,11): error TS2322: Type 'undefined[]' is not assignable to type 'InteractablePlayer[]'.\n Type 'undefined' is not assignable to type 'InteractablePlayer'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "159", - "610" - ], - "location": { - "end": { - "column": 119, - "line": 244 - }, - "start": { - "column": 83, - "line": 244 - } - } - }, - { - "id": "1581", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(244,11): error TS2322: Type '{}[]' is not assignable to type 'InteractablePlayer[]'.\n Type '{}' is missing the following properties from type 'InteractablePlayer': player, interactions\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "159", - "610" - ], - "location": { - "end": { - "column": 118, - "line": 244 - }, - "start": { - "column": 94, - "line": 244 - } - } - }, - { - "id": "1582", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(245,11): error TS2739: Type '{}' is missing the following properties from type 'GamePlayEligibleTargetsBoundaries': min, max\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "159", - "610" - ], - "location": { - "end": { - "column": 77, - "line": 245 - }, - "start": { - "column": 59, - "line": 245 - } - } - }, { "id": "1583", "mutatorName": "ObjectLiteral", @@ -61746,7 +61508,7 @@ ], "coveredBy": [ "159", - "610" + "611" ], "location": { "end": { @@ -63355,186 +63117,6 @@ } } }, - { - "id": "1646", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(304,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 312 - }, - "start": { - "column": 122, - "line": 304 - } - } - }, - { - "id": "1647", - "mutatorName": "BooleanLiteral", - "replacement": "eligibleTargetsPlayMethod", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 35, - "line": 306 - }, - "start": { - "column": 9, - "line": 306 - } - } - }, - { - "id": "1648", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 35, - "line": 306 - }, - "start": { - "column": 9, - "line": 306 - } - } - }, - { - "id": "1649", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "176", - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 35, - "line": 306 - }, - "start": { - "column": 9, - "line": 306 - } - } - }, { "id": "1650", "mutatorName": "BlockStatement", @@ -63587,11 +63169,11 @@ "192", "193", "194", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -63613,7 +63195,7 @@ "testsCompleted": 23, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "177", @@ -63634,55 +63216,11 @@ "192", "193", "194", - "608", "609", "610", - "620", - "621" - ], - "location": { - "end": { - "column": 140, - "line": 310 - }, - "start": { - "column": 40, - "line": 310 - } - } - }, - { - "id": "1653", - "mutatorName": "LogicalOperator", - "replacement": "eligibleTargets?.interactablePlayers !== undefined || eligibleTargets.interactablePlayers.length > 0", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -63695,138 +63233,6 @@ } } }, - { - "id": "1654", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,48): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,48): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 90, - "line": 310 - }, - "start": { - "column": 40, - "line": 310 - } - } - }, - { - "id": "1655", - "mutatorName": "EqualityOperator", - "replacement": "eligibleTargets?.interactablePlayers === undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 90, - "line": 310 - }, - "start": { - "column": 40, - "line": 310 - } - } - }, - { - "id": "1656", - "mutatorName": "OptionalChaining", - "replacement": "eligibleTargets.interactablePlayers", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,40): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,93): error TS18048: 'eligibleTargets' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "177", - "178", - "179", - "180", - "181", - "182", - "183", - "184", - "185", - "186", - "187", - "188", - "189", - "190", - "191", - "192", - "193", - "194", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 76, - "line": 310 - }, - "start": { - "column": 40, - "line": 310 - } - } - }, { "id": "1657", "mutatorName": "ConditionalExpression", @@ -63841,11 +63247,11 @@ "coveredBy": [ "178", "179", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -63872,11 +63278,11 @@ "coveredBy": [ "178", "179", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -63898,16 +63304,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "178", "179", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -63934,9 +63340,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -63966,9 +63372,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -63998,9 +63404,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64030,9 +63436,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64062,9 +63468,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64094,9 +63500,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64124,7 +63530,7 @@ "196", "197", "199", - "620" + "621" ], "location": { "end": { @@ -64152,7 +63558,7 @@ "196", "197", "199", - "620" + "621" ], "location": { "end": { @@ -64182,9 +63588,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64206,7 +63612,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "195", @@ -64214,9 +63620,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64246,9 +63652,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64270,7 +63676,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "195", @@ -64278,9 +63684,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64302,7 +63708,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "195", @@ -64310,9 +63716,9 @@ "197", "198", "199", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -64334,13 +63740,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "195", "196", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -64367,8 +63773,8 @@ "coveredBy": [ "195", "196", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -65039,186 +64445,6 @@ } } }, - { - "id": "1700", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(337,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218", - "219", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 343 - }, - "start": { - "column": 73, - "line": 337 - } - } - }, - { - "id": "1701", - "mutatorName": "BooleanLiteral", - "replacement": "canBeSkippedGamePlayMethod", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218", - "219", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 36, - "line": 339 - }, - "start": { - "column": 9, - "line": 339 - } - } - }, - { - "id": "1702", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218", - "219", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 36, - "line": 339 - }, - "start": { - "column": 9, - "line": 339 - } - } - }, - { - "id": "1703", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "207", - "208", - "209", - "210", - "211", - "212", - "213", - "214", - "215", - "216", - "217", - "218", - "219", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 36, - "line": 339 - }, - "start": { - "column": 9, - "line": 339 - } - } - }, - { - "id": "1704", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(340,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "207", - "610", - "621" - ], - "location": { - "end": { - "column": 6, - "line": 341 - }, - "start": { - "column": 38, - "line": 339 - } - } - }, { "id": "1705", "mutatorName": "BooleanLiteral", @@ -65228,12 +64454,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "207", - "610", - "621" + "611", + "622" ], "location": { "end": { @@ -65246,74 +64472,6 @@ } } }, - { - "id": "1706", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(345,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 367 - }, - "start": { - "column": 58, - "line": 345 - } - } - }, - { - "id": "1707", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GamePlayActions' is not assignable to parameter of type 'never'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 128, - "line": 347 - }, - "start": { - "column": 51, - "line": 347 - } - } - }, { "id": "1708", "mutatorName": "ArrayDeclaration", @@ -65334,11 +64492,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65351,142 +64509,6 @@ } } }, - { - "id": "1709", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(349,44): error TS2322: Type 'string' is not assignable to type 'Player'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 45, - "line": 349 - }, - "start": { - "column": 43, - "line": 349 - } - } - }, - { - "id": "1710", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 29, - "line": 350 - }, - "start": { - "column": 9, - "line": 350 - } - } - }, - { - "id": "1711", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 29, - "line": 350 - }, - "start": { - "column": 9, - "line": 350 - } - } - }, - { - "id": "1712", - "mutatorName": "EqualityOperator", - "replacement": "currentPlay !== null", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "220", - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 29, - "line": 350 - }, - "start": { - "column": 9, - "line": 350 - } - } - }, { "id": "1713", "mutatorName": "BlockStatement", @@ -65556,72 +64578,6 @@ } } }, - { - "id": "1716", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 51, - "line": 353 - }, - "start": { - "column": 9, - "line": 353 - } - } - }, - { - "id": "1717", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 51, - "line": 353 - }, - "start": { - "column": 9, - "line": 353 - } - } - }, { "id": "1718", "mutatorName": "BlockStatement", @@ -65636,10 +64592,10 @@ "coveredBy": [ "221", "227", - "608", "609", - "620", - "621" + "610", + "621", + "622" ], "location": { "end": { @@ -65652,60 +64608,6 @@ } } }, - { - "id": "1719", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | RoleNames.BIG_BAD_WOLF | RoleNames.WHITE_WEREWOLF | RoleNames.SEER | RoleNames.CUPID | RoleNames.WITCH | RoleNames.HUNTER | ... 10 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "222", - "223", - "224", - "225", - "226", - "610" - ], - "location": { - "end": { - "column": 57, - "line": 355 - }, - "start": { - "column": 16, - "line": 355 - } - } - }, - { - "id": "1720", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "222", - "223", - "224", - "225", - "226", - "610" - ], - "location": { - "end": { - "column": 57, - "line": 355 - }, - "start": { - "column": 16, - "line": 355 - } - } - }, { "id": "1721", "mutatorName": "BlockStatement", @@ -65721,7 +64623,7 @@ "222", "225", "226", - "610" + "611" ], "location": { "end": { @@ -65779,11 +64681,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65815,11 +64717,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65851,11 +64753,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65884,11 +64786,11 @@ "222", "223", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65917,11 +64819,11 @@ "222", "223", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65943,18 +64845,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "221", "222", "223", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -65986,11 +64888,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -66022,11 +64924,11 @@ "225", "226", "227", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -66052,9 +64954,9 @@ ], "coveredBy": [ "227", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -66080,9 +64982,9 @@ ], "coveredBy": [ "227", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -66108,9 +65010,9 @@ ], "coveredBy": [ "227", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -66136,9 +65038,9 @@ ], "coveredBy": [ "227", - "608", "609", - "620" + "610", + "621" ], "location": { "end": { @@ -66152,2270 +65054,1079 @@ } }, { - "id": "1735", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(366,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "id": "1409", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(66,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "221", - "222", - "223", - "224", - "225", - "226", - "227", - "608", + "125", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 68, - "line": 366 + "column": 4, + "line": 70 }, "start": { - "column": 38, - "line": 366 + "column": 76, + "line": 66 } } }, { - "id": "1535", - "mutatorName": "BooleanLiteral", - "replacement": "lastProtectedPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(199,142): error TS18048: 'lastProtectedPlayer' is possibly 'undefined'.\n", + "id": "1410", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(72,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "151", - "153" + "126", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 76, - "line": 199 + "column": 4, + "line": 76 }, "start": { - "column": 56, - "line": 199 + "column": 94, + "line": 72 } } - } - ], - "source": "import { Injectable } from \"@nestjs/common\";\n\nimport { VOTE_ACTIONS } from \"@/modules/game/constants/game-play/game-play.constant\";\nimport { createPlayer } from \"@/modules/game/helpers/player/player.factory\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { createGamePlayEligibleTargetsBoundaries } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.factory\";\nimport { createInteractablePlayer } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/interactable-player/interactable-player.factory\";\nimport { doesPlayerHaveActiveAttributeWithName } from \"@/modules/game/helpers/player/player-attribute/player-attribute.helper\";\nimport { GamePlayActions, GamePlayCauses, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport { PlayerAttributeNames, PlayerGroups, PlayerInteractionTypes } from \"@/modules/game/enums/player.enum\";\nimport { createGamePlayEligibleTargets } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory\";\nimport { createGamePlay } from \"@/modules/game/helpers/game-play/game-play.factory\";\nimport { getAlivePlayers, getAliveVillagerSidedPlayers, getAllowedToVotePlayers, getGroupOfPlayers, getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayersWithActiveAttributeName, getPlayersWithCurrentRole, isGameSourceGroup, isGameSourceRole } from \"@/modules/game/helpers/game.helper\";\nimport { GameHistoryRecordService } from \"@/modules/game/providers/services/game-history/game-history-record.service\";\nimport type { GamePlayEligibleTargetsBoundaries } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.schema\";\nimport type { GamePlayEligibleTargets } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets.schema\";\nimport type { InteractablePlayer } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/interactable-player.schema\";\nimport type { PlayerInteraction } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/player-interaction/player-interaction.schema\";\nimport type { GamePlay } from \"@/modules/game/schemas/game-play/game-play.schema\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { GamePlaySourceName } from \"@/modules/game/types/game-play.type\";\nimport { WEREWOLF_ROLES } from \"@/modules/role/constants/role.constant\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nimport { createCantFindLastNominatedPlayersUnexpectedException, createMalformedCurrentGamePlayUnexpectedException, createNoCurrentGamePlayUnexpectedException } from \"@/shared/exception/helpers/unexpected-exception.factory\";\n\n@Injectable()\nexport class GamePlayAugmenterService {\n private readonly getEligibleTargetsPlayMethods: Partial<\n Record GamePlayEligibleTargets | Promise>\n > = {\n [PlayerAttributeNames.SHERIFF]: async(game, gamePlay) => this.getSheriffGamePlayEligibleTargets(game, gamePlay),\n [PlayerGroups.SURVIVORS]: async(game, gamePlay) => this.getSurvivorsGamePlayEligibleTargets(game, gamePlay),\n [PlayerGroups.WEREWOLVES]: game => this.getWerewolvesGamePlayEligibleTargets(game),\n [RoleNames.BIG_BAD_WOLF]: game => this.getBigBadWolfGamePlayEligibleTargets(game),\n [RoleNames.CUPID]: game => this.getCupidGamePlayEligibleTargets(game),\n [RoleNames.FOX]: game => this.getFoxGamePlayEligibleTargets(game),\n [RoleNames.DEFENDER]: async game => this.getDefenderGamePlayEligibleTargets(game),\n [RoleNames.HUNTER]: game => this.getHunterGamePlayEligibleTargets(game),\n [RoleNames.PIED_PIPER]: game => this.getPiedPiperGamePlayEligibleTargets(game),\n [RoleNames.SCANDALMONGER]: game => this.getScandalmongerGamePlayEligibleTargets(game),\n [RoleNames.SCAPEGOAT]: game => this.getScapegoatGamePlayEligibleTargets(game),\n [RoleNames.SEER]: game => this.getSeerGamePlayEligibleTargets(game),\n [RoleNames.WHITE_WEREWOLF]: game => this.getWhiteWerewolfGamePlayEligibleTargets(game),\n [RoleNames.WILD_CHILD]: game => this.getWildChildGamePlayEligibleTargets(game),\n [RoleNames.WITCH]: async game => this.getWitchGamePlayEligibleTargets(game),\n };\n\n private readonly canBeSkippedPlayMethods: Partial boolean>> = {\n [PlayerGroups.CHARMED]: () => true,\n [PlayerGroups.LOVERS]: () => true,\n [PlayerGroups.SURVIVORS]: (game, gamePlay) => this.canSurvivorsSkipGamePlay(game, gamePlay),\n [RoleNames.BIG_BAD_WOLF]: game => this.canBigBadWolfSkipGamePlay(game),\n [RoleNames.FOX]: () => true,\n [RoleNames.SCANDALMONGER]: () => true,\n [RoleNames.SCAPEGOAT]: () => true,\n [RoleNames.THIEF]: game => this.canThiefSkipGamePlay(game),\n [RoleNames.TWO_SISTERS]: () => true,\n [RoleNames.THREE_BROTHERS]: () => true,\n [RoleNames.WHITE_WEREWOLF]: () => true,\n [RoleNames.WITCH]: () => true,\n };\n\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public setGamePlayCanBeSkipped(gamePlay: GamePlay, game: Game): GamePlay {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.canBeSkipped = this.canGamePlayBeSkipped(game, gamePlay);\n return clonedGamePlay;\n }\n\n public async setGamePlayEligibleTargets(gamePlay: GamePlay, game: Game): Promise {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.eligibleTargets = await this.getGamePlayEligibleTargets(gamePlay, game);\n return clonedGamePlay;\n }\n\n public setGamePlaySourcePlayers(gamePlay: GamePlay, game: Game): GamePlay {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.source.players = this.getExpectedPlayersToPlay(game);\n return clonedGamePlay;\n }\n\n private async getSheriffSettlesVotesGamePlayEligibleTargets(game: Game): Promise {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id, GamePlayActions.VOTE);\n if (lastTieInVotesRecord?.play.voting?.nominatedPlayers === undefined || lastTieInVotesRecord.play.voting.nominatedPlayers.length === 0) {\n throw createCantFindLastNominatedPlayersUnexpectedException(\"getSheriffSettlesVotesGamePlayEligibleTargets\", { gameId: game._id });\n }\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SENTENCE_TO_DEATH, source: PlayerAttributeNames.SHERIFF }];\n const interactablePlayers: InteractablePlayer[] = lastTieInVotesRecord.play.voting.nominatedPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSheriffDelegatesGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.TRANSFER_SHERIFF_ROLE, source: PlayerAttributeNames.SHERIFF }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getSheriffGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n if (gamePlay.action === GamePlayActions.DELEGATE) {\n return this.getSheriffDelegatesGamePlayEligibleTargets(game);\n }\n if (gamePlay.action === GamePlayActions.SETTLE_VOTES) {\n return this.getSheriffSettlesVotesGamePlayEligibleTargets(game);\n }\n throw createMalformedCurrentGamePlayUnexpectedException(\"getSheriffGamePlayEligibleTargets\", gamePlay, game._id);\n }\n\n private async getSurvivorsVoteGamePlayInteractablePlayers(game: Game, gamePlay: GamePlay): Promise {\n const alivePlayers = getAlivePlayers(game);\n const isVoteCauseOfTie = gamePlay.cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.VOTE, source: PlayerGroups.SURVIVORS }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => createInteractablePlayer({ player, interactions }));\n if (isVoteCauseOfTie) {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id, GamePlayActions.VOTE);\n if (lastTieInVotesRecord?.play.voting?.nominatedPlayers === undefined || lastTieInVotesRecord.play.voting.nominatedPlayers.length === 0) {\n throw createCantFindLastNominatedPlayersUnexpectedException(\"getSurvivorsVoteGamePlayInteractablePlayers\", { gameId: game._id });\n }\n const { nominatedPlayers } = lastTieInVotesRecord.play.voting;\n return interactablePlayers.filter(({ player }) => nominatedPlayers.some(nominatedPlayer => nominatedPlayer._id.equals(player._id)));\n }\n return interactablePlayers;\n }\n\n private async getSurvivorsVoteGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n const canSurvivorsSkipVotes = this.canSurvivorsSkipGamePlay(game, gamePlay);\n const interactablePlayers = await this.getSurvivorsVoteGamePlayInteractablePlayers(game, gamePlay);\n const minBoundaries = canSurvivorsSkipVotes ? 0 : 1;\n const maxBoundaries = getAllowedToVotePlayers(game).length;\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: minBoundaries, max: maxBoundaries };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSurvivorsElectSheriffGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF, source: PlayerGroups.SURVIVORS }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const maxBoundaries = getAllowedToVotePlayers(game).length;\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: maxBoundaries };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getSurvivorsGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n if (gamePlay.action === GamePlayActions.BURY_DEAD_BODIES) {\n return undefined;\n }\n if (gamePlay.action === GamePlayActions.VOTE) {\n return this.getSurvivorsVoteGamePlayEligibleTargets(game, gamePlay);\n }\n if (gamePlay.action === GamePlayActions.ELECT_SHERIFF) {\n return this.getSurvivorsElectSheriffGamePlayEligibleTargets(game);\n }\n throw createMalformedCurrentGamePlayUnexpectedException(\"getSurvivorsGamePlayEligibleTargets\", gamePlay, game._id);\n }\n\n private getWerewolvesGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const aliveVillagerSidedPlayers = getAliveVillagerSidedPlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: PlayerGroups.WEREWOLVES }];\n const interactablePlayers: InteractablePlayer[] = aliveVillagerSidedPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getBigBadWolfGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const leftToEatByBigBadWolfPlayers = getLeftToEatByWerewolvesPlayers(game);\n const leftToEatByBigBadWolfPlayersCount = leftToEatByBigBadWolfPlayers.length ? 1 : 0;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: RoleNames.BIG_BAD_WOLF }];\n const interactablePlayers: InteractablePlayer[] = leftToEatByBigBadWolfPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: leftToEatByBigBadWolfPlayersCount, max: leftToEatByBigBadWolfPlayersCount };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getCupidGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHARM, source: RoleNames.CUPID }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 2, max: 2 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getFoxGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SNIFF, source: RoleNames.FOX }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getDefenderGamePlayEligibleTargets(game: Game): Promise {\n const { canProtectTwice } = game.options.roles.defender;\n const alivePlayers = getAlivePlayers(game);\n const lastDefenderProtectRecord = await this.gameHistoryRecordService.getLastGameHistoryDefenderProtectsRecord(game._id);\n const lastProtectedPlayer = lastDefenderProtectRecord?.play.targets?.[0].player;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.PROTECT, source: RoleNames.DEFENDER }];\n const possibleDefenderTargets = canProtectTwice || !lastProtectedPlayer ? alivePlayers : alivePlayers.filter(player => !player._id.equals(lastProtectedPlayer._id));\n const interactablePlayers: InteractablePlayer[] = possibleDefenderTargets.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getHunterGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SHOOT, source: RoleNames.HUNTER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getPiedPiperGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const { charmedPeopleCountPerNight } = game.options.roles.piedPiper;\n const leftToCharmByPiedPiperPlayers = getLeftToCharmByPiedPiperPlayers(game);\n const leftToCharmByPiedPiperPlayersCount = leftToCharmByPiedPiperPlayers.length;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHARM, source: RoleNames.PIED_PIPER }];\n const interactablePlayers: InteractablePlayer[] = leftToCharmByPiedPiperPlayers.map(player => ({ player, interactions }));\n const countToCharm = Math.min(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount);\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: countToCharm, max: countToCharm };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getScandalmongerGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.MARK, source: RoleNames.SCANDALMONGER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getScapegoatGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.BAN_VOTING, source: RoleNames.SCAPEGOAT }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: alivePlayers.length };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSeerGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const alivePlayersWithoutSeer = alivePlayers.filter(({ role }) => role.current !== RoleNames.SEER);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.LOOK, source: RoleNames.SEER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayersWithoutSeer.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWhiteWerewolfGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const leftToEatByWhiteWerewolfPlayers = getLeftToEatByWhiteWerewolfPlayers(game);\n const maxTargetsToEatCount = leftToEatByWhiteWerewolfPlayers.length ? 1 : 0;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: RoleNames.WHITE_WEREWOLF }];\n const interactablePlayers: InteractablePlayer[] = leftToEatByWhiteWerewolfPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: maxTargetsToEatCount };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWildChildGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const alivePlayersWithoutWildChild = alivePlayers.filter(({ role }) => role.current !== RoleNames.WILD_CHILD);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHOOSE_AS_MODEL, source: RoleNames.WILD_CHILD }];\n const interactablePlayers: InteractablePlayer[] = alivePlayersWithoutWildChild.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWitchGamePlayEligibleTargetsBoundaries(hasWitchUsedLifePotion: boolean, hasWitchUsedDeathPotion: boolean): GamePlayEligibleTargetsBoundaries {\n let max = 2;\n if (hasWitchUsedLifePotion) {\n max--;\n }\n if (hasWitchUsedDeathPotion) {\n max--;\n }\n return createGamePlayEligibleTargetsBoundaries({ min: 0, max });\n }\n\n private getWitchGamePlayEligibleTargetsInteractablePlayers(game: Game, hasWitchUsedLifePotion: boolean, hasWitchUsedDeathPotion: boolean): InteractablePlayer[] {\n const alivePlayers = getAlivePlayers(game);\n return alivePlayers.reduce((acc, player) => {\n const interactions: PlayerInteraction[] = [];\n if (!hasWitchUsedLifePotion && doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.EATEN, game)) {\n interactions.push({ type: PlayerInteractionTypes.GIVE_LIFE_POTION, source: RoleNames.WITCH });\n }\n if (!hasWitchUsedDeathPotion && !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.EATEN, game)) {\n interactions.push({ type: PlayerInteractionTypes.GIVE_DEATH_POTION, source: RoleNames.WITCH });\n }\n return interactions.length === 0 ? acc : [...acc, createInteractablePlayer({ player, interactions })];\n }, []);\n }\n\n private async getWitchGamePlayEligibleTargets(game: Game): Promise {\n const [lifeRecords, deathRecords] = await Promise.all([\n this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE),\n this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH),\n ]);\n const hasWitchUsedLifePotion = lifeRecords.length > 0;\n const hasWitchUsedDeathPotion = deathRecords.length > 0;\n const interactablePlayers: InteractablePlayer[] = this.getWitchGamePlayEligibleTargetsInteractablePlayers(game, hasWitchUsedLifePotion, hasWitchUsedDeathPotion);\n const boundaries = this.getWitchGamePlayEligibleTargetsBoundaries(hasWitchUsedLifePotion, hasWitchUsedDeathPotion);\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getGamePlayEligibleTargets(gamePlay: GamePlay, game: Game): Promise {\n const eligibleTargetsPlayMethod = this.getEligibleTargetsPlayMethods[gamePlay.source.name];\n if (!eligibleTargetsPlayMethod) {\n return undefined;\n }\n const eligibleTargets = await eligibleTargetsPlayMethod(game, gamePlay);\n const areEligibleTargetsRelevant = eligibleTargets?.interactablePlayers !== undefined && eligibleTargets.interactablePlayers.length > 0;\n return areEligibleTargetsRelevant ? eligibleTargets : undefined;\n }\n\n private canSurvivorsSkipGamePlay(game: Game, gamePlay: GamePlay): boolean {\n const { canBeSkipped } = game.options.votes;\n const isGamePlayVoteCauseAngelPresence = gamePlay.action === GamePlayActions.VOTE && gamePlay.cause === GamePlayCauses.ANGEL_PRESENCE;\n if (gamePlay.action === GamePlayActions.ELECT_SHERIFF || isGamePlayVoteCauseAngelPresence) {\n return false;\n }\n return canBeSkipped;\n }\n\n private canBigBadWolfSkipGamePlay(game: Game): boolean {\n const leftToEatByWerewolvesPlayers = getLeftToEatByWerewolvesPlayers(game);\n return leftToEatByWerewolvesPlayers.length === 0;\n }\n\n private canThiefSkipGamePlay(game: Game): boolean {\n const { mustChooseBetweenWerewolves } = game.options.roles.thief;\n if (game.additionalCards === undefined || game.additionalCards.length === 0) {\n return true;\n }\n const areAllAdditionalCardsWerewolves = game.additionalCards.every(({ roleName }) => WEREWOLF_ROLES.find(role => role.name === roleName));\n return !areAllAdditionalCardsWerewolves || !mustChooseBetweenWerewolves;\n }\n\n private canGamePlayBeSkipped(game: Game, gamePlay: GamePlay): boolean {\n const canBeSkippedGamePlayMethod = this.canBeSkippedPlayMethods[gamePlay.source.name];\n if (!canBeSkippedGamePlayMethod) {\n return false;\n }\n return canBeSkippedGamePlayMethod(game, gamePlay);\n }\n\n private getExpectedPlayersToPlay(game: Game): Player[] {\n const { currentPlay } = game;\n const mustIncludeDeadPlayersGamePlayActions = [GamePlayActions.SHOOT, GamePlayActions.BAN_VOTING, GamePlayActions.DELEGATE];\n const voteActions: GamePlayActions[] = [...VOTE_ACTIONS];\n let expectedPlayersToPlay: Player[] = [];\n if (currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"getExpectedPlayersToPlay\", { gameId: game._id });\n }\n if (isGameSourceGroup(currentPlay.source.name)) {\n expectedPlayersToPlay = getGroupOfPlayers(game, currentPlay.source.name);\n } else if (isGameSourceRole(currentPlay.source.name)) {\n expectedPlayersToPlay = getPlayersWithCurrentRole(game, currentPlay.source.name);\n } else {\n expectedPlayersToPlay = getPlayersWithActiveAttributeName(game, PlayerAttributeNames.SHERIFF);\n }\n if (!mustIncludeDeadPlayersGamePlayActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => player.isAlive);\n }\n if (voteActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.CANT_VOTE, game));\n }\n return expectedPlayersToPlay.map(player => createPlayer(player));\n }\n}" - }, - "src/modules/game/providers/services/game-play/game-play-maker.service.ts": { - "language": "typescript", - "mutants": [ + }, { - "id": "1736", - "mutatorName": "ObjectLiteral", + "id": "1411", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:183:56)", - "status": "Killed", - "testsCompleted": 101, - "static": true, - "killedBy": [ - "366" - ], + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(78,68): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "127", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { "column": 4, - "line": 47 + "line": 82 }, "start": { - "column": 170, - "line": 29 + "column": 77, + "line": 78 } } }, { - "id": "1737", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(30,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1572", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(240,55): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "159", + "611" ], "location": { "end": { - "column": 83, - "line": 30 + "column": 4, + "line": 247 }, "start": { - "column": 32, - "line": 30 + "column": 79, + "line": 240 } } }, { - "id": "1738", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(31,31): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1579", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(243,48): error TS2739: Type '{}' is missing the following properties from type 'PlayerInteraction': source, type\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "159", + "611" ], "location": { "end": { - "column": 82, - "line": 31 + "column": 109, + "line": 243 }, "start": { - "column": 31, - "line": 31 + "column": 48, + "line": 243 } } }, { - "id": "1739", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(32,37): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1581", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(244,11): error TS2322: Type '{}[]' is not assignable to type 'InteractablePlayer[]'.\n Type '{}' is missing the following properties from type 'InteractablePlayer': player, interactions\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "159", + "611" ], "location": { "end": { - "column": 87, - "line": 32 + "column": 118, + "line": 244 }, "start": { - "column": 37, - "line": 32 + "column": 94, + "line": 244 } } }, { - "id": "1740", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(33,31): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1582", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(245,11): error TS2739: Type '{}' is missing the following properties from type 'GamePlayEligibleTargetsBoundaries': min, max\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "159", + "611" ], "location": { "end": { - "column": 78, - "line": 33 + "column": 77, + "line": 245 }, "start": { - "column": 31, - "line": 33 + "column": 59, + "line": 245 } } }, { - "id": "1741", + "id": "1580", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(34,33): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(244,11): error TS2322: Type 'undefined[]' is not assignable to type 'InteractablePlayer[]'.\n Type 'undefined' is not assignable to type 'InteractablePlayer'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "159", + "611" ], "location": { "end": { + "column": 119, + "line": 244 + }, + "start": { "column": 83, - "line": 34 + "line": 244 + } + } + }, + { + "id": "1646", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(304,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 312 }, "start": { - "column": 33, - "line": 34 + "column": 122, + "line": 304 } } }, { - "id": "1742", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(35,23): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1647", + "mutatorName": "BooleanLiteral", + "replacement": "eligibleTargetsPlayMethod", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 65, - "line": 35 + "column": 35, + "line": 306 }, "start": { - "column": 23, - "line": 35 + "column": 9, + "line": 306 } } }, { - "id": "1743", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(36,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1648", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 68, - "line": 36 + "column": 35, + "line": 306 }, "start": { - "column": 24, - "line": 36 + "column": 9, + "line": 306 } } }, { - "id": "1744", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(37,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1653", + "mutatorName": "LogicalOperator", + "replacement": "eligibleTargets?.interactablePlayers !== undefined || eligibleTargets.interactablePlayers.length > 0", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 77, - "line": 37 + "column": 140, + "line": 310 }, "start": { - "column": 29, - "line": 37 + "column": 40, + "line": 310 } } }, { - "id": "1745", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(38,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1649", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS2722: Cannot invoke an object which is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(309,35): error TS18048: 'eligibleTargetsPlayMethod' is possibly 'undefined'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "176", + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 35, + "line": 306 + }, + "start": { + "column": 9, + "line": 306 + } + } + }, + { + "id": "1654", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,48): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,48): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 90, + "line": 310 + }, + "start": { + "column": 40, + "line": 310 + } + } + }, + { + "id": "1655", + "mutatorName": "EqualityOperator", + "replacement": "eligibleTargets?.interactablePlayers === undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,94): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 90, + "line": 310 + }, + "start": { + "column": 40, + "line": 310 + } + } + }, + { + "id": "1656", + "mutatorName": "OptionalChaining", + "replacement": "eligibleTargets.interactablePlayers", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,40): error TS18048: 'eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(310,93): error TS18048: 'eligibleTargets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "177", + "178", + "179", + "180", + "181", + "182", + "183", + "184", + "185", + "186", + "187", + "188", + "189", + "190", + "191", + "192", + "193", + "194", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 76, + "line": 310 + }, + "start": { + "column": 40, + "line": 310 + } + } + }, + { + "id": "1701", + "mutatorName": "BooleanLiteral", + "replacement": "canBeSkippedGamePlayMethod", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 36, + "line": 339 + }, + "start": { + "column": 9, + "line": 339 + } + } + }, + { + "id": "1702", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 36, + "line": 339 + }, + "start": { + "column": 9, + "line": 339 + } + } + }, + { + "id": "1700", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(337,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 343 + }, + "start": { + "column": 73, + "line": 337 + } + } + }, + { + "id": "1703", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(342,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "207", + "208", + "209", + "210", + "211", + "212", + "213", + "214", + "215", + "216", + "217", + "218", + "219", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 36, + "line": 339 + }, + "start": { + "column": 9, + "line": 339 + } + } + }, + { + "id": "1704", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(340,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "207", + "611", + "622" + ], + "location": { + "end": { + "column": 6, + "line": 341 + }, + "start": { + "column": 38, + "line": 339 + } + } + }, + { + "id": "1706", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(345,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 367 + }, + "start": { + "column": 58, + "line": 345 + } + } + }, + { + "id": "1709", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(349,44): error TS2322: Type 'string' is not assignable to type 'Player'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 45, + "line": 349 + }, + "start": { + "column": 43, + "line": 349 + } + } + }, + { + "id": "1707", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS2345: Argument of type 'import(\"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/src/modules/game/enums/game-play.enum\").GamePlayActions' is not assignable to parameter of type 'never'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 128, + "line": 347 + }, + "start": { + "column": 51, + "line": 347 + } + } + }, + { + "id": "1710", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 73, - "line": 38 + "column": 29, + "line": 350 }, "start": { - "column": 24, - "line": 38 + "column": 9, + "line": 350 } } }, { - "id": "1746", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(39,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1711", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 75, - "line": 39 + "column": 29, + "line": 350 }, "start": { - "column": 25, - "line": 39 + "column": 9, + "line": 350 } } }, { - "id": "1747", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(40,27): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1712", + "mutatorName": "EqualityOperator", + "replacement": "currentPlay !== null", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(353,27): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(360,57): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(363,30): error TS18047: 'currentPlay' is possibly 'null'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "220", + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 76, - "line": 40 + "column": 29, + "line": 350 }, "start": { - "column": 27, - "line": 40 + "column": 9, + "line": 350 } } }, { - "id": "1748", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(41,22): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1717", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 64, - "line": 41 + "column": 51, + "line": 353 }, "start": { - "column": 22, - "line": 41 + "column": 9, + "line": 353 } } }, { - "id": "1749", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(42,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1719", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | RoleNames.BIG_BAD_WOLF | RoleNames.WHITE_WEREWOLF | RoleNames.SEER | RoleNames.CUPID | RoleNames.WITCH | RoleNames.HUNTER | ... 10 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "222", + "223", + "224", + "225", + "226", + "611" ], "location": { "end": { - "column": 83, - "line": 42 + "column": 57, + "line": 355 }, "start": { - "column": 29, - "line": 42 + "column": 16, + "line": 355 } } }, { - "id": "1750", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(43,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1720", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "222", + "223", + "224", + "225", + "226", + "611" ], "location": { "end": { - "column": 82, - "line": 43 + "column": 57, + "line": 355 }, "start": { - "column": 29, - "line": 43 + "column": 16, + "line": 355 } } }, { - "id": "1751", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(44,28): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "id": "1716", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(354,55): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'PlayerGroups'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'PlayerGroups'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(355,33): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS18047: 'currentPlay' is possibly 'null'.\nsrc/modules/game/providers/services/game-play/game-play-augmenter.service.ts(356,63): error TS2345: Argument of type 'PlayerAttributeNames.SHERIFF | PlayerGroups.SURVIVORS | PlayerGroups.WEREWOLVES | PlayerGroups.LOVERS | PlayerGroups.CHARMED | RoleNames.BIG_BAD_WOLF | ... 15 more ... | RoleNames.SCANDALMONGER' is not assignable to parameter of type 'RoleNames'.\n Type 'PlayerAttributeNames.SHERIFF' is not assignable to type 'RoleNames'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 80, - "line": 44 + "column": 51, + "line": 353 }, "start": { - "column": 28, - "line": 44 + "column": 9, + "line": 353 } } }, { - "id": "1752", + "id": "1735", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(45,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-augmenter.service.ts(366,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", - "static": true, - "killedBy": [], + "static": false, "coveredBy": [ - "363", - "364", - "365", - "366", - "367", - "368", - "369", - "370", - "371", - "372", - "373", - "374", - "375", - "376", - "377", - "378", - "379", - "380", - "381", - "382", - "383", - "384", - "385", - "386", - "387", - "388", - "389", - "390", - "391", - "392", - "393", - "394", - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "405", - "406", - "407", - "408", - "409", - "410", - "411", - "412", - "413", - "414", - "415", - "416", - "417", - "418", - "419", - "420", - "421", - "422", - "423", - "424", - "425", - "426", - "427", - "428", - "429", - "430", - "431", - "432", - "433", - "434", - "435", - "436", - "437", - "438", - "439", - "440", - "441", - "442", - "443", - "444", - "445", - "446", - "447", - "448", - "449", - "450", - "451", - "452", - "453", - "454", - "455", - "456", - "457", - "458", - "459", - "460", - "461", - "462", - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "221", + "222", + "223", + "224", + "225", + "226", + "227", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 73, - "line": 45 + "column": 68, + "line": 366 }, "start": { - "column": 24, - "line": 45 + "column": 38, + "line": 366 } } - }, + } + ], + "source": "import { Injectable } from \"@nestjs/common\";\n\nimport { VOTE_ACTIONS } from \"@/modules/game/constants/game-play/game-play.constant\";\nimport { createPlayer } from \"@/modules/game/helpers/player/player.factory\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { createGamePlayEligibleTargetsBoundaries } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.factory\";\nimport { createInteractablePlayer } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/interactable-player/interactable-player.factory\";\nimport { doesPlayerHaveActiveAttributeWithName } from \"@/modules/game/helpers/player/player-attribute/player-attribute.helper\";\nimport { GamePlayActions, GamePlayCauses, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport { PlayerAttributeNames, PlayerGroups, PlayerInteractionTypes } from \"@/modules/game/enums/player.enum\";\nimport { createGamePlayEligibleTargets } from \"@/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory\";\nimport { createGamePlay } from \"@/modules/game/helpers/game-play/game-play.factory\";\nimport { getAlivePlayers, getAliveVillagerSidedPlayers, getAllowedToVotePlayers, getGroupOfPlayers, getLeftToCharmByPiedPiperPlayers, getLeftToEatByWerewolvesPlayers, getLeftToEatByWhiteWerewolfPlayers, getPlayersWithActiveAttributeName, getPlayersWithCurrentRole, isGameSourceGroup, isGameSourceRole } from \"@/modules/game/helpers/game.helper\";\nimport { GameHistoryRecordService } from \"@/modules/game/providers/services/game-history/game-history-record.service\";\nimport type { GamePlayEligibleTargetsBoundaries } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.schema\";\nimport type { GamePlayEligibleTargets } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets.schema\";\nimport type { InteractablePlayer } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/interactable-player.schema\";\nimport type { PlayerInteraction } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/player-interaction/player-interaction.schema\";\nimport type { GamePlay } from \"@/modules/game/schemas/game-play/game-play.schema\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { GamePlaySourceName } from \"@/modules/game/types/game-play.type\";\nimport { WEREWOLF_ROLES } from \"@/modules/role/constants/role.constant\";\nimport { RoleNames } from \"@/modules/role/enums/role.enum\";\n\nimport { createCantFindLastNominatedPlayersUnexpectedException, createMalformedCurrentGamePlayUnexpectedException, createNoCurrentGamePlayUnexpectedException } from \"@/shared/exception/helpers/unexpected-exception.factory\";\n\n@Injectable()\nexport class GamePlayAugmenterService {\n private readonly getEligibleTargetsPlayMethods: Partial<\n Record GamePlayEligibleTargets | Promise>\n > = {\n [PlayerAttributeNames.SHERIFF]: async(game, gamePlay) => this.getSheriffGamePlayEligibleTargets(game, gamePlay),\n [PlayerGroups.SURVIVORS]: async(game, gamePlay) => this.getSurvivorsGamePlayEligibleTargets(game, gamePlay),\n [PlayerGroups.WEREWOLVES]: game => this.getWerewolvesGamePlayEligibleTargets(game),\n [RoleNames.BIG_BAD_WOLF]: game => this.getBigBadWolfGamePlayEligibleTargets(game),\n [RoleNames.CUPID]: game => this.getCupidGamePlayEligibleTargets(game),\n [RoleNames.FOX]: game => this.getFoxGamePlayEligibleTargets(game),\n [RoleNames.DEFENDER]: async game => this.getDefenderGamePlayEligibleTargets(game),\n [RoleNames.HUNTER]: game => this.getHunterGamePlayEligibleTargets(game),\n [RoleNames.PIED_PIPER]: game => this.getPiedPiperGamePlayEligibleTargets(game),\n [RoleNames.SCANDALMONGER]: game => this.getScandalmongerGamePlayEligibleTargets(game),\n [RoleNames.SCAPEGOAT]: game => this.getScapegoatGamePlayEligibleTargets(game),\n [RoleNames.SEER]: game => this.getSeerGamePlayEligibleTargets(game),\n [RoleNames.WHITE_WEREWOLF]: game => this.getWhiteWerewolfGamePlayEligibleTargets(game),\n [RoleNames.WILD_CHILD]: game => this.getWildChildGamePlayEligibleTargets(game),\n [RoleNames.WITCH]: async game => this.getWitchGamePlayEligibleTargets(game),\n };\n\n private readonly canBeSkippedPlayMethods: Partial boolean>> = {\n [PlayerGroups.CHARMED]: () => true,\n [PlayerGroups.LOVERS]: () => true,\n [PlayerGroups.SURVIVORS]: (game, gamePlay) => this.canSurvivorsSkipGamePlay(game, gamePlay),\n [RoleNames.BIG_BAD_WOLF]: game => this.canBigBadWolfSkipGamePlay(game),\n [RoleNames.FOX]: () => true,\n [RoleNames.SCANDALMONGER]: () => true,\n [RoleNames.SCAPEGOAT]: () => true,\n [RoleNames.THIEF]: game => this.canThiefSkipGamePlay(game),\n [RoleNames.TWO_SISTERS]: () => true,\n [RoleNames.THREE_BROTHERS]: () => true,\n [RoleNames.WHITE_WEREWOLF]: () => true,\n [RoleNames.WITCH]: () => true,\n };\n\n public constructor(private readonly gameHistoryRecordService: GameHistoryRecordService) {}\n\n public setGamePlayCanBeSkipped(gamePlay: GamePlay, game: Game): GamePlay {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.canBeSkipped = this.canGamePlayBeSkipped(game, gamePlay);\n return clonedGamePlay;\n }\n\n public async setGamePlayEligibleTargets(gamePlay: GamePlay, game: Game): Promise {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.eligibleTargets = await this.getGamePlayEligibleTargets(gamePlay, game);\n return clonedGamePlay;\n }\n\n public setGamePlaySourcePlayers(gamePlay: GamePlay, game: Game): GamePlay {\n const clonedGamePlay = createGamePlay(gamePlay);\n clonedGamePlay.source.players = this.getExpectedPlayersToPlay(game);\n return clonedGamePlay;\n }\n\n private async getSheriffSettlesVotesGamePlayEligibleTargets(game: Game): Promise {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id, GamePlayActions.VOTE);\n if (lastTieInVotesRecord?.play.voting?.nominatedPlayers === undefined || lastTieInVotesRecord.play.voting.nominatedPlayers.length === 0) {\n throw createCantFindLastNominatedPlayersUnexpectedException(\"getSheriffSettlesVotesGamePlayEligibleTargets\", { gameId: game._id });\n }\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SENTENCE_TO_DEATH, source: PlayerAttributeNames.SHERIFF }];\n const interactablePlayers: InteractablePlayer[] = lastTieInVotesRecord.play.voting.nominatedPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSheriffDelegatesGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.TRANSFER_SHERIFF_ROLE, source: PlayerAttributeNames.SHERIFF }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getSheriffGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n if (gamePlay.action === GamePlayActions.DELEGATE) {\n return this.getSheriffDelegatesGamePlayEligibleTargets(game);\n }\n if (gamePlay.action === GamePlayActions.SETTLE_VOTES) {\n return this.getSheriffSettlesVotesGamePlayEligibleTargets(game);\n }\n throw createMalformedCurrentGamePlayUnexpectedException(\"getSheriffGamePlayEligibleTargets\", gamePlay, game._id);\n }\n\n private async getSurvivorsVoteGamePlayInteractablePlayers(game: Game, gamePlay: GamePlay): Promise {\n const alivePlayers = getAlivePlayers(game);\n const isVoteCauseOfTie = gamePlay.cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.VOTE, source: PlayerGroups.SURVIVORS }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => createInteractablePlayer({ player, interactions }));\n if (isVoteCauseOfTie) {\n const lastTieInVotesRecord = await this.gameHistoryRecordService.getLastGameHistoryTieInVotesRecord(game._id, GamePlayActions.VOTE);\n if (lastTieInVotesRecord?.play.voting?.nominatedPlayers === undefined || lastTieInVotesRecord.play.voting.nominatedPlayers.length === 0) {\n throw createCantFindLastNominatedPlayersUnexpectedException(\"getSurvivorsVoteGamePlayInteractablePlayers\", { gameId: game._id });\n }\n const { nominatedPlayers } = lastTieInVotesRecord.play.voting;\n return interactablePlayers.filter(({ player }) => nominatedPlayers.some(nominatedPlayer => nominatedPlayer._id.equals(player._id)));\n }\n return interactablePlayers;\n }\n\n private async getSurvivorsVoteGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n const canSurvivorsSkipVotes = this.canSurvivorsSkipGamePlay(game, gamePlay);\n const interactablePlayers = await this.getSurvivorsVoteGamePlayInteractablePlayers(game, gamePlay);\n const minBoundaries = canSurvivorsSkipVotes ? 0 : 1;\n const maxBoundaries = getAllowedToVotePlayers(game).length;\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: minBoundaries, max: maxBoundaries };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSurvivorsElectSheriffGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF, source: PlayerGroups.SURVIVORS }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const maxBoundaries = getAllowedToVotePlayers(game).length;\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: maxBoundaries };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getSurvivorsGamePlayEligibleTargets(game: Game, gamePlay: GamePlay): Promise {\n if (gamePlay.action === GamePlayActions.BURY_DEAD_BODIES) {\n return undefined;\n }\n if (gamePlay.action === GamePlayActions.VOTE) {\n return this.getSurvivorsVoteGamePlayEligibleTargets(game, gamePlay);\n }\n if (gamePlay.action === GamePlayActions.ELECT_SHERIFF) {\n return this.getSurvivorsElectSheriffGamePlayEligibleTargets(game);\n }\n throw createMalformedCurrentGamePlayUnexpectedException(\"getSurvivorsGamePlayEligibleTargets\", gamePlay, game._id);\n }\n\n private getWerewolvesGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const aliveVillagerSidedPlayers = getAliveVillagerSidedPlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: PlayerGroups.WEREWOLVES }];\n const interactablePlayers: InteractablePlayer[] = aliveVillagerSidedPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getBigBadWolfGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const leftToEatByBigBadWolfPlayers = getLeftToEatByWerewolvesPlayers(game);\n const leftToEatByBigBadWolfPlayersCount = leftToEatByBigBadWolfPlayers.length ? 1 : 0;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: RoleNames.BIG_BAD_WOLF }];\n const interactablePlayers: InteractablePlayer[] = leftToEatByBigBadWolfPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: leftToEatByBigBadWolfPlayersCount, max: leftToEatByBigBadWolfPlayersCount };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getCupidGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHARM, source: RoleNames.CUPID }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 2, max: 2 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getFoxGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SNIFF, source: RoleNames.FOX }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getDefenderGamePlayEligibleTargets(game: Game): Promise {\n const { canProtectTwice } = game.options.roles.defender;\n const alivePlayers = getAlivePlayers(game);\n const lastDefenderProtectRecord = await this.gameHistoryRecordService.getLastGameHistoryDefenderProtectsRecord(game._id);\n const lastProtectedPlayer = lastDefenderProtectRecord?.play.targets?.[0].player;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.PROTECT, source: RoleNames.DEFENDER }];\n const possibleDefenderTargets = canProtectTwice || !lastProtectedPlayer ? alivePlayers : alivePlayers.filter(player => !player._id.equals(lastProtectedPlayer._id));\n const interactablePlayers: InteractablePlayer[] = possibleDefenderTargets.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getHunterGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.SHOOT, source: RoleNames.HUNTER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getPiedPiperGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const { charmedPeopleCountPerNight } = game.options.roles.piedPiper;\n const leftToCharmByPiedPiperPlayers = getLeftToCharmByPiedPiperPlayers(game);\n const leftToCharmByPiedPiperPlayersCount = leftToCharmByPiedPiperPlayers.length;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHARM, source: RoleNames.PIED_PIPER }];\n const interactablePlayers: InteractablePlayer[] = leftToCharmByPiedPiperPlayers.map(player => ({ player, interactions }));\n const countToCharm = Math.min(charmedPeopleCountPerNight, leftToCharmByPiedPiperPlayersCount);\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: countToCharm, max: countToCharm };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getScandalmongerGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.MARK, source: RoleNames.SCANDALMONGER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getScapegoatGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.BAN_VOTING, source: RoleNames.SCAPEGOAT }];\n const interactablePlayers: InteractablePlayer[] = alivePlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: alivePlayers.length };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getSeerGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const alivePlayersWithoutSeer = alivePlayers.filter(({ role }) => role.current !== RoleNames.SEER);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.LOOK, source: RoleNames.SEER }];\n const interactablePlayers: InteractablePlayer[] = alivePlayersWithoutSeer.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWhiteWerewolfGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const leftToEatByWhiteWerewolfPlayers = getLeftToEatByWhiteWerewolfPlayers(game);\n const maxTargetsToEatCount = leftToEatByWhiteWerewolfPlayers.length ? 1 : 0;\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.EAT, source: RoleNames.WHITE_WEREWOLF }];\n const interactablePlayers: InteractablePlayer[] = leftToEatByWhiteWerewolfPlayers.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 0, max: maxTargetsToEatCount };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWildChildGamePlayEligibleTargets(game: Game): GamePlayEligibleTargets {\n const alivePlayers = getAlivePlayers(game);\n const alivePlayersWithoutWildChild = alivePlayers.filter(({ role }) => role.current !== RoleNames.WILD_CHILD);\n const interactions: PlayerInteraction[] = [{ type: PlayerInteractionTypes.CHOOSE_AS_MODEL, source: RoleNames.WILD_CHILD }];\n const interactablePlayers: InteractablePlayer[] = alivePlayersWithoutWildChild.map(player => ({ player, interactions }));\n const boundaries: GamePlayEligibleTargetsBoundaries = { min: 1, max: 1 };\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private getWitchGamePlayEligibleTargetsBoundaries(hasWitchUsedLifePotion: boolean, hasWitchUsedDeathPotion: boolean): GamePlayEligibleTargetsBoundaries {\n let max = 2;\n if (hasWitchUsedLifePotion) {\n max--;\n }\n if (hasWitchUsedDeathPotion) {\n max--;\n }\n return createGamePlayEligibleTargetsBoundaries({ min: 0, max });\n }\n\n private getWitchGamePlayEligibleTargetsInteractablePlayers(game: Game, hasWitchUsedLifePotion: boolean, hasWitchUsedDeathPotion: boolean): InteractablePlayer[] {\n const alivePlayers = getAlivePlayers(game);\n return alivePlayers.reduce((acc, player) => {\n const interactions: PlayerInteraction[] = [];\n if (!hasWitchUsedLifePotion && doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.EATEN, game)) {\n interactions.push({ type: PlayerInteractionTypes.GIVE_LIFE_POTION, source: RoleNames.WITCH });\n }\n if (!hasWitchUsedDeathPotion && !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.EATEN, game)) {\n interactions.push({ type: PlayerInteractionTypes.GIVE_DEATH_POTION, source: RoleNames.WITCH });\n }\n return interactions.length === 0 ? acc : [...acc, createInteractablePlayer({ player, interactions })];\n }, []);\n }\n\n private async getWitchGamePlayEligibleTargets(game: Game): Promise {\n const [lifeRecords, deathRecords] = await Promise.all([\n this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE),\n this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH),\n ]);\n const hasWitchUsedLifePotion = lifeRecords.length > 0;\n const hasWitchUsedDeathPotion = deathRecords.length > 0;\n const interactablePlayers: InteractablePlayer[] = this.getWitchGamePlayEligibleTargetsInteractablePlayers(game, hasWitchUsedLifePotion, hasWitchUsedDeathPotion);\n const boundaries = this.getWitchGamePlayEligibleTargetsBoundaries(hasWitchUsedLifePotion, hasWitchUsedDeathPotion);\n return createGamePlayEligibleTargets({ interactablePlayers, boundaries });\n }\n\n private async getGamePlayEligibleTargets(gamePlay: GamePlay, game: Game): Promise {\n const eligibleTargetsPlayMethod = this.getEligibleTargetsPlayMethods[gamePlay.source.name];\n if (!eligibleTargetsPlayMethod) {\n return undefined;\n }\n const eligibleTargets = await eligibleTargetsPlayMethod(game, gamePlay);\n const areEligibleTargetsRelevant = eligibleTargets?.interactablePlayers !== undefined && eligibleTargets.interactablePlayers.length > 0;\n return areEligibleTargetsRelevant ? eligibleTargets : undefined;\n }\n\n private canSurvivorsSkipGamePlay(game: Game, gamePlay: GamePlay): boolean {\n const { canBeSkipped } = game.options.votes;\n const isGamePlayVoteCauseAngelPresence = gamePlay.action === GamePlayActions.VOTE && gamePlay.cause === GamePlayCauses.ANGEL_PRESENCE;\n if (gamePlay.action === GamePlayActions.ELECT_SHERIFF || isGamePlayVoteCauseAngelPresence) {\n return false;\n }\n return canBeSkipped;\n }\n\n private canBigBadWolfSkipGamePlay(game: Game): boolean {\n const leftToEatByWerewolvesPlayers = getLeftToEatByWerewolvesPlayers(game);\n return leftToEatByWerewolvesPlayers.length === 0;\n }\n\n private canThiefSkipGamePlay(game: Game): boolean {\n const { mustChooseBetweenWerewolves } = game.options.roles.thief;\n if (game.additionalCards === undefined || game.additionalCards.length === 0) {\n return true;\n }\n const areAllAdditionalCardsWerewolves = game.additionalCards.every(({ roleName }) => WEREWOLF_ROLES.find(role => role.name === roleName));\n return !areAllAdditionalCardsWerewolves || !mustChooseBetweenWerewolves;\n }\n\n private canGamePlayBeSkipped(game: Game, gamePlay: GamePlay): boolean {\n const canBeSkippedGamePlayMethod = this.canBeSkippedPlayMethods[gamePlay.source.name];\n if (!canBeSkippedGamePlayMethod) {\n return false;\n }\n return canBeSkippedGamePlayMethod(game, gamePlay);\n }\n\n private getExpectedPlayersToPlay(game: Game): Player[] {\n const { currentPlay } = game;\n const mustIncludeDeadPlayersGamePlayActions = [GamePlayActions.SHOOT, GamePlayActions.BAN_VOTING, GamePlayActions.DELEGATE];\n const voteActions: GamePlayActions[] = [...VOTE_ACTIONS];\n let expectedPlayersToPlay: Player[] = [];\n if (currentPlay === null) {\n throw createNoCurrentGamePlayUnexpectedException(\"getExpectedPlayersToPlay\", { gameId: game._id });\n }\n if (isGameSourceGroup(currentPlay.source.name)) {\n expectedPlayersToPlay = getGroupOfPlayers(game, currentPlay.source.name);\n } else if (isGameSourceRole(currentPlay.source.name)) {\n expectedPlayersToPlay = getPlayersWithCurrentRole(game, currentPlay.source.name);\n } else {\n expectedPlayersToPlay = getPlayersWithActiveAttributeName(game, PlayerAttributeNames.SHERIFF);\n }\n if (!mustIncludeDeadPlayersGamePlayActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => player.isAlive);\n }\n if (voteActions.includes(currentPlay.action)) {\n expectedPlayersToPlay = expectedPlayersToPlay.filter(player => !doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.CANT_VOTE, game));\n }\n return expectedPlayersToPlay.map(player => createPlayer(player));\n }\n}" + }, + "src/modules/game/providers/services/game-play/game-play-maker.service.ts": { + "language": "typescript", + "mutants": [ { - "id": "1753", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(46,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", - "status": "CompileError", + "id": "1736", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:183:56)", + "status": "Killed", + "testsCompleted": 101, "static": true, - "killedBy": [], + "killedBy": [ + "366" + ], "coveredBy": [ "363", "364", @@ -68524,16 +66235,17 @@ "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 83, - "line": 46 + "column": 4, + "line": 47 }, "start": { - "column": 32, - "line": 46 + "column": 170, + "line": 29 } } }, @@ -68571,8 +66283,8 @@ "385", "386", "387", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -68622,8 +66334,8 @@ "385", "386", "387", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -68670,8 +66382,8 @@ "385", "386", "387", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -68721,8 +66433,8 @@ "385", "386", "387", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -69343,134 +67055,6 @@ } } }, - { - "id": "1784", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(102,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 4, - "line": 119 - }, - "start": { - "column": 76, - "line": 102 - } - } - }, - { - "id": "1785", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(107,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 75, - "line": 105 - }, - "start": { - "column": 9, - "line": 105 - } - } - }, - { - "id": "1786", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(107,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 75, - "line": 105 - }, - "start": { - "column": 9, - "line": 105 - } - } - }, - { - "id": "1787", - "mutatorName": "LogicalOperator", - "replacement": "scapegoatPlayer || isPlayerAliveAndPowerful(scapegoatPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(105,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(107,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "398", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 75, - "line": 105 - }, - "start": { - "column": 9, - "line": 105 - } - } - }, { "id": "1788", "mutatorName": "BlockStatement", @@ -69488,84 +67072,16 @@ "location": { "end": { "column": 6, - "line": 108 + "line": 109 }, "start": { "column": 77, - "line": 105 - } - } - }, - { - "id": "1789", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"c57abbf260f66fa9bbdbbfaf\", \"createdAt\": 2023-11-28T22:50:57.341Z, \"currentPlay\": {\"action\": \"choose-card\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"villager\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5738700417794048}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c9062df36e7ceb71db7d1a6f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dejon\", \"position\": 6855218077630464, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1ad3ea29acbd639abc1e3a68\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Daphne\", \"position\": 4612300333907968, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"938d75c7ace1658fd1c24184\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ashton\", \"position\": 304942487175168, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"32db74fd6ae8b23eac3b6fd6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Thurman\", \"position\": 2701590137929728, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 6601275539980288, \"turn\": 2979860070793216, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T21:32:59.344Z}], but was invoked 1 times with {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:502:63)", - "status": "Killed", - "testsCompleted": 10, - "static": false, - "killedBy": [ - "399" - ], - "coveredBy": [ - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 40, - "line": 110 - }, - "start": { - "column": 9, - "line": 110 - } - } - }, - { - "id": "1790", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"7fccae513bdab9cad7be124d\", \"createdAt\": 2023-11-29T10:04:50.614Z, \"currentPlay\": {\"action\": \"sniff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8321544000372736}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"f2ed06aeee3dd88d1820b6a9\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Sabina\", \"position\": 8558943274008576, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e7fbadbcd56cdfdcde76eccb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christina\", \"position\": 2007044947181568, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"cff2c6a9e58cddefbce3dfba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Christiana\", \"position\": 4208973207044096, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fadb816dc6bfca7b3cbfa1aa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Earline\", \"position\": 8922327563632640, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 7850139267891200, \"turn\": 7706444273025024, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T15:03:37.743Z}], but it was called with {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:532:59)", - "status": "Killed", - "testsCompleted": 10, - "static": false, - "killedBy": [ - "401" - ], - "coveredBy": [ - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 40, - "line": 110 - }, - "start": { - "column": 9, - "line": 110 + "line": 106 } } }, { - "id": "1791", + "id": "1793", "mutatorName": "EqualityOperator", "replacement": "sheriffPlayer?.isAlive !== true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"678dfbb40413d4de9ec03edb\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"fa24c83fba8d0e9efaababaf\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"aca9f09ae3e5e1e67c0cd34d\",\n+ \"_id\": \"806eff4aff6a133a1857a017\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Daphney\",\n- \"position\": 905946635173888,\n+ \"name\": \"Oran\",\n+ \"position\": 8989197555728384,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"fa24c83fba8d0e9efaababaf\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"a2deadc4e64431debc00c58f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Jude\",\n- \"position\": 272291262889984,\n+ \"name\": \"Rodrigo\",\n+ \"position\": 2456137270034432,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"aca9f09ae3e5e1e67c0cd34d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Daphney\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"806eff4aff6a133a1857a017\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Oran\",\n- \"position\": 8989197555728384,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"a2deadc4e64431debc00c58f\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Rodrigo\",\n- \"position\": 2456137270034432,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 8351350784000001,\n \"turn\": 4460994677964800,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -69573,7 +67089,7 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "395", @@ -69585,111 +67101,22 @@ "402", "403", "404", - "620" + "405", + "621" ], "location": { "end": { "column": 40, - "line": 110 - }, - "start": { - "column": 9, - "line": 110 - } - } - }, - { - "id": "1792", - "mutatorName": "OptionalChaining", - "replacement": "sheriffPlayer.isAlive", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(110,9): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 31, - "line": 110 + "line": 111 }, "start": { "column": 9, - "line": 110 - } - } - }, - { - "id": "1793", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"4d7567debdeabaabadaededd\", \"createdAt\": 2023-11-29T04:28:51.867Z, \"currentPlay\": {\"action\": \"charm\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"vile-father-of-wolves\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8078338914516992}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"fc309cfef4008ddcbafb9fdc\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": false, \"name\": \"Frederic\", \"position\": 1535317173600256, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e76f5a75182eb18f1c3b293b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Deondre\", \"position\": 1387659232542720, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c98629cfc3fab86183b890f2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Juana\", \"position\": 77797152260096, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"219b0cabeccd1f0a0fea41e6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Karl\", \"position\": 5306924998328320, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 7710236081127424, \"turn\": 8536928219561984, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T12:42:34.899Z}], but was invoked 1 times with {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:517:63)", - "status": "Killed", - "testsCompleted": 10, - "static": false, - "killedBy": [ - "400" - ], - "coveredBy": [ - "395", - "396", - "397", - "399", - "400", - "401", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 40, - "line": 110 - }, - "start": { - "column": 36, - "line": 110 - } - } - }, - { - "id": "1794", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"fdacba2474d20afa5398cf10\", \"createdAt\": 2023-11-29T08:30:32.507Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"pied-piper\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 2818251352440832}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"aae32bbeed1e4a4a24b85abb\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Mavis\", \"position\": 1102511280750592, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bbbbb82cb2a9bbb4cd96e5e0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Toby\", \"position\": 7530287273607168, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e4cce7f6ba0f2b4c69edde4d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maribel\", \"position\": 2870837835202560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6be8aa43ecedd7f44e5ca89b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ulices\", \"position\": 1119625657974784, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 5595421365764096, \"turn\": 183972690657280, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T18:39:33.862Z}], but it was called with {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:532:59)", - "status": "Killed", - "testsCompleted": 1, - "static": false, - "killedBy": [ - "401" - ], - "coveredBy": [ - "401" - ], - "location": { - "end": { - "column": 6, - "line": 113 - }, - "start": { - "column": 42, - "line": 110 + "line": 111 } } }, { - "id": "1795", + "id": "1797", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, {\"_id\": \"b53ec520fdf92c451633dcae\", \"createdAt\": 2023-11-29T07:06:47.323Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7372122248708096}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"eaaa4edee55ab3ef7c4e8a7c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nedra\", \"position\": 5006258687967232, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9d692c8c56638badcf4faecc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kiana\", \"position\": 6604752796254208, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"decca0aea0f9fb5c8e3e7162\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maude\", \"position\": 6852540641574912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a1b30ae4de1ea47ef94e8ec9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ocie\", \"position\": 7990609551818752, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 722531178774528, \"turn\": 7140101345771520, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T22:45:07.531Z}], but was invoked 1 times with {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:578:63)", @@ -69697,7 +67124,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "404" + "405" ], "coveredBy": [ "395", @@ -69705,24 +67132,25 @@ "397", "399", "400", - "402", + "401", "403", "404", - "620" + "405", + "621" ], "location": { "end": { "column": 84, - "line": 114 + "line": 115 }, "start": { "column": 9, - "line": 114 + "line": 115 } } }, { - "id": "1796", + "id": "1798", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"fde90bc2b474f0ffa13e2adf\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"f5f079250baa8a003bc5ec1d\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"5bcb641afa09da2c804c2dd6\",\n+ \"_id\": \"d8fecfb09f7998ef6ee9c4b3\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Emmanuelle\",\n- \"position\": 8239878751911936,\n+ \"name\": \"Neil\",\n+ \"position\": 3234663388676096,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"f5f079250baa8a003bc5ec1d\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"84ed76bfcdae10b6cfcdbbaf\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Clemmie\",\n- \"position\": 5263812676550656,\n+ \"name\": \"Laura\",\n+ \"position\": 2048265373614080,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"5bcb641afa09da2c804c2dd6\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Emmanuelle\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"d8fecfb09f7998ef6ee9c4b3\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Neil\",\n- \"position\": 3234663388676096,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"84ed76bfcdae10b6cfcdbbaf\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Laura\",\n- \"position\": 2048265373614080,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 2780388520886273,\n \"turn\": 1751986038898688,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -69730,7 +67158,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "395", @@ -69738,53 +67166,25 @@ "397", "399", "400", - "402", - "403", - "404", - "620" - ], - "location": { - "end": { - "column": 84, - "line": 114 - }, - "start": { - "column": 9, - "line": 114 - } - } - }, - { - "id": "1797", - "mutatorName": "EqualityOperator", - "replacement": "clonedGame.currentPlay.cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "395", - "396", - "397", - "399", - "400", - "402", + "401", "403", "404", - "620" + "405", + "621" ], "location": { "end": { "column": 84, - "line": 114 + "line": 115 }, "start": { "column": 9, - "line": 114 + "line": 115 } } }, { - "id": "1798", + "id": "1800", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"fe7c6b982feb85f1deecc12b\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"ad231f9b72862a50844bb3ca\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"3586eb1d6ef1da4ece47ae38\",\n+ \"_id\": \"d45e61a16519c8cea1349a74\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Sheila\",\n- \"position\": 1871721896345600,\n+ \"name\": \"Myrna\",\n+ \"position\": 4179429437734912,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"ad231f9b72862a50844bb3ca\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"cebfc99c9bf558e2eebac7a9\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Elliott\",\n- \"position\": 1250832332881920,\n+ \"name\": \"Boyd\",\n+ \"position\": 4034483640598528,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"3586eb1d6ef1da4ece47ae38\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Sheila\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"d45e61a16519c8cea1349a74\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Myrna\",\n- \"position\": 4179429437734912,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"cebfc99c9bf558e2eebac7a9\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Boyd\",\n- \"position\": 4034483640598528,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -280,17 +255,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 6125669245255681,\n \"turn\": 3209536160661504,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1100:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -69792,7 +67192,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "395", @@ -69800,23 +67200,24 @@ "397", "399", "400", - "402", + "401", "403", - "620" + "404", + "621" ], "location": { "end": { "column": 6, - "line": 117 + "line": 118 }, "start": { "column": 86, - "line": 114 + "line": 115 } } }, { - "id": "1799", + "id": "1801", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 49\n\n@@ -2,11 +2,10 @@\n \"_id\": \"ed50a1b8aefadf8dbda6dfb5\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n \"max\": 4,\n \"min\": 1,\n },\n@@ -56,14 +55,62 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n },\n ],\n+ \"player\": Object {\n+ \"_id\": \"27b67652431dcd76a75a52cc\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Eino\",\n+ \"position\": 6261324208144384,\n+ \"role\": Object {\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n },\n- \"occurrence\": \"consequential\",\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"3ad6bc9fa28dbccff092aaff\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Richmond\",\n+ \"position\": 2761039636594688,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ },\n+ ],\n+ },\n+ \"occurrence\": \"on-days\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n \"_id\": \"79bfb142f2c7c136ddc832ef\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -69824,7 +67225,7 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "395", @@ -69832,23 +67233,24 @@ "397", "399", "400", - "402", + "401", "403", - "620" + "404", + "621" ], "location": { "end": { "column": 118, - "line": 115 + "line": 116 }, "start": { "column": 65, - "line": 115 + "line": 116 } } }, { - "id": "1800", + "id": "1802", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(121,129): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -69856,26 +67258,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 4, - "line": 136 + "line": 137 }, "start": { "column": 143, - "line": 121 + "line": 122 } } }, { - "id": "1801", + "id": "1803", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -164,9 +164,21 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 8774729619996672,\n \"turn\": 2395929736904704,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T17:48:19.923Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:599:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69883,29 +67285,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "405" + "406" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 45, - "line": 124 + "line": 125 }, "start": { "column": 9, - "line": 124 + "line": 125 } } }, { - "id": "1802", + "id": "1804", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"ac4f4b37abab5171486fc66b\", \"createdAt\": 2023-11-29T02:33:09.486Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"villagers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2163966484676608}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"6bde7effb2f5ea2bdedadacf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stella\", \"position\": 5138284078432256, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1bcb189c0ab103f57ca63140\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rico\", \"position\": 1022434218082304, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"eaafdcfe9cbd1f7faeedf9bf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jalon\", \"position\": 3659186967674880, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b57dc911abf1554c84dc3bfd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Everette\", \"position\": 7661208400297984, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 260331949522944, \"turn\": 5822625030864896, \"upcomingPlays\": [{\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"stuttering-judge-request\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}], \"updatedAt\": 2023-11-29T01:39:10.764Z}], but it was called with {\"_id\": \"ac4f4b37abab5171486fc66b\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T02:33:09.486Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"villagers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2163966484676608}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"6bde7effb2f5ea2bdedadacf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Stella\", \"position\": 5138284078432256, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1bcb189c0ab103f57ca63140\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rico\", \"position\": 1022434218082304, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"eaafdcfe9cbd1f7faeedf9bf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jalon\", \"position\": 3659186967674880, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b57dc911abf1554c84dc3bfd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Everette\", \"position\": 7661208400297984, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 260331949522944, \"turn\": 5822625030864896, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T01:39:10.764Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:663:59)", @@ -69913,29 +67315,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "408" + "409" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 45, - "line": 124 + "line": 125 }, "start": { "column": 9, - "line": 124 + "line": 125 } } }, { - "id": "1803", + "id": "1805", "mutatorName": "EqualityOperator", "replacement": "doesJudgeRequestAnotherVote !== true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -164,9 +164,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 6547625432055808,\n \"turn\": 7116644121837568,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T00:44:05.752Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:599:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69943,29 +67345,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "405" + "406" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 45, - "line": 124 + "line": 125 }, "start": { "column": 9, - "line": 124 + "line": 125 } } }, { - "id": "1804", + "id": "1806", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -164,9 +164,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 4034447389229056,\n \"turn\": 869773588037632,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T04:18:12.362Z,\n \"victory\": undefined,\n }\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:619:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -69973,29 +67375,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "406" + "407" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 45, - "line": 124 + "line": 125 }, "start": { "column": 41, - "line": 124 + "line": 125 } } }, { - "id": "1805", + "id": "1807", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"dbd1c4e73cbb48aa6a040110\", \"createdAt\": 2023-11-29T05:55:26.018Z, \"currentPlay\": {\"action\": \"ban-voting\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"defender\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8833358018641920}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"98bd8e6eae11ddd35bab055e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lenore\", \"position\": 2847788811419648, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d0dcd2d74b02fe2f9e6ba28a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sibyl\", \"position\": 352637998333952, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b0adce26f9f2d6c5931173bf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 2608970080452608, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"83eadad9ed7bd7cc4eb48ad1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Santos\", \"position\": 8952887881236480, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 2234982288326656, \"turn\": 6847873299775488, \"upcomingPlays\": [{\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"stuttering-judge-request\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}], \"updatedAt\": 2023-11-29T13:29:24.666Z}], but it was called with {\"_id\": \"dbd1c4e73cbb48aa6a040110\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T05:55:26.018Z, \"currentPlay\": {\"action\": \"ban-voting\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"defender\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8833358018641920}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"98bd8e6eae11ddd35bab055e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lenore\", \"position\": 2847788811419648, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d0dcd2d74b02fe2f9e6ba28a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sibyl\", \"position\": 352637998333952, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b0adce26f9f2d6c5931173bf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shane\", \"position\": 2608970080452608, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"83eadad9ed7bd7cc4eb48ad1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Santos\", \"position\": 8952887881236480, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 2234982288326656, \"turn\": 6847873299775488, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T13:29:24.666Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:663:59)", @@ -70003,24 +67405,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "408" + "409" ], "coveredBy": [ - "408" + "409" ], "location": { "end": { "column": 6, - "line": 127 + "line": 128 }, "start": { "column": 47, - "line": 124 + "line": 125 } } }, { - "id": "1806", + "id": "1808", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"eeee4efab3d804ab34c8581a\", \"createdAt\": 2023-11-29T06:14:48.219Z, \"currentPlay\": {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"two-sisters\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7603585384710144}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"e56b343bda26e0293c419f78\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Frankie\", \"position\": 2069679233302528, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c5a9bae7d37e1eaa925feead\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aurelio\", \"position\": 1193114224033792, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ebfc2b8c1c08aabb6e66dcbb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Easton\", \"position\": 4395172565614592, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1ba87e33e48db6defb2a8f83\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Etha\", \"position\": 8709556521664512, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8582852633427968, \"turn\": 1907083951734784, \"upcomingPlays\": [{\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"stuttering-judge-request\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}], \"updatedAt\": 2023-11-29T18:44:21.859Z}], but it was called with {\"_id\": \"eeee4efab3d804ab34c8581a\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T06:14:48.219Z, \"currentPlay\": {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"two-sisters\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7603585384710144}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"e56b343bda26e0293c419f78\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Frankie\", \"position\": 2069679233302528, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c5a9bae7d37e1eaa925feead\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aurelio\", \"position\": 1193114224033792, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ebfc2b8c1c08aabb6e66dcbb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Easton\", \"position\": 4395172565614592, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"1ba87e33e48db6defb2a8f83\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Etha\", \"position\": 8709556521664512, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 8582852633427968, \"turn\": 1907083951734784, \"upcomingPlays\": [{\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}], \"updatedAt\": 2023-11-29T18:44:21.859Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:663:59)", @@ -70028,24 +67430,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "408" + "409" ], "coveredBy": [ - "408" + "409" ], "location": { "end": { "column": 115, - "line": 125 + "line": 126 }, "start": { "column": 65, - "line": 125 + "line": 126 } } }, { - "id": "1807", + "id": "1809", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"2ad1d9c0bfd5bffa949b064c\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T20:56:38.735Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"villager-villager\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 91624013037568}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"affc4ee8e53755b082b1b65a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cedrick\", \"position\": 6252830327308288, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"44e30ef75f1dea0d38ec12ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Francesca\", \"position\": 5191842947661824, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c5e087e440c74ef308b4d4f5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reanna\", \"position\": 4625867074437120, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c7c13eedf0a9cbb2df7dafe4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Kayleigh\", \"position\": 8550840757387264, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 7432125523427328, \"turn\": 6061524625915904, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T02:00:07.448Z, \"victory\": undefined}\nReceived: undefined\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:599:82)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70053,29 +67455,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "405" + "406" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 36, - "line": 128 + "line": 129 }, "start": { "column": 9, - "line": 128 + "line": 129 } } }, { - "id": "1808", + "id": "1810", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"d8eceec5467b181dbdb582c3\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"af498bc86dfed22aa9cdad2c\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"1eeeab1d8a9755e41e87295c\",\n+ \"_id\": \"ae5c7c060f7ab5f7cc3df776\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Mona\",\n- \"position\": 3102039768825856,\n+ \"name\": \"Alysa\",\n+ \"position\": 2864676476026880,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"af498bc86dfed22aa9cdad2c\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"0bb32f0b3abefbd0fd4b8e7a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Furman\",\n- \"position\": 289846406938624,\n+ \"name\": \"General\",\n+ \"position\": 3639634571558912,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"1eeeab1d8a9755e41e87295c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mona\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"ae5c7c060f7ab5f7cc3df776\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Alysa\",\n- \"position\": 2864676476026880,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"0bb32f0b3abefbd0fd4b8e7a\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"General\",\n- \"position\": 3639634571558912,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 6898108539600897,\n \"turn\": 7492997847449600,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -70083,29 +67485,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 36, - "line": 128 + "line": 129 }, "start": { "column": 9, - "line": 128 + "line": 129 } } }, { - "id": "1809", + "id": "1811", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length >= 1", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:684:60)", @@ -70113,29 +67515,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "409" + "410" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 36, - "line": 128 + "line": 129 }, "start": { "column": 9, - "line": 128 + "line": 129 } } }, { - "id": "1810", + "id": "1812", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length <= 1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"edc99b6af9ff51bfa5ace8ae\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"d023681ee637eb28498c3df1\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"fc9d29221c2e31d3c839cf5d\",\n+ \"_id\": \"4b9aee514d1d57fdffc8b2ad\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Soledad\",\n- \"position\": 6465626709164032,\n+ \"name\": \"Tatum\",\n+ \"position\": 1874180450549760,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"d023681ee637eb28498c3df1\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"1ed59cb5ebeabbee094fab66\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Gaston\",\n- \"position\": 1041713067982848,\n+ \"name\": \"Adelia\",\n+ \"position\": 2570846470144000,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"fc9d29221c2e31d3c839cf5d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Soledad\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"4b9aee514d1d57fdffc8b2ad\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Tatum\",\n- \"position\": 1874180450549760,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"1ed59cb5ebeabbee094fab66\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Adelia\",\n- \"position\": 2570846470144000,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -280,17 +255,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 995709002186753,\n \"turn\": 8932436773699584,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1100:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -70143,29 +67545,29 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "405", "406", "407", "408", "409", - "620" + "410", + "621" ], "location": { "end": { "column": 36, - "line": 128 + "line": 129 }, "start": { "column": 9, - "line": 128 + "line": 129 } } }, { - "id": "1811", + "id": "1813", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"5ebebda0dbca5ec8b8a38aa0\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"1ca7aca7c81c2ec98b1e9c35\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"98a8b2e8e8fb6bddc9e4f8ea\",\n+ \"_id\": \"df7727d6ecb5affcb8ab8ef6\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Angelica\",\n- \"position\": 441644216221696,\n+ \"name\": \"Marty\",\n+ \"position\": 2577514325082112,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"1ca7aca7c81c2ec98b1e9c35\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"18c5e9ad76a0b7e56c4feed3\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Andrew\",\n- \"position\": 4131334247153664,\n+ \"name\": \"Cordell\",\n+ \"position\": 2658820683726848,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"98a8b2e8e8fb6bddc9e4f8ea\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Angelica\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"df7727d6ecb5affcb8ab8ef6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Marty\",\n- \"position\": 2577514325082112,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"18c5e9ad76a0b7e56c4feed3\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Cordell\",\n- \"position\": 2658820683726848,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1870350939848705,\n \"turn\": 4327948528123904,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -70173,26 +67575,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "407", "408", - "620" + "409", + "621" ], "location": { "end": { "column": 6, - "line": 130 + "line": 131 }, "start": { "column": 38, - "line": 128 + "line": 129 } } }, { - "id": "1812", + "id": "1814", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [TypeError: Cannot read properties of undefined (reading '_id')]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:599:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70200,26 +67602,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "405" + "406" ], "coveredBy": [ - "405", "406", - "409" + "407", + "410" ], "location": { "end": { "column": 38, - "line": 131 + "line": 132 }, "start": { "column": 9, - "line": 131 + "line": 132 } } }, { - "id": "1813", + "id": "1815", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:684:60)", @@ -70227,26 +67629,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "409" + "410" ], "coveredBy": [ - "405", "406", - "409" + "407", + "410" ], "location": { "end": { "column": 38, - "line": 131 + "line": 132 }, "start": { "column": 9, - "line": 131 + "line": 132 } } }, { - "id": "1814", + "id": "1816", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length !== 1", "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [TypeError: Cannot read properties of undefined (reading '_id')]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:599:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70254,26 +67656,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "405" + "406" ], "coveredBy": [ - "405", "406", - "409" + "407", + "410" ], "location": { "end": { "column": 38, - "line": 131 + "line": 132 }, "start": { "column": 9, - "line": 131 + "line": 132 } } }, { - "id": "1815", + "id": "1817", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:684:60)", @@ -70281,24 +67683,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "409" + "410" ], "coveredBy": [ - "409" + "410" ], "location": { "end": { "column": 6, - "line": 134 + "line": 135 }, "start": { "column": 40, - "line": 131 + "line": 132 } } }, { - "id": "1816", + "id": "1818", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(138,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70306,23 +67708,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "410", "411", - "412" + "412", + "413" ], "location": { "end": { "column": 4, - "line": 150 + "line": 151 }, "start": { "column": 99, - "line": 138 + "line": 139 } } }, { - "id": "1817", + "id": "1819", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(147,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", @@ -70330,23 +67732,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "410", "411", - "412" + "412", + "413" ], "location": { "end": { "column": 84, - "line": 140 + "line": 141 }, "start": { "column": 9, - "line": 140 + "line": 141 } } }, { - "id": "1818", + "id": "1820", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:703:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70354,26 +67756,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "410" + "411" ], "coveredBy": [ - "410", "411", - "412" + "412", + "413" ], "location": { "end": { "column": 84, - "line": 140 + "line": 141 }, "start": { "column": 9, - "line": 140 + "line": 141 } } }, { - "id": "1819", + "id": "1821", "mutatorName": "EqualityOperator", "replacement": "clonedGame.currentPlay.cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:703:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70381,26 +67783,26 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "410" + "411" ], "coveredBy": [ - "410", "411", - "412" + "412", + "413" ], "location": { "end": { "column": 84, - "line": 140 + "line": 141 }, "start": { "column": 9, - "line": 140 + "line": 141 } } }, { - "id": "1820", + "id": "1822", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:703:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70408,24 +67810,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "410" + "411" ], "coveredBy": [ - "410" + "411" ], "location": { "end": { "column": 6, - "line": 143 + "line": 144 }, "start": { "column": 86, - "line": 140 + "line": 141 } } }, { - "id": "1821", + "id": "1823", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, {\"_id\": \"fdeadfded8f2aed25943783a\", \"createdAt\": 2023-11-29T16:21:16.382Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": \"stuttering-judge-request\", \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3029540622303232}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"6b33fcedaca5c378e98ed860\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nicola\", \"position\": 6326662836781056, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c8a3fb3dedaf1532a99b619f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gail\", \"position\": 5482384925392896, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"816007e79fd67c6badaf7fd2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Chaz\", \"position\": 3053458661834752, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a9bffdae39d31bb4cad750b0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Curt\", \"position\": 6558751836340224, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 2568345933053952, \"turn\": 6716806322454528, \"upcomingPlays\": [{\"action\": \"shoot\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"hunter\", \"players\": undefined}}], \"updatedAt\": 2023-11-29T06:56:49.753Z}], but it was called with {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:703:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70433,24 +67835,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "410" + "411" ], "coveredBy": [ - "410" + "411" ], "location": { "end": { "column": 134, - "line": 141 + "line": 142 }, "start": { "column": 81, - "line": 141 + "line": 142 } } }, { - "id": "1822", + "id": "1824", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(147,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", @@ -70458,22 +67860,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "411", - "412" + "412", + "413" ], "location": { "end": { "column": 30, - "line": 145 + "line": 146 }, "start": { "column": 9, - "line": 145 + "line": 146 } } }, { - "id": "1823", + "id": "1825", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(147,39): error TS18048: 'randomNominatedPlayer' is possibly 'undefined'.\n", @@ -70481,22 +67883,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "411", - "412" + "412", + "413" ], "location": { "end": { "column": 30, - "line": 145 + "line": 146 }, "start": { "column": 9, - "line": 145 + "line": 146 } } }, { - "id": "1824", + "id": "1826", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"b770e06b8afdf3fd4a2d8a9c\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Henriette\",\n \"position\": 2947354571309056,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:731:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70504,24 +67906,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "411" + "412" ], "coveredBy": [ - "411" + "412" ], "location": { "end": { "column": 6, - "line": 148 + "line": 149 }, "start": { "column": 32, - "line": 145 + "line": 146 } } }, { - "id": "1825", + "id": "1827", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(152,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70529,24 +67931,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "413", "414", "415", - "416" + "416", + "417" ], "location": { "end": { "column": 4, - "line": 164 + "line": 165 }, "start": { "column": 102, - "line": 152 + "line": 153 } } }, { - "id": "1826", + "id": "1828", "mutatorName": "BooleanLiteral", "replacement": "nominatedPlayers.length", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"7fd0bd099f31dcfa91042c77\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T10:25:56.823Z, \"currentPlay\": {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"lovers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2306769634197504}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"9cfd0fc2be8eeca74c6a068e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Noemie\", \"position\": 3671191669702656, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"9eaebae6d8c2eb63e15c7fd6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marina\", \"position\": 6221315740532736, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"dbf989b50fdce2d540a49e79\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dusty\", \"position\": 2048765563240448, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"41a843747aa8f4eecdddfbf8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Loren\", \"position\": 2661532909436928, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 6997650201116672, \"turn\": 5599052058066944, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T05:38:03.208Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:769:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70554,27 +67956,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "413" + "414" ], "coveredBy": [ - "413", "414", "415", - "416" + "416", + "417" ], "location": { "end": { "column": 33, - "line": 156 + "line": 157 }, "start": { "column": 9, - "line": 156 + "line": 157 } } }, { - "id": "1827", + "id": "1829", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:808:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70582,27 +67984,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "415" + "416" ], "coveredBy": [ - "413", "414", "415", - "416" + "416", + "417" ], "location": { "end": { "column": 33, - "line": 156 + "line": 157 }, "start": { "column": 9, - "line": 156 + "line": 157 } } }, { - "id": "1828", + "id": "1830", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"d22d615ba14defedeb4fac2f\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T15:33:11.107Z, \"currentPlay\": {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"pied-piper\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 53108226916352}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"acd5fceccf67b25cacf03b73\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Roy\", \"position\": 1186689798111232, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c7d0fe81f6a40704cb6cf36c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Savion\", \"position\": 6837501035544576, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fbbfae372c74bfb2a9559b7e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Candelario\", \"position\": 1147605950136320, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"247ca0a4f5f5ef5bdb46dd0f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lauretta\", \"position\": 2346979929620480, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 1161898644996096, \"turn\": 5796230296764416, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T20:48:09.695Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:769:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70610,27 +68012,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "413" + "414" ], "coveredBy": [ - "413", "414", "415", - "416" + "416", + "417" ], "location": { "end": { "column": 33, - "line": 156 + "line": 157 }, "start": { "column": 9, - "line": 156 + "line": 157 } } }, { - "id": "1829", + "id": "1831", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"76e26ce0b60c9b2cd9bec186\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T21:05:45.671Z, \"currentPlay\": {\"action\": \"choose-side\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"vile-father-of-wolves\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 397599104303104}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"6ddee35d4d4e8e9eacc16c5b\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Albina\", \"position\": 7296453420515328, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"37ad7f9e6cd2e613dbcab5a7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Raphael\", \"position\": 1245412251926528, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"af9c5c511233d61cdd00f125\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Aaron\", \"position\": 8808191290769408, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dbded3a1ce0f1ab6a29e4c57\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Zola\", \"position\": 6204403524567040, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 5753865817292800, \"turn\": 7612621628899328, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T22:56:48.789Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:769:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70638,25 +68040,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "413" + "414" ], "coveredBy": [ - "413", - "414" + "414", + "415" ], "location": { "end": { "column": 6, - "line": 158 + "line": 159 }, "start": { "column": 35, - "line": 156 + "line": 157 } } }, { - "id": "1830", + "id": "1832", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"3ad9e6d02cf9fcf7ec1b491e\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T10:46:53.200Z, \"currentPlay\": {\"action\": \"delegate\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"lovers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8784382009540608}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"9cd0273c58faa7aae3c976cf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Wade\", \"position\": 7541328290250752, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"1a39ebf7fcabdddce6db8fc8\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Otto\", \"position\": 5527799341252608, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"3dfd9188c3add3eafcfdd12f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Sedrick\", \"position\": 6117828335763456, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"780ed2df3bfbd0f49252e0ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Dena\", \"position\": 3242121299492864, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 1366380720947200, \"turn\": 2878857378004992, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T08:35:03.451Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:835:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70664,25 +68066,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "416" + "417" ], "coveredBy": [ - "415", - "416" + "416", + "417" ], "location": { "end": { "column": 38, - "line": 159 + "line": 160 }, "start": { "column": 9, - "line": 159 + "line": 160 } } }, { - "id": "1831", + "id": "1833", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:808:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70690,25 +68092,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "415" + "416" ], "coveredBy": [ - "415", - "416" + "416", + "417" ], "location": { "end": { "column": 38, - "line": 159 + "line": 160 }, "start": { "column": 9, - "line": 159 + "line": 160 } } }, { - "id": "1832", + "id": "1834", "mutatorName": "EqualityOperator", "replacement": "nominatedPlayers.length === 1", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:808:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70716,25 +68118,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "415" + "416" ], "coveredBy": [ - "415", - "416" + "416", + "417" ], "location": { "end": { "column": 38, - "line": 159 + "line": 160 }, "start": { "column": 9, - "line": 159 + "line": 160 } } }, { - "id": "1833", + "id": "1835", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:808:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -70742,24 +68144,24 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "415" + "416" ], "coveredBy": [ - "415" + "416" ], "location": { "end": { "column": 6, - "line": 161 + "line": 162 }, "start": { "column": 40, - "line": 159 + "line": 160 } } }, { - "id": "1834", + "id": "1836", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(166,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70767,24 +68169,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 4, - "line": 177 + "line": 178 }, "start": { "column": 109, - "line": 166 + "line": 167 } } }, { - "id": "1835", + "id": "1837", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:858:64)", @@ -70792,27 +68194,27 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "418" + "419" ], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 6, - "line": 171 + "line": 172 }, "start": { "column": 96, - "line": 168 + "line": 169 } } }, { - "id": "1836", + "id": "1838", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(169,40): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -70820,24 +68222,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 90, - "line": 169 + "line": 170 }, "start": { "column": 40, - "line": 169 + "line": 170 } } }, { - "id": "1837", + "id": "1839", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(170,31): error TS2322: Type '() => undefined' is not assignable to type '() => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", @@ -70845,24 +68247,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 78, - "line": 170 + "line": 171 }, "start": { "column": 31, - "line": 170 + "line": 171 } } }, { - "id": "1838", + "id": "1840", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(176,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -70870,24 +68272,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 42, - "line": 173 + "line": 174 }, "start": { "column": 9, - "line": 173 + "line": 174 } } }, { - "id": "1839", + "id": "1841", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(176,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -70895,24 +68297,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 42, - "line": 173 + "line": 174 }, "start": { "column": 9, - "line": 173 + "line": 174 } } }, { - "id": "1840", + "id": "1842", "mutatorName": "EqualityOperator", "replacement": "survivorsPlayMethod !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(176,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -70920,24 +68322,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "417", "418", "419", - "620" + "420", + "621" ], "location": { "end": { "column": 42, - "line": 173 + "line": 174 }, "start": { "column": 9, - "line": 173 + "line": 174 } } }, { - "id": "1841", + "id": "1843", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(174,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -70945,21 +68347,21 @@ "static": false, "killedBy": [], "coveredBy": [ - "417" + "418" ], "location": { "end": { "column": 6, - "line": 175 + "line": 176 }, "start": { "column": 44, - "line": 173 + "line": 174 } } }, { - "id": "1842", + "id": "1844", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(179,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -70967,24 +68369,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 4, - "line": 193 + "line": 194 }, "start": { "column": 107, - "line": 179 + "line": 180 } } }, { - "id": "1843", + "id": "1845", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(185,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(189,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(189,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(192,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -70992,24 +68394,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 36, - "line": 182 + "line": 183 }, "start": { "column": 9, - "line": 182 + "line": 183 } } }, { - "id": "1844", + "id": "1846", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(185,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(189,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(192,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -71017,24 +68419,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 36, - "line": 182 + "line": 183 }, "start": { "column": 9, - "line": 182 + "line": 183 } } }, { - "id": "1845", + "id": "1847", "mutatorName": "LogicalOperator", "replacement": "!thiefPlayer && !chosenCard", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(185,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(189,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(192,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -71042,24 +68444,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 36, - "line": 182 + "line": 183 }, "start": { "column": 9, - "line": 182 + "line": 183 } } }, { - "id": "1846", + "id": "1848", "mutatorName": "BooleanLiteral", "replacement": "thiefPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(192,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -71067,24 +68469,24 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 21, - "line": 182 + "line": 183 }, "start": { "column": 9, - "line": 182 + "line": 183 } } }, { - "id": "1847", + "id": "1849", "mutatorName": "BooleanLiteral", "replacement": "chosenCard", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(185,57): error TS18048: 'chosenCard' is possibly 'undefined'.\n", @@ -71092,23 +68494,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "421", "422", - "423" + "423", + "424" ], "location": { "end": { "column": 36, - "line": 182 + "line": 183 }, "start": { "column": 25, - "line": 182 + "line": 183 } } }, { - "id": "1848", + "id": "1850", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(183,57): error TS18048: 'chosenCard' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(187,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(188,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -71116,22 +68518,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "420", - "421" + "421", + "422" ], "location": { "end": { "column": 6, - "line": 184 + "line": 185 }, "start": { "column": 38, - "line": 182 + "line": 183 } } }, { - "id": "1849", + "id": "1851", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lavada\",\n \"position\": 4338614154559488,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"thief\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"ab8a5dbbaf7f7b507fd29fcd\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:961:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71139,25 +68541,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "423" + "424" ], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 76, - "line": 185 + "line": 186 }, "start": { "column": 35, - "line": 185 + "line": 186 } } }, { - "id": "1850", + "id": "1852", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gillian\",\n \"position\": 8224904184856576,\n \"role\": PlayerRole {\n- \"current\": \"thief\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"25cc5be7f29e0e753b1e4ade\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:928:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71165,25 +68567,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "422" + "423" ], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 76, - "line": 185 + "line": 186 }, "start": { "column": 43, - "line": 185 + "line": 186 } } }, { - "id": "1851", + "id": "1853", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Beryl\",\n \"position\": 3755397435359232,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"thief\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"96bbb6145302fdd28d9fd9bf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:961:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71191,25 +68593,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "423" + "424" ], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 76, - "line": 185 + "line": 186 }, "start": { "column": 43, - "line": 185 + "line": 186 } } }, { - "id": "1852", + "id": "1854", "mutatorName": "EqualityOperator", "replacement": "role.name !== chosenCard.roleName", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Herminio\",\n \"position\": 7013329040048128,\n \"role\": PlayerRole {\n- \"current\": \"thief\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d655983ee82e92fcb1d2cebc\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:928:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -71217,25 +68619,25 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "422" + "423" ], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 76, - "line": 185 + "line": 186 }, "start": { "column": 43, - "line": 185 + "line": 186 } } }, { - "id": "1853", + "id": "1855", "mutatorName": "BooleanLiteral", "replacement": "chosenRole", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", @@ -71243,22 +68645,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 20, - "line": 186 + "line": 187 }, "start": { "column": 9, - "line": 186 + "line": 187 } } }, { - "id": "1854", + "id": "1856", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(189,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,43): error TS18048: 'thiefPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(192,31): error TS18048: 'thiefPlayer' is possibly 'undefined'.\n", @@ -71266,2879 +68668,5106 @@ "static": false, "killedBy": [], "coveredBy": [ - "422", - "423" + "423", + "424" ], "location": { "end": { "column": 20, - "line": 186 + "line": 187 }, "start": { "column": 9, - "line": 186 + "line": 187 + } + } + }, + { + "id": "1857", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "423", + "424" + ], + "location": { + "end": { + "column": 20, + "line": 187 + }, + "start": { + "column": 9, + "line": 187 + } + } + }, + { + "id": "1858", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(187,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(188,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "423" + ], + "location": { + "end": { + "column": 6, + "line": 189 + }, + "start": { + "column": 22, + "line": 187 + } + } + }, + { + "id": "1859", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "424" + ], + "location": { + "end": { + "column": 87, + "line": 190 + }, + "start": { + "column": 38, + "line": 190 + } + } + }, + { + "id": "1860", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(190,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerRole': original, current, isRevealed\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "424" + ], + "location": { + "end": { + "column": 87, + "line": 191 + }, + "start": { + "column": 38, + "line": 191 + } + } + }, + { + "id": "1861", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Joel\",\n \"position\": 7787824797450240,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"thief\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"f4eb04953f23219d48dde91b\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:961:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "424" + ], + "coveredBy": [ + "424" + ], + "location": { + "end": { + "column": 91, + "line": 192 + }, + "start": { + "column": 49, + "line": 192 + } + } + }, + { + "id": "1862", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(195,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "425", + "426" + ], + "location": { + "end": { + "column": 4, + "line": 203 + }, + "start": { + "column": 107, + "line": 196 + } + } + }, + { + "id": "1863", + "mutatorName": "BooleanLiteral", + "replacement": "targets", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "425", + "426" + ], + "location": { + "end": { + "column": 17, + "line": 198 + }, + "start": { + "column": 9, + "line": 198 + } + } + }, + { + "id": "1864", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "425", + "426" + ], + "location": { + "end": { + "column": 17, + "line": 198 + }, + "start": { + "column": 9, + "line": 198 + } + } + }, + { + "id": "1865", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "425", + "426" + ], + "location": { + "end": { + "column": 17, + "line": 198 + }, + "start": { + "column": 9, + "line": 198 + } + } + }, + { + "id": "1866", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(199,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "425" + ], + "location": { + "end": { + "column": 6, + "line": 200 + }, + "start": { + "column": 19, + "line": 198 + } + } + }, + { + "id": "1867", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "426" + ], + "location": { + "end": { + "column": 76, + "line": 202 + }, + "start": { + "column": 50, + "line": 202 + } + } + }, + { + "id": "1868", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(204,106): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "427", + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 4, + "line": 214 + }, + "start": { + "column": 111, + "line": 205 + } + } + }, + { + "id": "1869", + "mutatorName": "BooleanLiteral", + "replacement": "wolfHoundPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "427", + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 25, + "line": 208 + }, + "start": { + "column": 9, + "line": 208 + } + } + }, + { + "id": "1870", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "427", + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 25, + "line": 208 + }, + "start": { + "column": 9, + "line": 208 + } + } + }, + { + "id": "1871", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "427", + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 25, + "line": 208 + }, + "start": { + "column": 9, + "line": 208 + } + } + }, + { + "id": "1872", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(209,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(210,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "427" + ], + "location": { + "end": { + "column": 6, + "line": 210 + }, + "start": { + "column": 27, + "line": 208 + } + } + }, + { + "id": "1873", + "mutatorName": "LogicalOperator", + "replacement": "chosenSide && sample([RoleSides.VILLAGERS, RoleSides.WEREWOLVES])", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,84): error TS2322: Type 'RoleSides | undefined' is not assignable to type 'RoleSides'.\n Type 'undefined' is not assignable to type 'RoleSides'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 92, + "line": 211 + }, + "start": { + "column": 27, + "line": 211 + } + } + }, + { + "id": "1874", + "mutatorName": "ArrayDeclaration", + "replacement": "[]", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,84): error TS2322: Type 'RoleSides | undefined' is not assignable to type 'RoleSides'.\n Type 'undefined' is not assignable to type 'RoleSides'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "428", + "429" + ], + "location": { + "end": { + "column": 91, + "line": 211 + }, + "start": { + "column": 48, + "line": 211 + } + } + }, + { + "id": "1875", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -122,11 +122,11 @@\n \"current\": \"wolf-hound\",\n \"isRevealed\": false,\n \"original\": \"wolf-hound\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"0cf8bb01b11b64f8bce4aa5f\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1086:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, + "static": false, + "killedBy": [ + "430" + ], + "coveredBy": [ + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 110, + "line": 212 + }, + "start": { + "column": 49, + "line": 212 + } + } + }, + { + "id": "1876", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "428", + "429", + "430", + "431" + ], + "location": { + "end": { + "column": 108, + "line": 212 + }, + "start": { + "column": 57, + "line": 212 + } + } + }, + { + "id": "1877", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(215,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432", + "433" + ], + "location": { + "end": { + "column": 4, + "line": 225 + }, + "start": { + "column": 109, + "line": 216 + } + } + }, + { + "id": "1878", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432", + "433" + ], + "location": { + "end": { + "column": 48, + "line": 219 + }, + "start": { + "column": 9, + "line": 219 + } + } + }, + { + "id": "1879", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432", + "433" + ], + "location": { + "end": { + "column": 48, + "line": 219 + }, + "start": { + "column": 9, + "line": 219 + } + } + }, + { + "id": "1880", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432", + "433" + ], + "location": { + "end": { + "column": 48, + "line": 219 + }, + "start": { + "column": 9, + "line": 219 + } + } + }, + { + "id": "1881", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(218,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432", + "433" + ], + "location": { + "end": { + "column": 24, + "line": 219 + }, + "start": { + "column": 9, + "line": 219 + } + } + }, + { + "id": "1882", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(219,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "432" + ], + "location": { + "end": { + "column": 6, + "line": 221 + }, + "start": { + "column": 50, + "line": 219 + } + } + }, + { + "id": "1883", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(226,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "434", + "435", + "436", + "437", + "438" + ], + "location": { + "end": { + "column": 4, + "line": 243 + }, + "start": { + "column": 97, + "line": 227 + } + } + }, + { + "id": "1884", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "434", + "435", + "436", + "437", + "438" + ], + "location": { + "end": { + "column": 62, + "line": 232 + }, + "start": { + "column": 9, + "line": 232 + } + } + }, + { + "id": "1885", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "434", + "435", + "436", + "437", + "438" + ], + "location": { + "end": { + "column": 62, + "line": 232 + }, + "start": { + "column": 9, + "line": 232 + } + } + }, + { + "id": "1886", + "mutatorName": "LogicalOperator", + "replacement": "targets?.length !== expectedTargetCount && !foxPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "434", + "435", + "436", + "437", + "438" + ], + "location": { + "end": { + "column": 62, + "line": 232 + }, + "start": { + "column": 9, + "line": 232 } } }, { - "id": "1855", + "id": "1887", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(190,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "422", - "423" + "434", + "435", + "436", + "437", + "438" ], "location": { "end": { - "column": 20, - "line": 186 + "column": 48, + "line": 232 }, "start": { "column": 9, - "line": 186 + "line": 232 } } }, { - "id": "1856", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(187,70): error TS18048: 'chosenRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(188,70): error TS18048: 'chosenRole' is possibly 'undefined'.\n", + "id": "1888", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "422" + "434", + "435", + "436", + "437", + "438" ], "location": { "end": { - "column": 6, - "line": 188 + "column": 48, + "line": 232 }, "start": { - "column": 22, - "line": 186 + "column": 9, + "line": 232 } } }, { - "id": "1857", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(189,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "id": "1889", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(231,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "423" + "434", + "435", + "436", + "437", + "438" ], "location": { "end": { - "column": 87, - "line": 189 + "column": 24, + "line": 232 }, "start": { - "column": 38, - "line": 189 + "column": 9, + "line": 232 } } }, { - "id": "1858", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(190,11): error TS2739: Type '{}' is missing the following properties from type 'PlayerRole': original, current, isRevealed\n", + "id": "1890", + "mutatorName": "BooleanLiteral", + "replacement": "foxPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "423" + "435", + "436", + "437", + "438" ], "location": { "end": { - "column": 87, - "line": 190 + "column": 62, + "line": 232 }, "start": { - "column": 38, - "line": 190 + "column": 52, + "line": 232 } } }, { - "id": "1859", - "mutatorName": "ObjectLiteral", + "id": "1891", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n@@ -125,16 +125,16 @@\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Joel\",\n \"position\": 7787824797450240,\n \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n+ \"current\": \"thief\",\n \"isRevealed\": false,\n \"original\": \"thief\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"f4eb04953f23219d48dde91b\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:961:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(232,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "423" - ], + "killedBy": [], "coveredBy": [ - "423" + "434", + "435" ], "location": { "end": { - "column": 91, - "line": 191 + "column": 6, + "line": 234 }, "start": { - "column": 49, - "line": 191 + "column": 64, + "line": 232 } } }, { - "id": "1860", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(195,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1892", + "mutatorName": "MethodExpression", + "replacement": "foxSniffedPlayers.some(player => player.side.current === RoleSides.VILLAGERS)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"a9a02b1a9dcadb8e7302dac5\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kelli\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "437" + ], "coveredBy": [ - "424", - "425" + "436", + "437", + "438" ], "location": { "end": { - "column": 4, - "line": 202 + "column": 130, + "line": 237 }, "start": { - "column": 107, - "line": 195 + "column": 52, + "line": 237 } } }, { - "id": "1861", - "mutatorName": "BooleanLiteral", - "replacement": "targets", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1893", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"fefbafb120f1d8ebafb7fa78\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kenna\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "438" + ], "coveredBy": [ - "424", - "425" + "436", + "437", + "438" ], "location": { "end": { - "column": 17, - "line": 197 + "column": 129, + "line": 237 }, "start": { - "column": 9, - "line": 197 + "column": 76, + "line": 237 } } }, { - "id": "1862", + "id": "1894", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"bb3dbbb66cce0a1e1a7b5eee\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Macie\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "437" + ], "coveredBy": [ - "424", - "425" + "436", + "437", + "438" ], "location": { "end": { - "column": 17, - "line": 197 + "column": 129, + "line": 237 }, "start": { - "column": 9, - "line": 197 + "column": 86, + "line": 237 } } }, { - "id": "1863", + "id": "1895", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"b0d2d2136efeb1a12ef2f0c0\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sandrine\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "438" + ], "coveredBy": [ - "424", - "425" + "436", + "437", + "438" ], "location": { "end": { - "column": 17, - "line": 197 + "column": 129, + "line": 237 }, "start": { - "column": 9, - "line": 197 + "column": 86, + "line": 237 } } }, { - "id": "1864", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(199,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1896", + "mutatorName": "EqualityOperator", + "replacement": "player.side.current !== RoleSides.VILLAGERS", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"becd1dd96b73bdcb3e6199ae\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jarred\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "438" + ], "coveredBy": [ - "424" + "436", + "437", + "438" ], "location": { "end": { - "column": 6, - "line": 199 + "column": 129, + "line": 237 }, "start": { - "column": 19, - "line": 197 + "column": 86, + "line": 237 } } }, { - "id": "1865", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(201,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1897", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"7bafe1bfbb49efffc7affbd0\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Darron\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1202:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "436" + ], "coveredBy": [ - "425" + "436", + "437", + "438" ], "location": { "end": { - "column": 76, - "line": 201 + "column": 81, + "line": 238 }, "start": { - "column": 50, - "line": 201 + "column": 9, + "line": 238 } } }, { - "id": "1866", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(204,106): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1898", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "426", - "427", - "428", - "429", - "430" + "436", + "437", + "438" ], "location": { "end": { - "column": 4, - "line": 213 + "column": 81, + "line": 238 }, "start": { - "column": 111, - "line": 204 + "column": 9, + "line": 238 } } }, { - "id": "1867", - "mutatorName": "BooleanLiteral", - "replacement": "wolfHoundPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1899", + "mutatorName": "LogicalOperator", + "replacement": "isFoxPowerlessIfMissesWerewolf || areEveryFoxSniffedPlayersVillagerSided", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"2dde503dbde0f97d5aa86ef1\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kiana\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "437" + ], "coveredBy": [ - "426", - "427", - "428", - "429", - "430" + "436", + "437", + "438" ], "location": { "end": { - "column": 25, - "line": 207 + "column": 81, + "line": 238 }, "start": { "column": 9, - "line": 207 + "line": 238 } } }, { - "id": "1868", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1900", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"67d845f3f95c24d4b60b5a0c\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Joany\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "438" + ], "coveredBy": [ - "426", - "427", - "428", - "429", - "430" + "438" ], "location": { "end": { - "column": 25, - "line": 207 + "column": 6, + "line": 241 }, "start": { - "column": 9, - "line": 207 + "column": 83, + "line": 238 } } }, { - "id": "1869", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(212,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "id": "1901", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(244,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "426", - "427", - "428", - "429", - "430" + "439", + "440" ], "location": { "end": { - "column": 25, - "line": 207 + "column": 4, + "line": 254 }, "start": { - "column": 9, - "line": 207 + "column": 106, + "line": 245 } } }, { - "id": "1870", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(209,62): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(210,31): error TS18048: 'wolfHoundPlayer' is possibly 'undefined'.\n", + "id": "1902", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "426" + "439", + "440" ], "location": { "end": { - "column": 6, - "line": 209 + "column": 48, + "line": 248 }, "start": { - "column": 27, - "line": 207 + "column": 9, + "line": 248 } } }, { - "id": "1871", - "mutatorName": "LogicalOperator", - "replacement": "chosenSide && sample([RoleSides.VILLAGERS, RoleSides.WEREWOLVES])", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,84): error TS2322: Type 'RoleSides | undefined' is not assignable to type 'RoleSides'.\n Type 'undefined' is not assignable to type 'RoleSides'.\n", + "id": "1903", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "427", - "428", - "429", - "430" + "439", + "440" ], "location": { "end": { - "column": 92, - "line": 210 + "column": 48, + "line": 248 }, "start": { - "column": 27, - "line": 210 + "column": 9, + "line": 248 } } }, { - "id": "1872", - "mutatorName": "ArrayDeclaration", - "replacement": "[]", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,84): error TS2322: Type 'RoleSides | undefined' is not assignable to type 'RoleSides'.\n Type 'undefined' is not assignable to type 'RoleSides'.\n", + "id": "1904", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "427", - "428" + "439", + "440" ], "location": { "end": { - "column": 91, - "line": 210 + "column": 48, + "line": 248 }, "start": { - "column": 48, - "line": 210 + "column": 9, + "line": 248 } } }, { - "id": "1873", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -122,11 +122,11 @@\n \"current\": \"wolf-hound\",\n \"isRevealed\": false,\n \"original\": \"wolf-hound\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"0cf8bb01b11b64f8bce4aa5f\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1086:74)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, + "id": "1905", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(247,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "429" - ], + "killedBy": [], "coveredBy": [ - "427", - "428", - "429", - "430" + "439", + "440" ], "location": { "end": { - "column": 110, - "line": 211 + "column": 24, + "line": 248 }, "start": { - "column": 49, - "line": 211 + "column": 9, + "line": 248 } } }, { - "id": "1874", - "mutatorName": "ObjectLiteral", + "id": "1906", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(211,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(248,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "427", - "428", - "429", - "430" + "439" ], "location": { "end": { - "column": 108, - "line": 211 + "column": 6, + "line": 250 }, "start": { - "column": 57, - "line": 211 + "column": 50, + "line": 248 } } }, { - "id": "1875", + "id": "1907", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(215,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(255,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431", - "432" + "441", + "442" ], "location": { "end": { "column": 4, - "line": 224 + "line": 265 }, "start": { - "column": 109, - "line": 215 + "column": 104, + "line": 256 } } }, { - "id": "1876", + "id": "1908", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431", - "432" + "441", + "442" ], "location": { "end": { "column": 48, - "line": 218 + "line": 259 }, "start": { "column": 9, - "line": 218 + "line": 259 } } }, { - "id": "1877", + "id": "1909", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431", - "432" + "441", + "442" ], "location": { "end": { "column": 48, - "line": 218 + "line": 259 }, "start": { "column": 9, - "line": 218 + "line": 259 } } }, { - "id": "1878", + "id": "1910", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431", - "432" + "441", + "442" ], "location": { "end": { "column": 48, - "line": 218 + "line": 259 }, "start": { "column": 9, - "line": 218 + "line": 259 } } }, { - "id": "1879", + "id": "1911", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(218,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(221,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431", - "432" + "441", + "442" ], "location": { "end": { "column": 24, - "line": 218 + "line": 259 }, "start": { "column": 9, - "line": 218 + "line": 259 } } }, { - "id": "1880", + "id": "1912", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(219,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(259,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "431" + "441" ], "location": { "end": { "column": 6, - "line": 220 + "line": 261 }, "start": { "column": 50, - "line": 218 + "line": 259 } } }, { - "id": "1881", + "id": "1913", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(226,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(266,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443", + "444" ], "location": { "end": { "column": 4, - "line": 242 + "line": 276 }, "start": { - "column": 97, - "line": 226 + "column": 115, + "line": 267 } } }, { - "id": "1882", + "id": "1914", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443", + "444" ], "location": { "end": { - "column": 62, - "line": 231 + "column": 48, + "line": 270 }, "start": { "column": 9, - "line": 231 + "line": 270 } } }, { - "id": "1883", + "id": "1915", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443", + "444" ], "location": { "end": { - "column": 62, - "line": 231 + "column": 48, + "line": 270 }, "start": { "column": 9, - "line": 231 + "line": 270 } } }, { - "id": "1884", - "mutatorName": "LogicalOperator", - "replacement": "targets?.length !== expectedTargetCount && !foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "id": "1916", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443", + "444" ], "location": { "end": { - "column": 62, - "line": 231 + "column": 48, + "line": 270 }, "start": { "column": 9, - "line": 231 + "line": 270 } } }, { - "id": "1885", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1917", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(269,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443", + "444" ], "location": { "end": { - "column": 48, - "line": 231 + "column": 24, + "line": 270 }, "start": { "column": 9, - "line": 231 + "line": 270 } } }, { - "id": "1886", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1918", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(270,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "443" ], "location": { "end": { - "column": 48, - "line": 231 + "column": 6, + "line": 272 }, "start": { - "column": 9, - "line": 231 + "column": 50, + "line": 270 } } }, { - "id": "1887", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(231,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(234,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1919", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(277,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434", - "435", - "436", - "437" + "445", + "446", + "447" ], "location": { "end": { - "column": 24, - "line": 231 + "column": 4, + "line": 291 }, "start": { - "column": 9, - "line": 231 + "column": 104, + "line": 278 } } }, { - "id": "1888", + "id": "1920", "mutatorName": "BooleanLiteral", - "replacement": "foxPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "replacement": "targets", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "434", - "435", - "436", - "437" + "445", + "446", + "447" ], "location": { "end": { - "column": 62, - "line": 231 + "column": 17, + "line": 280 }, "start": { - "column": 52, - "line": 231 + "column": 9, + "line": 280 } } }, { - "id": "1889", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(232,40): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(237,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "id": "1921", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "433", - "434" + "445", + "446", + "447" ], "location": { "end": { - "column": 6, - "line": 233 + "column": 17, + "line": 280 }, "start": { - "column": 64, - "line": 231 + "column": 9, + "line": 280 } } }, { - "id": "1890", - "mutatorName": "MethodExpression", - "replacement": "foxSniffedPlayers.some(player => player.side.current === RoleSides.VILLAGERS)", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"a9a02b1a9dcadb8e7302dac5\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kelli\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "id": "1922", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "436" + "killedBy": [], + "coveredBy": [ + "445", + "446", + "447" ], + "location": { + "end": { + "column": 17, + "line": 280 + }, + "start": { + "column": 9, + "line": 280 + } + } + }, + { + "id": "1923", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(282,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], "coveredBy": [ - "435", - "436", - "437" + "445" ], "location": { "end": { - "column": 130, - "line": 236 + "column": 6, + "line": 282 }, "start": { - "column": 52, - "line": 236 + "column": 19, + "line": 280 } } }, { - "id": "1891", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"fefbafb120f1d8ebafb7fa78\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kenna\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "1924", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -111,19 +111,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a0bddc52e0bee4e5cef6ee0e\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n- \"remainingPhases\": 1,\n- \"source\": \"witch\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Meda\",\n \"position\": 389491149766656,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "437" + "446" ], "coveredBy": [ - "435", - "436", - "437" + "446", + "447" ], "location": { "end": { - "column": 129, - "line": 236 + "column": 6, + "line": 289 }, "start": { - "column": 76, - "line": 236 + "column": 35, + "line": 285 } } }, { - "id": "1892", + "id": "1925", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"bb3dbbb66cce0a1e1a7b5eee\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Macie\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -140,11 +140,11 @@\n \"_id\": \"abb9a862dd3b579acb84fcf5\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-death-potion\",\n+ \"name\": \"drank-life-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1441:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "436" + "447" ], "coveredBy": [ - "435", - "436", - "437" + "446", + "447" ], "location": { "end": { - "column": 129, - "line": 236 + "column": 76, + "line": 287 }, "start": { - "column": 86, - "line": 236 + "column": 36, + "line": 287 } } }, { - "id": "1893", + "id": "1926", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"b0d2d2136efeb1a12ef2f0c0\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Sandrine\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -115,11 +115,11 @@\n \"_id\": \"4abcc2e2ef451dc7f893c7cc\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "437" + "446" ], "coveredBy": [ - "435", - "436", - "437" + "446", + "447" ], "location": { "end": { - "column": 129, - "line": 236 + "column": 76, + "line": 287 }, "start": { - "column": 86, - "line": 236 + "column": 36, + "line": 287 } } }, { - "id": "1894", + "id": "1927", "mutatorName": "EqualityOperator", - "replacement": "player.side.current !== RoleSides.VILLAGERS", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"becd1dd96b73bdcb3e6199ae\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jarred\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "target.drankPotion !== WitchPotions.LIFE", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -115,11 +115,11 @@\n \"_id\": \"46a68ec30f3fcbdc5b5b1bff\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "437" + "446" ], "coveredBy": [ - "435", - "436", - "437" + "446", + "447" ], "location": { "end": { - "column": 129, - "line": 236 + "column": 76, + "line": 287 }, "start": { - "column": 86, - "line": 236 + "column": 36, + "line": 287 } } }, { - "id": "1895", + "id": "1928", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(292,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "448", + "449", + "450" + ], + "location": { + "end": { + "column": 4, + "line": 300 + }, + "start": { + "column": 103, + "line": 293 + } + } + }, + { + "id": "1929", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"7bafe1bfbb49efffc7affbd0\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Darron\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1202:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "435" - ], + "killedBy": [], "coveredBy": [ - "435", - "436", - "437" + "448", + "449", + "450" ], "location": { "end": { - "column": 81, - "line": 237 + "column": 30, + "line": 295 }, "start": { "column": 9, - "line": 237 + "line": 295 } } }, { - "id": "1896", + "id": "1930", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(239,39): error TS18048: 'foxPlayer' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "435", - "436", - "437" + "448", + "449", + "450" ], "location": { "end": { - "column": 81, - "line": 237 + "column": 30, + "line": 295 }, "start": { "column": 9, - "line": 237 + "line": 295 } } }, { - "id": "1897", - "mutatorName": "LogicalOperator", - "replacement": "isFoxPowerlessIfMissesWerewolf || areEveryFoxSniffedPlayersVillagerSided", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -94,11 +94,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"2dde503dbde0f97d5aa86ef1\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"fox\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kiana\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1218:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "id": "1931", + "mutatorName": "EqualityOperator", + "replacement": "targets !== undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "436" - ], + "killedBy": [], "coveredBy": [ - "435", - "436", - "437" + "448", + "449", + "450" ], "location": { "end": { - "column": 81, - "line": 237 + "column": 30, + "line": 295 }, "start": { "column": 9, - "line": 237 + "line": 295 } } }, { - "id": "1898", + "id": "1932", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -94,19 +94,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"67d845f3f95c24d4b60b5a0c\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"fox\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Joany\",\n \"position\": 0,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1246:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(296,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "437" - ], + "killedBy": [], "coveredBy": [ - "437" + "448" ], "location": { "end": { "column": 6, - "line": 240 + "line": 297 }, "start": { - "column": 83, - "line": 237 + "column": 32, + "line": 295 } } }, { - "id": "1899", + "id": "1933", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "449", + "450" + ], + "location": { + "end": { + "column": 76, + "line": 299 + }, + "start": { + "column": 50, + "line": 299 + } + } + }, + { + "id": "1934", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(244,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(301,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438", - "439" + "451", + "452" ], "location": { "end": { "column": 4, - "line": 253 + "line": 310 }, "start": { - "column": 106, - "line": 244 + "column": 99, + "line": 302 } } }, { - "id": "1900", + "id": "1935", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438", - "439" + "451", + "452" ], "location": { "end": { "column": 48, - "line": 247 + "line": 305 }, "start": { "column": 9, - "line": 247 + "line": 305 } } }, { - "id": "1901", + "id": "1936", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438", - "439" + "451", + "452" ], "location": { "end": { "column": 48, - "line": 247 + "line": 305 }, "start": { "column": 9, - "line": 247 + "line": 305 } } }, { - "id": "1902", + "id": "1937", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438", - "439" + "451", + "452" ], "location": { "end": { "column": 48, - "line": 247 + "line": 305 }, "start": { "column": 9, - "line": 247 + "line": 305 } } }, { - "id": "1903", + "id": "1938", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(247,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(250,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(304,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438", - "439" + "451", + "452" ], "location": { "end": { "column": 24, - "line": 247 + "line": 305 }, "start": { "column": 9, - "line": 247 + "line": 305 } } }, { - "id": "1904", + "id": "1939", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(248,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(306,38): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "438" + "451" ], "location": { "end": { "column": 6, - "line": 249 + "line": 307 }, "start": { "column": 50, - "line": 247 + "line": 305 } } }, { - "id": "1905", + "id": "1940", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "452" + ], + "location": { + "end": { + "column": 76, + "line": 309 + }, + "start": { + "column": 50, + "line": 309 + } + } + }, + { + "id": "1941", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(255,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(311,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "441" + "453", + "454", + "622" ], "location": { "end": { "column": 4, - "line": 264 + "line": 321 }, "start": { - "column": 104, - "line": 255 + "column": 97, + "line": 312 } } }, { - "id": "1906", + "id": "1942", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "441" + "453", + "454", + "622" ], "location": { "end": { "column": 48, - "line": 258 + "line": 315 }, "start": { "column": 9, - "line": 258 + "line": 315 } } }, { - "id": "1907", + "id": "1943", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "441" + "453", + "454", + "622" ], "location": { "end": { "column": 48, - "line": 258 + "line": 315 }, "start": { "column": 9, - "line": 258 + "line": 315 } } }, { - "id": "1908", + "id": "1944", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "441" + "453", + "454", + "622" ], "location": { "end": { "column": 48, - "line": 258 + "line": 315 }, "start": { "column": 9, - "line": 258 + "line": 315 } } }, { - "id": "1909", + "id": "1945", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(258,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(261,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(314,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440", - "441" + "453", + "454", + "622" ], "location": { "end": { "column": 24, - "line": 258 + "line": 315 }, "start": { "column": 9, - "line": 258 + "line": 315 } } }, { - "id": "1910", + "id": "1946", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(259,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(315,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "440" + "453" ], "location": { "end": { "column": 6, - "line": 260 + "line": 317 }, "start": { "column": 50, - "line": 258 + "line": 315 } } }, { - "id": "1911", + "id": "1947", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(266,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(322,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443" + "455", + "456" ], "location": { "end": { "column": 4, - "line": 275 + "line": 332 }, "start": { - "column": 115, - "line": 266 + "column": 105, + "line": 323 } } }, { - "id": "1912", + "id": "1948", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443" + "455", + "456" ], "location": { "end": { "column": 48, - "line": 269 + "line": 326 }, "start": { "column": 9, - "line": 269 + "line": 326 } } }, { - "id": "1913", + "id": "1949", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443" + "455", + "456" ], "location": { "end": { "column": 48, - "line": 269 + "line": 326 }, "start": { "column": 9, - "line": 269 + "line": 326 } } }, { - "id": "1914", + "id": "1950", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443" + "455", + "456" ], "location": { "end": { "column": 48, - "line": 269 + "line": 326 }, "start": { "column": 9, - "line": 269 + "line": 326 } } }, { - "id": "1915", + "id": "1951", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(269,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(272,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(325,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442", - "443" + "455", + "456" ], "location": { "end": { "column": 24, - "line": 269 + "line": 326 }, "start": { "column": 9, - "line": 269 + "line": 326 } } }, { - "id": "1916", + "id": "1952", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(270,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(326,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "442" + "455" ], "location": { "end": { "column": 6, - "line": 271 + "line": 328 }, "start": { "column": 50, - "line": 269 + "line": 326 } } }, { - "id": "1917", + "id": "1953", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(277,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(333,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446" + "457", + "458" ], "location": { "end": { "column": 4, - "line": 290 + "line": 343 }, "start": { - "column": 104, - "line": 277 + "column": 102, + "line": 334 } } }, { - "id": "1918", - "mutatorName": "BooleanLiteral", - "replacement": "targets", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1954", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446" + "457", + "458" ], "location": { "end": { - "column": 17, - "line": 279 + "column": 48, + "line": 337 }, "start": { "column": 9, - "line": 279 + "line": 337 } } }, { - "id": "1919", + "id": "1955", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446" + "457", + "458" ], "location": { "end": { - "column": 17, - "line": 279 + "column": 48, + "line": 337 }, "start": { "column": 9, - "line": 279 + "line": 337 } } }, { - "id": "1920", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(284,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1956", + "mutatorName": "EqualityOperator", + "replacement": "targets?.length === expectedTargetCount", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444", - "445", - "446" + "457", + "458" ], "location": { "end": { - "column": 17, - "line": 279 + "column": 48, + "line": 337 }, "start": { "column": 9, - "line": 279 + "line": 337 } } }, { - "id": "1921", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(282,26): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1957", + "mutatorName": "OptionalChaining", + "replacement": "targets.length", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(336,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "444" + "457", + "458" ], "location": { "end": { - "column": 6, - "line": 281 + "column": 24, + "line": 337 }, "start": { - "column": 19, - "line": 279 + "column": 9, + "line": 337 } } }, { - "id": "1922", + "id": "1958", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -111,19 +111,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a0bddc52e0bee4e5cef6ee0e\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n- \"remainingPhases\": 1,\n- \"source\": \"witch\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Meda\",\n \"position\": 389491149766656,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(337,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "445" - ], + "killedBy": [], "coveredBy": [ - "445", - "446" + "457" ], "location": { "end": { "column": 6, - "line": 288 - }, - "start": { - "column": 35, - "line": 284 - } - } - }, - { - "id": "1923", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -140,11 +140,11 @@\n \"_id\": \"abb9a862dd3b579acb84fcf5\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-death-potion\",\n+ \"name\": \"drank-life-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1441:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "446" - ], - "coveredBy": [ - "445", - "446" - ], - "location": { - "end": { - "column": 76, - "line": 286 + "line": 339 }, "start": { - "column": 36, - "line": 286 + "column": 50, + "line": 337 } } }, { - "id": "1924", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -115,11 +115,11 @@\n \"_id\": \"4abcc2e2ef451dc7f893c7cc\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "1959", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(344,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "445" - ], + "killedBy": [], "coveredBy": [ - "445", - "446" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 76, - "line": 286 + "column": 4, + "line": 354 }, "start": { - "column": 36, - "line": 286 + "column": 94, + "line": 345 } } }, { - "id": "1925", - "mutatorName": "EqualityOperator", - "replacement": "target.drankPotion !== WitchPotions.LIFE", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -115,11 +115,11 @@\n \"_id\": \"46a68ec30f3fcbdc5b5b1bff\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": undefined,\n- \"name\": \"drank-life-potion\",\n+ \"name\": \"drank-death-potion\",\n \"remainingPhases\": 1,\n \"source\": \"witch\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1407:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "1960", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -129,11 +129,11 @@\n \"current\": \"scandalmonger\",\n \"isRevealed\": false,\n \"original\": \"scandalmonger\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a0bcfa27d3dcedfd8a9f610e\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 4, "static": false, "killedBy": [ - "445" + "459" ], "coveredBy": [ - "445", - "446" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 76, - "line": 286 + "column": 116, + "line": 348 }, "start": { - "column": 36, - "line": 286 + "column": 49, + "line": 348 } } }, { - "id": "1926", - "mutatorName": "BlockStatement", + "id": "1961", + "mutatorName": "ObjectLiteral", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(292,98): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(347,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "447", - "448", - "449" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 4, - "line": 299 + "column": 114, + "line": 348 }, "start": { - "column": 103, - "line": 292 + "column": 57, + "line": 348 } } }, { - "id": "1927", + "id": "1962", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c1ed71c9cf8f4269f7f83adc\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Mertie\",\n \"position\": 8652063741313024,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "459" + ], "coveredBy": [ - "447", - "448", - "449" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 30, - "line": 294 + "column": 100, + "line": 350 }, "start": { "column": 9, - "line": 294 + "line": 349 } } }, { - "id": "1928", + "id": "1963", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"dafee24ddd3dd557e4b2c2ee\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Brown\",\n \"position\": 6600191610191872,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "460" + ], "coveredBy": [ - "447", - "448", - "449" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 30, - "line": 294 + "column": 100, + "line": 350 }, "start": { "column": 9, - "line": 294 + "line": 349 } } }, { - "id": "1929", - "mutatorName": "EqualityOperator", - "replacement": "targets !== undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1964", + "mutatorName": "LogicalOperator", + "replacement": "targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR && roles.prejudicedManipulator.isPowerlessIfInfected && targetedPlayer.role.current === RoleNames.PIED_PIPER && roles.piedPiper.isPowerlessIfInfected", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(348,130): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.PREJUDICED_MANIPULATOR' and 'RoleNames.PIED_PIPER' have no overlap.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "447", - "448", - "449" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 30, - "line": 294 + "column": 100, + "line": 350 }, "start": { "column": 9, - "line": 294 + "line": 349 } } }, { - "id": "1930", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(296,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1965", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"973009f09a2913d04ed3e2b9\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Lorena\",\n \"position\": 8093215687180288,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "460" + ], "coveredBy": [ - "447" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 6, - "line": 296 + "column": 126, + "line": 349 }, "start": { - "column": 32, - "line": 294 + "column": 9, + "line": 349 } } }, { - "id": "1931", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(298,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1966", + "mutatorName": "LogicalOperator", + "replacement": "targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR || roles.prejudicedManipulator.isPowerlessIfInfected", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"356e50253b8cecb13c0cd1b7\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Lazaro\",\n \"position\": 3776039603929088,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1766:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "461" + ], "coveredBy": [ - "448", - "449" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 76, - "line": 298 + "column": 126, + "line": 349 }, "start": { - "column": 50, - "line": 298 + "column": 9, + "line": 349 } } }, { - "id": "1932", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(301,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1967", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"4ee0243e2eb20dcd7c47e86c\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Anahi\",\n \"position\": 8551090024873984,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "459" + ], "coveredBy": [ - "450", - "451" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 4, - "line": 309 + "column": 73, + "line": 349 }, "start": { - "column": 99, - "line": 301 + "column": 9, + "line": 349 } } }, { - "id": "1933", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1968", + "mutatorName": "EqualityOperator", + "replacement": "targetedPlayer.role.current !== RoleNames.PREJUDICED_MANIPULATOR", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -112,11 +112,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"89681aac71fab66fa0d921dc\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Rick\",\n \"position\": 4884577011105792,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "459" + ], "coveredBy": [ - "450", - "451" + "459", + "460", + "461", + "462", + "463" ], "location": { "end": { - "column": 48, - "line": 304 + "column": 73, + "line": 349 }, "start": { "column": 9, - "line": 304 + "line": 349 } } }, { - "id": "1934", + "id": "1969", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -117,19 +117,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d88fd8c63bfcbba5dbe6ee0a\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Rosanna\",\n \"position\": 8760189960323072,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1766:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "462" + ], "coveredBy": [ - "450", - "451" + "459", + "461", + "462", + "463" ], "location": { "end": { - "column": 48, - "line": 304 + "column": 100, + "line": 350 }, "start": { - "column": 9, - "line": 304 + "column": 7, + "line": 350 } } }, { - "id": "1935", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1970", + "mutatorName": "LogicalOperator", + "replacement": "targetedPlayer.role.current === RoleNames.PIED_PIPER || roles.piedPiper.isPowerlessIfInfected", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9b5b2db40eefbfb54cd3ec31\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Cortez\",\n \"position\": 2902007992025088,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1792:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "463" + ], "coveredBy": [ - "450", - "451" + "459", + "461", + "462", + "463" ], "location": { "end": { - "column": 48, - "line": 304 + "column": 100, + "line": 350 }, "start": { - "column": 9, - "line": 304 + "column": 7, + "line": 350 } } }, { - "id": "1936", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(304,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1971", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"34751da00fb386cfb4becdd6\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Adan\",\n \"position\": 5901562704560128,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "459" + ], "coveredBy": [ - "450", - "451" + "459", + "461", + "462", + "463" ], "location": { "end": { - "column": 24, - "line": 304 + "column": 59, + "line": 350 }, "start": { - "column": 9, - "line": 304 + "column": 7, + "line": 350 } } }, { - "id": "1937", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(306,38): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1972", + "mutatorName": "EqualityOperator", + "replacement": "targetedPlayer.role.current !== RoleNames.PIED_PIPER", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a3fffcb3bdcd1fcdc99ff34e\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Adella\",\n \"position\": 2583957015101440,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "459" + ], "coveredBy": [ - "450" + "459", + "461", + "462", + "463" ], "location": { "end": { - "column": 6, - "line": 306 + "column": 59, + "line": 350 }, "start": { - "column": 50, - "line": 304 + "column": 7, + "line": 350 } } }, { - "id": "1938", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(308,38): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", - "status": "CompileError", + "id": "1973", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"1fa5c64ec165ed71e0f8b5cf\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Cleora\",\n \"position\": 8866256136437760,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "460" + ], "coveredBy": [ - "451" + "460", + "462" ], "location": { "end": { - "column": 76, - "line": 308 + "column": 6, + "line": 352 }, "start": { - "column": 50, - "line": 308 + "column": 102, + "line": 350 } } }, { - "id": "1939", + "id": "1974", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(311,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(353,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452", - "453", - "621" + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { "column": 4, - "line": 320 + "line": 369 }, "start": { - "column": 97, - "line": 311 + "column": 116, + "line": 356 } } }, { - "id": "1940", + "id": "1975", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452", - "453", - "621" + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { "column": 48, - "line": 314 + "line": 359 }, "start": { "column": 9, - "line": 314 + "line": 359 } } }, { - "id": "1941", + "id": "1976", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452", - "453", - "621" + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { "column": 48, - "line": 314 + "line": 359 }, "start": { "column": 9, - "line": 314 + "line": 359 } } }, { - "id": "1942", + "id": "1977", "mutatorName": "EqualityOperator", "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452", - "453", - "621" + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { "column": 48, - "line": 314 + "line": 359 }, "start": { "column": 9, - "line": 314 + "line": 359 } } }, { - "id": "1943", + "id": "1978", "mutatorName": "OptionalChaining", "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(314,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(317,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(356,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452", - "453", - "621" + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { "column": 24, - "line": 314 + "line": 359 }, "start": { "column": 9, - "line": 314 + "line": 359 } } }, { - "id": "1944", + "id": "1979", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(315,40): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(357,70): error TS18048: 'targets' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "452" + "464" ], "location": { "end": { "column": 6, - "line": 316 + "line": 361 }, "start": { "column": 50, - "line": 314 - } - } - }, - { - "id": "1945", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(322,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "454", - "455" - ], - "location": { - "end": { - "column": 4, - "line": 331 - }, - "start": { - "column": 105, - "line": 322 + "line": 359 } } }, { - "id": "1946", + "id": "1980", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"a6eaacccaf6e7bc6197405ad\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kraig\", \"position\": 1613331903283200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6f2b08fbeeebae6dd15696cd\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T09:50:36.959Z, \"currentPlay\": {\"action\": \"choose-sign\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7553897231024128}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a97e0eabe3fa3abfdc9eb8a1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kari\", \"position\": 6223955400589312, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a6eaacccaf6e7bc6197405ad\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kraig\", \"position\": 1613331903283200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e4c29b4cd807bcd3cbba31bb\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Wilford\", \"position\": 1961844300316672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b6b14f9820d7697fdd9dd7da\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Tiara\", \"position\": 7721470868324352, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2695534393425920, \"turn\": 5804486618513408, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:06:31.239Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5808440/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1834:72)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "467" + ], "coveredBy": [ - "454", - "455" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 325 + "column": 111, + "line": 365 }, "start": { "column": 9, - "line": 325 + "line": 365 } } }, { - "id": "1947", + "id": "1981", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "454", - "455" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 325 + "column": 111, + "line": 365 }, "start": { "column": 9, - "line": 325 + "line": 365 } } }, { - "id": "1948", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1982", + "mutatorName": "LogicalOperator", + "replacement": "isTargetInfected === true || targetedPlayer.role.current !== RoleNames.ELDER || elderLivesCount <= 1", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"e626b07ac0a2ff46f6ad7fea\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Loyce\", \"position\": 3676058815561728, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6dced51375289dac0fd84677\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T01:29:21.610Z, \"currentPlay\": {\"action\": \"look\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"fox\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6393111519428608}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"22f48dbc3d44a0524212c57c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Eloisa\", \"position\": 6567131789393920, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e626b07ac0a2ff46f6ad7fea\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Loyce\", \"position\": 3676058815561728, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"16ac2d1ebeeef50cef6a3ddf\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kenya\", \"position\": 3109818699087872, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"523bec4baaddf7e448dd4cff\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Terrell\", \"position\": 5167300508385280, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 7592085077098496, \"turn\": 2736194922217472, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:22:29.664Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "454", - "455" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 325 + "column": 111, + "line": 365 }, "start": { "column": 9, - "line": 325 + "line": 365 } } }, { - "id": "1949", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(325,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(328,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1983", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"b352be5b4ccbc836e3cd3a33\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hettie\", \"position\": 3204338168102912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6d3af71d0b9a97f8fa00790b\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T05:56:31.578Z, \"currentPlay\": {\"action\": \"protect\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"white-werewolf\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 2540152798838784}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"6b6c67f48a2c9e64469dfdce\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Oren\", \"position\": 7016339627573248, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b352be5b4ccbc836e3cd3a33\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hettie\", \"position\": 3204338168102912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d3b2946303dbefacaafed939\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Gayle\", \"position\": 6727503548776448, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"8cccfff3e66af931a61be609\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Eli\", \"position\": 6506795726012416, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 5915346850545664, \"turn\": 2946449054629888, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:14:41.558Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5808440/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1834:72)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "467" + ], "coveredBy": [ - "454", - "455" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 24, - "line": 325 + "column": 34, + "line": 365 }, "start": { "column": 9, - "line": 325 + "line": 365 } } }, { - "id": "1950", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(326,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1984", + "mutatorName": "EqualityOperator", + "replacement": "isTargetInfected !== true", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "454" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 6, - "line": 327 + "column": 34, + "line": 365 }, "start": { - "column": 50, - "line": 325 + "column": 9, + "line": 365 } } }, - { - "id": "1951", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(333,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + { + "id": "1985", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 7, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "456", - "457" + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 4, - "line": 342 + "column": 34, + "line": 365 }, "start": { - "column": 102, - "line": 333 + "column": 30, + "line": 365 } } }, { - "id": "1952", + "id": "1986", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"f95c1d5f7db6ff4bfee9f583\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ted\", \"position\": 5604271338815488, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c1496d4a1caa205bd8c2fa29\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T02:35:07.569Z, \"currentPlay\": {\"action\": \"choose-card\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"three-brothers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2578529956921344}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"4accef9ec339c1ea1bed2be3\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Percy\", \"position\": 4461831447904256, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f95c1d5f7db6ff4bfee9f583\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ted\", \"position\": 5604271338815488, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a4f56677aa7d7eb9eeb7ed6d\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Marianne\", \"position\": 2423337254912000, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"0fb7b404e63ac52bc6af9cee\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Emmanuelle\", \"position\": 8604707853434880, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 5750724971462656, \"turn\": 6791898547093504, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T10:15:51.856Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "456", - "457" + "466", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 336 + "column": 110, + "line": 365 }, "start": { - "column": 9, - "line": 336 + "column": 39, + "line": 365 } } }, { - "id": "1953", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1987", + "mutatorName": "LogicalOperator", + "replacement": "targetedPlayer.role.current !== RoleNames.ELDER && elderLivesCount <= 1", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "470" + ], "coveredBy": [ - "456", - "457" + "466", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 336 + "column": 110, + "line": 365 }, "start": { - "column": 9, - "line": 336 + "column": 39, + "line": 365 } } }, { - "id": "1954", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1988", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "456", - "457" + "466", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 336 + "column": 86, + "line": 365 }, "start": { - "column": 9, - "line": 336 + "column": 39, + "line": 365 } } }, { - "id": "1955", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(336,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(339,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1989", + "mutatorName": "EqualityOperator", + "replacement": "targetedPlayer.role.current === RoleNames.ELDER", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"5e812faa3c1aaffac5baa5a0\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Corene\", \"position\": 8728676866719744, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e8e81965ea653ade40bec5d9\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T17:01:34.548Z, \"currentPlay\": {\"action\": \"choose-side\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"scandalmonger\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 4110363530362880}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"b66eb22e39da08ec0acfaccd\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hoyt\", \"position\": 1466079593365504, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"5e812faa3c1aaffac5baa5a0\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Corene\", \"position\": 8728676866719744, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a3675ba561d5f52b5beba6b1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Cindy\", \"position\": 7404665641631744, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dafebdd670bc04a524cdc3b7\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Griffin\", \"position\": 5957463744446464, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 2494705434624000, \"turn\": 2839891587104768, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T16:59:15.675Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "468" + ], "coveredBy": [ - "456", - "457" + "466", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 24, - "line": 336 + "column": 86, + "line": 365 }, "start": { - "column": 9, - "line": 336 + "column": 39, + "line": 365 } } }, { - "id": "1956", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(337,40): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "1990", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "470" + ], "coveredBy": [ - "456" + "466", + "468", + "470", + "471" ], "location": { "end": { - "column": 6, - "line": 338 + "column": 110, + "line": 365 }, "start": { - "column": 50, - "line": 336 + "column": 90, + "line": 365 } } }, { - "id": "1957", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(344,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "1991", + "mutatorName": "EqualityOperator", + "replacement": "elderLivesCount < 1", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "470" + ], "coveredBy": [ - "458", - "459", - "460", - "461", - "462" + "466", + "468", + "470", + "471" ], "location": { "end": { - "column": 4, - "line": 353 + "column": 110, + "line": 365 }, "start": { - "column": 94, - "line": 344 + "column": 90, + "line": 365 } } }, { - "id": "1958", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -129,11 +129,11 @@\n \"current\": \"scandalmonger\",\n \"isRevealed\": false,\n \"original\": \"scandalmonger\",\n },\n \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a0bcfa27d3dcedfd8a9f610e\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "1992", + "mutatorName": "EqualityOperator", + "replacement": "elderLivesCount > 1", + "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"4dd8fec6b5bdd206ca486a0c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ora\", \"position\": 6556954761625600, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f9985deec1baee8caf6e0e67\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T18:20:40.189Z, \"currentPlay\": {\"action\": \"eat\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"accursed-wolf-father\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8975037010804736}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"bea345e7e4dbf7ecd7e1ee8b\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kellie\", \"position\": 4762383285223424, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4dd8fec6b5bdd206ca486a0c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ora\", \"position\": 6556954761625600, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"68cedaa2f1bce7b7b32dbae8\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Demarco\", \"position\": 6051290006159360, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bf9bbca340bbdc697748ba16\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Sherwood\", \"position\": 4083204816371712, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 6608102078021632, \"turn\": 1275772253765632, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T10:33:25.150Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", "status": "Killed", "testsCompleted": 4, "static": false, "killedBy": [ - "458" + "468" ], "coveredBy": [ - "458", - "459", - "460", - "461", - "462" + "466", + "468", + "470", + "471" ], "location": { "end": { - "column": 116, - "line": 347 + "column": 110, + "line": 365 }, "start": { - "column": 49, - "line": 347 + "column": 90, + "line": 365 } } }, { - "id": "1959", - "mutatorName": "ObjectLiteral", + "id": "1993", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(347,51): error TS2739: Type '{}' is missing the following properties from type 'PlayerSide': original, current\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "469" + ], "coveredBy": [ - "458", - "459", - "460", - "461", - "462" + "469", + "470", + "471" ], "location": { "end": { - "column": 114, - "line": 347 + "column": 6, + "line": 367 }, "start": { - "column": 57, - "line": 347 + "column": 113, + "line": 365 } } }, { - "id": "1960", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c1ed71c9cf8f4269f7f83adc\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Mertie\",\n \"position\": 8652063741313024,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "458" - ], + "id": "1737", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(30,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 100, - "line": 349 + "column": 83, + "line": 30 }, "start": { - "column": 9, - "line": 348 + "column": 32, + "line": 30 } } }, { - "id": "1961", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"dafee24ddd3dd557e4b2c2ee\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Brown\",\n \"position\": 6600191610191872,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "459" - ], + "id": "1738", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(31,31): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 100, - "line": 349 + "column": 82, + "line": 31 }, "start": { - "column": 9, - "line": 348 + "column": 31, + "line": 31 } } }, { - "id": "1962", - "mutatorName": "LogicalOperator", - "replacement": "targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR && roles.prejudicedManipulator.isPowerlessIfInfected && targetedPlayer.role.current === RoleNames.PIED_PIPER && roles.piedPiper.isPowerlessIfInfected", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(348,130): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.PREJUDICED_MANIPULATOR' and 'RoleNames.PIED_PIPER' have no overlap.\n", + "id": "1739", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(32,37): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": false, - "killedBy": [], + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 100, - "line": 349 + "column": 87, + "line": 32 }, "start": { - "column": 9, - "line": 348 + "column": 37, + "line": 32 } } }, { - "id": "1963", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"973009f09a2913d04ed3e2b9\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Lorena\",\n \"position\": 8093215687180288,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "459" - ], + "id": "1740", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(33,31): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 126, - "line": 348 + "column": 78, + "line": 33 }, "start": { - "column": 9, - "line": 348 + "column": 31, + "line": 33 } } }, { - "id": "1964", - "mutatorName": "LogicalOperator", - "replacement": "targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR || roles.prejudicedManipulator.isPowerlessIfInfected", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"356e50253b8cecb13c0cd1b7\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Lazaro\",\n \"position\": 3776039603929088,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1766:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "460" - ], + "id": "1741", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(34,33): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 126, - "line": 348 + "column": 83, + "line": 34 }, "start": { - "column": 9, - "line": 348 + "column": 33, + "line": 34 } } }, { - "id": "1965", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"4ee0243e2eb20dcd7c47e86c\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Anahi\",\n \"position\": 8551090024873984,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "458" - ], + "id": "1743", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(36,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 73, - "line": 348 + "column": 68, + "line": 36 }, "start": { - "column": 9, - "line": 348 + "column": 24, + "line": 36 } } }, { - "id": "1966", - "mutatorName": "EqualityOperator", - "replacement": "targetedPlayer.role.current !== RoleNames.PREJUDICED_MANIPULATOR", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -112,11 +112,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"89681aac71fab66fa0d921dc\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Rick\",\n \"position\": 4884577011105792,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "458" - ], + "id": "1744", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(37,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 73, - "line": 348 + "column": 77, + "line": 37 }, "start": { - "column": 9, - "line": 348 + "column": 29, + "line": 37 } } }, { - "id": "1967", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -117,19 +117,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"d88fd8c63bfcbba5dbe6ee0a\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Rosanna\",\n \"position\": 8760189960323072,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1766:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "461" - ], + "id": "1742", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(35,23): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", + "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 100, - "line": 349 + "column": 65, + "line": 35 }, "start": { - "column": 7, - "line": 349 + "column": 23, + "line": 35 } } }, { - "id": "1968", - "mutatorName": "LogicalOperator", - "replacement": "targetedPlayer.role.current === RoleNames.PIED_PIPER || roles.piedPiper.isPowerlessIfInfected", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"9b5b2db40eefbfb54cd3ec31\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Cortez\",\n \"position\": 2902007992025088,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1792:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "462" - ], + "id": "1745", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(38,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", + "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 100, - "line": 349 + "column": 73, + "line": 38 }, "start": { - "column": 7, - "line": 349 + "column": 24, + "line": 38 } } }, { - "id": "1969", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"34751da00fb386cfb4becdd6\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Adan\",\n \"position\": 5901562704560128,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "458" - ], + "id": "1746", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(39,25): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", + "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 59, - "line": 349 + "column": 75, + "line": 39 }, "start": { - "column": 7, - "line": 349 + "column": 25, + "line": 39 } } }, { - "id": "1970", - "mutatorName": "EqualityOperator", - "replacement": "targetedPlayer.role.current !== RoleNames.PIED_PIPER", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -117,11 +117,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"a3fffcb3bdcd1fcdc99ff34e\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"accursed-wolf-father\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Adella\",\n \"position\": 2583957015101440,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1713:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "458" - ], + "id": "1747", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(40,27): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", "458", + "459", "460", "461", - "462" + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 59, - "line": 349 + "column": 76, + "line": 40 }, "start": { - "column": 7, - "line": 349 + "column": 27, + "line": 40 } } }, { - "id": "1971", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"1fa5c64ec165ed71e0f8b5cf\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"accursed-wolf-father\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Cleora\",\n \"position\": 8866256136437760,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4947880/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1740:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "459" - ], + "id": "1749", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(42,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", "459", - "461" + "460", + "461", + "462", + "463", + "464", + "465", + "466", + "467", + "468", + "469", + "470", + "471" ], "location": { "end": { - "column": 6, - "line": 351 + "column": 83, + "line": 42 }, "start": { - "column": 102, - "line": 349 + "column": 29, + "line": 42 } } }, { - "id": "1972", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(353,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "1748", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(41,22): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": false, - "killedBy": [], + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", "463", "464", "465", @@ -74146,28 +73775,128 @@ "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 4, - "line": 368 + "column": 64, + "line": 41 }, "start": { - "column": 116, - "line": 355 + "column": 22, + "line": 41 } } }, { - "id": "1973", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1750", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(43,29): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": false, - "killedBy": [], + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", "463", "464", "465", @@ -74175,28 +73904,128 @@ "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 358 + "column": 82, + "line": 43 }, "start": { - "column": 9, - "line": 358 + "column": 29, + "line": 43 } } }, { - "id": "1974", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1751", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(44,28): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": false, - "killedBy": [], + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", "463", "464", "465", @@ -74204,28 +74033,128 @@ "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 358 + "column": 80, + "line": 44 }, "start": { - "column": 9, - "line": 358 + "column": 28, + "line": 44 } } }, { - "id": "1975", - "mutatorName": "EqualityOperator", - "replacement": "targets?.length === expectedTargetCount", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "id": "1752", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(45,24): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", "status": "CompileError", - "static": false, - "killedBy": [], + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", "463", "464", "465", @@ -74233,491 +74162,550 @@ "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 48, - "line": 358 + "column": 73, + "line": 45 }, "start": { - "column": 9, - "line": 358 - } - } - }, - { - "id": "1976", - "mutatorName": "OptionalChaining", - "replacement": "targets.length", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(356,9): error TS18048: 'targets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(359,70): error TS18048: 'targets' is possibly 'undefined'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "463", - "464", - "465", - "466", - "467", - "468", - "469", - "470" - ], - "location": { - "end": { "column": 24, - "line": 358 - }, - "start": { - "column": 9, - "line": 358 + "line": 45 } } }, { - "id": "1977", + "id": "1784", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(357,70): error TS18048: 'targets' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(102,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "463" + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 6, - "line": 360 + "column": 4, + "line": 120 }, "start": { - "column": 50, - "line": 358 + "column": 76, + "line": 102 } } }, { - "id": "1978", + "id": "1785", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"a6eaacccaf6e7bc6197405ad\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kraig\", \"position\": 1613331903283200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6f2b08fbeeebae6dd15696cd\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T09:50:36.959Z, \"currentPlay\": {\"action\": \"choose-sign\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7553897231024128}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a97e0eabe3fa3abfdc9eb8a1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kari\", \"position\": 6223955400589312, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a6eaacccaf6e7bc6197405ad\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kraig\", \"position\": 1613331903283200, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e4c29b4cd807bcd3cbba31bb\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Wilford\", \"position\": 1961844300316672, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b6b14f9820d7697fdd9dd7da\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Tiara\", \"position\": 7721470868324352, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 2695534393425920, \"turn\": 5804486618513408, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:06:31.239Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5808440/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1834:72)", - "status": "Killed", - "testsCompleted": 7, - "static": false, - "killedBy": [ - "466" - ], - "coveredBy": [ - "464", - "465", - "466", - "467", - "468", - "469", - "470" - ], - "location": { - "end": { - "column": 111, - "line": 364 - }, - "start": { - "column": 9, - "line": 364 - } - } - }, - { - "id": "1979", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", - "status": "Killed", - "testsCompleted": 7, + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "468" - ], "coveredBy": [ - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 111, - "line": 364 + "column": 75, + "line": 106 }, "start": { "column": 9, - "line": 364 + "line": 106 } } }, { - "id": "1980", - "mutatorName": "LogicalOperator", - "replacement": "isTargetInfected === true || targetedPlayer.role.current !== RoleNames.ELDER || elderLivesCount <= 1", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"e626b07ac0a2ff46f6ad7fea\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Loyce\", \"position\": 3676058815561728, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6dced51375289dac0fd84677\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T01:29:21.610Z, \"currentPlay\": {\"action\": \"look\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"fox\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6393111519428608}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"22f48dbc3d44a0524212c57c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Eloisa\", \"position\": 6567131789393920, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e626b07ac0a2ff46f6ad7fea\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Loyce\", \"position\": 3676058815561728, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"16ac2d1ebeeef50cef6a3ddf\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kenya\", \"position\": 3109818699087872, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"523bec4baaddf7e448dd4cff\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Terrell\", \"position\": 5167300508385280, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 7592085077098496, \"turn\": 2736194922217472, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:22:29.664Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", - "status": "Killed", - "testsCompleted": 7, - "static": false, - "killedBy": [ - "467" - ], + "id": "1753", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(46,32): error TS2322: Type '() => undefined' is not assignable to type '(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay) => Game | Promise'.\n Type 'undefined' is not assignable to type 'Game | Promise'.\n", + "status": "CompileError", + "static": true, "coveredBy": [ + "363", + "364", + "365", + "366", + "367", + "368", + "369", + "370", + "371", + "372", + "373", + "374", + "375", + "376", + "377", + "378", + "379", + "380", + "381", + "382", + "383", + "384", + "385", + "386", + "387", + "388", + "389", + "390", + "391", + "392", + "393", + "394", + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "406", + "407", + "408", + "409", + "410", + "411", + "412", + "413", + "414", + "415", + "416", + "417", + "418", + "419", + "420", + "421", + "422", + "423", + "424", + "425", + "426", + "427", + "428", + "429", + "430", + "431", + "432", + "433", + "434", + "435", + "436", + "437", + "438", + "439", + "440", + "441", + "442", + "443", + "444", + "445", + "446", + "447", + "448", + "449", + "450", + "451", + "452", + "453", + "454", + "455", + "456", + "457", + "458", + "459", + "460", + "461", + "462", + "463", "464", "465", "466", "467", "468", "469", - "470" + "470", + "471" ], "location": { "end": { - "column": 111, - "line": 364 + "column": 83, + "line": 46 }, "start": { - "column": 9, - "line": 364 + "column": 32, + "line": 46 } } }, { - "id": "1981", + "id": "1786", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"b352be5b4ccbc836e3cd3a33\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hettie\", \"position\": 3204338168102912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6d3af71d0b9a97f8fa00790b\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T05:56:31.578Z, \"currentPlay\": {\"action\": \"protect\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"white-werewolf\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 2540152798838784}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"6b6c67f48a2c9e64469dfdce\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Oren\", \"position\": 7016339627573248, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b352be5b4ccbc836e3cd3a33\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hettie\", \"position\": 3204338168102912, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d3b2946303dbefacaafed939\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Gayle\", \"position\": 6727503548776448, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"8cccfff3e66af931a61be609\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Eli\", \"position\": 6506795726012416, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 5915346850545664, \"turn\": 2946449054629888, \"upcomingPlays\": [], \"updatedAt\": 2023-11-30T23:14:41.558Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5808440/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1834:72)", - "status": "Killed", - "testsCompleted": 7, + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "466" - ], "coveredBy": [ - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 34, - "line": 364 + "column": 75, + "line": 106 }, "start": { "column": 9, - "line": 364 + "line": 106 } } }, { - "id": "1982", - "mutatorName": "EqualityOperator", - "replacement": "isTargetInfected !== true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", - "status": "Killed", - "testsCompleted": 7, + "id": "1787", + "mutatorName": "LogicalOperator", + "replacement": "scapegoatPlayer || isPlayerAliveAndPowerful(scapegoatPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(106,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-maker.service.ts(108,58): error TS18048: 'scapegoatPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "468" - ], "coveredBy": [ - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "398", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 34, - "line": 364 + "column": 75, + "line": 106 }, "start": { "column": 9, - "line": 364 + "line": 106 } } }, { - "id": "1983", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", - "status": "Killed", - "testsCompleted": 7, + "id": "1794", + "mutatorName": "OptionalChaining", + "replacement": "sheriffPlayer.isAlive", + "statusReason": "src/modules/game/providers/services/game-play/game-play-maker.service.ts(111,9): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "468" - ], "coveredBy": [ - "464", - "465", - "466", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 34, - "line": 364 + "column": 31, + "line": 111 }, "start": { - "column": 30, - "line": 364 + "column": 9, + "line": 111 } } }, { - "id": "1984", + "id": "1789", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"f95c1d5f7db6ff4bfee9f583\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ted\", \"position\": 5604271338815488, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c1496d4a1caa205bd8c2fa29\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T02:35:07.569Z, \"currentPlay\": {\"action\": \"choose-card\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"three-brothers\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2578529956921344}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"4accef9ec339c1ea1bed2be3\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Percy\", \"position\": 4461831447904256, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f95c1d5f7db6ff4bfee9f583\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ted\", \"position\": 5604271338815488, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a4f56677aa7d7eb9eeb7ed6d\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Marianne\", \"position\": 2423337254912000, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"0fb7b404e63ac52bc6af9cee\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Emmanuelle\", \"position\": 8604707853434880, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 5750724971462656, \"turn\": 6791898547093504, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T10:15:51.856Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1207:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, "static": false, + "testsCompleted": 11, "killedBy": [ - "467" + "621" ], "coveredBy": [ - "465", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 110, - "line": 364 + "column": 71, + "line": 111 }, "start": { - "column": 39, - "line": 364 + "column": 9, + "line": 111 } } }, { - "id": "1985", + "id": "1791", "mutatorName": "LogicalOperator", - "replacement": "targetedPlayer.role.current !== RoleNames.ELDER && elderLivesCount <= 1", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "replacement": "sheriffPlayer?.isAlive === true || mustSheriffSettleTieInVotes", + "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"2e8ea5088ebf0d7a8c7d9d2f\", \"createdAt\": 2023-12-04T08:48:52.883Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"accursed-wolf-father\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"cupid\": {\"lovers\": {\"doRevealRoleToEachOther\": true}}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"prejudicedManipulator\": {\"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8955111644594176}, \"hasDoubledVote\": true, \"isEnabled\": true, \"mustSettleTieInVotes\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"isChosenCardRevealed\": true, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"ccce2e5ba7a2bef4a0eb83ca\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Maud\", \"position\": 2767395294806016, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4e6837cc3ff5765640f22e77\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Camila\", \"position\": 2034970824540160, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"73dd6e3a9aae2fd0d6796a03\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Sarina\", \"position\": 6394340068818944, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"f6b5af9aafa771aabe310ec7\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Wilhelm\", \"position\": 6877509419270144, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 8077878203777024, \"turn\": 4820503877386240, \"upcomingPlays\": [], \"updatedAt\": 2023-12-04T05:55:28.910Z}], but was invoked 1 times with {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:505:63)", "status": "Killed", - "testsCompleted": 5, "static": false, + "testsCompleted": 11, "killedBy": [ - "469" + "399" ], "coveredBy": [ - "465", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 110, - "line": 364 + "column": 71, + "line": 111 }, "start": { - "column": 39, - "line": 364 + "column": 9, + "line": 111 } } }, { - "id": "1986", + "id": "1790", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "468" - ], - "coveredBy": [ - "465", - "467", - "468", - "469", - "470" - ], - "location": { - "end": { - "column": 86, - "line": 364 - }, - "start": { - "column": 39, - "line": 364 - } - } - }, - { - "id": "1987", - "mutatorName": "EqualityOperator", - "replacement": "targetedPlayer.role.current === RoleNames.ELDER", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"5e812faa3c1aaffac5baa5a0\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Corene\", \"position\": 8728676866719744, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e8e81965ea653ade40bec5d9\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T17:01:34.548Z, \"currentPlay\": {\"action\": \"choose-side\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"scandalmonger\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 4110363530362880}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"b66eb22e39da08ec0acfaccd\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Hoyt\", \"position\": 1466079593365504, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"5e812faa3c1aaffac5baa5a0\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Corene\", \"position\": 8728676866719744, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"a3675ba561d5f52b5beba6b1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Cindy\", \"position\": 7404665641631744, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"dafebdd670bc04a524cdc3b7\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Griffin\", \"position\": 5957463744446464, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 2494705434624000, \"turn\": 2839891587104768, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T16:59:15.675Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"3febddc327d2ef3a8927bcd9\", \"createdAt\": 2023-12-03T18:01:33.015Z, \"currentPlay\": {\"action\": \"choose-model\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"cupid\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"cupid\": {\"lovers\": {\"doRevealRoleToEachOther\": false}}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"prejudicedManipulator\": {\"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2483745011531776}, \"hasDoubledVote\": false, \"isEnabled\": true, \"mustSettleTieInVotes\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"isChosenCardRevealed\": true, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"eda7cbead4ff5affcdf0cda5\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Charlene\", \"position\": 3657655614701568, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"35df5a2ad39463934c5f6b64\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Faustino\", \"position\": 94275079503872, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"0daff5bc9daddc9e331f8d39\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Zoila\", \"position\": 7704644585259008, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bb6f87f1de0afa5e82f71d6e\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Eddie\", \"position\": 4363813214224384, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 6362315182047232, \"turn\": 6603276399149056, \"upcomingPlays\": [], \"updatedAt\": 2023-12-04T01:40:00.214Z}], but it was called with {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:553:59)", "status": "Killed", - "testsCompleted": 5, "static": false, + "testsCompleted": 11, "killedBy": [ - "467" + "402" ], "coveredBy": [ - "465", - "467", - "468", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 86, - "line": 364 + "column": 71, + "line": 111 }, "start": { - "column": 39, - "line": 364 + "column": 9, + "line": 111 } } }, { - "id": "1988", + "id": "1792", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "replacement": "true", + "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"b3bcd3a3f27a3eeb28af4e48\", \"createdAt\": 2023-12-03T20:56:10.959Z, \"currentPlay\": {\"action\": \"choose-side\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"villager-villager\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"cupid\": {\"lovers\": {\"doRevealRoleToEachOther\": true}}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"prejudicedManipulator\": {\"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8476900288626688}, \"hasDoubledVote\": false, \"isEnabled\": false, \"mustSettleTieInVotes\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 3, \"isChosenCardRevealed\": false, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c1d4cf53bdc1faeec530ef8d\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kole\", \"position\": 5791331995615232, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"da523821da3e46ab71a197ba\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Jose\", \"position\": 5121229247741952, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"86066ecead124ece6e4707df\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Jarret\", \"position\": 4885398681550848, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"47e4bd2df8efa9bfa6c72772\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Elta\", \"position\": 8670633586065408, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 5624642127527936, \"turn\": 1990161780965376, \"upcomingPlays\": [], \"updatedAt\": 2023-12-04T10:10:08.557Z}], but was invoked 1 times with {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:505:63)", "status": "Killed", - "testsCompleted": 4, "static": false, + "testsCompleted": 11, "killedBy": [ - "469" + "399" ], "coveredBy": [ - "465", - "467", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 110, - "line": 364 + "column": 40, + "line": 111 }, "start": { - "column": 90, - "line": 364 + "column": 9, + "line": 111 } } }, { - "id": "1989", - "mutatorName": "EqualityOperator", - "replacement": "elderLivesCount < 1", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "id": "1795", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).not.toHaveBeenCalledExactlyOnceWith()\n\nExpected mock to be invoked some number of times other than once or once with arguments other than [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"afa059aee6f9f5aa442cf7ee\", \"createdAt\": 2023-12-04T00:39:27.448Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-days\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"cupid\": {\"lovers\": {\"doRevealRoleToEachOther\": false}}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"prejudicedManipulator\": {\"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3432147801079808}, \"hasDoubledVote\": false, \"isEnabled\": true, \"mustSettleTieInVotes\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 5, \"isChosenCardRevealed\": true, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"a16f60061d05b8f5be6feceb\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": false, \"name\": \"Marcus\", \"position\": 2487876849762304, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"c4c518bce60500b8cbbd77bf\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Flo\", \"position\": 1947369922887680, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"247825aab51b8e9cc33ccbed\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Dayna\", \"position\": 7591397175590912, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"e0a098b91fb0cb46e1a4f7e1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Darian\", \"position\": 5568084270120960, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"canceled\", \"tick\": 29952342753280, \"turn\": 8459885530316800, \"upcomingPlays\": [], \"updatedAt\": 2023-12-04T05:40:15.516Z}], but was invoked 1 times with {\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:521:63)", "status": "Killed", - "testsCompleted": 4, "static": false, + "testsCompleted": 11, "killedBy": [ - "469" + "400" ], "coveredBy": [ - "465", - "467", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "402", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 110, - "line": 364 + "column": 40, + "line": 111 }, "start": { - "column": 90, - "line": 364 + "column": 36, + "line": 111 } } }, { - "id": "1990", + "id": "1799", "mutatorName": "EqualityOperator", - "replacement": "elderLivesCount > 1", - "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"4dd8fec6b5bdd206ca486a0c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ora\", \"position\": 6556954761625600, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f9985deec1baee8caf6e0e67\", \"additionalCards\": undefined, \"createdAt\": 2023-12-01T18:20:40.189Z, \"currentPlay\": {\"action\": \"eat\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"accursed-wolf-father\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": false}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8975037010804736}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"bea345e7e4dbf7ecd7e1ee8b\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kellie\", \"position\": 4762383285223424, \"role\": {\"current\": \"fox\", \"isRevealed\": false, \"original\": \"fox\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4dd8fec6b5bdd206ca486a0c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Ora\", \"position\": 6556954761625600, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"68cedaa2f1bce7b7b32dbae8\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Demarco\", \"position\": 6051290006159360, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bf9bbca340bbdc697748ba16\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Sherwood\", \"position\": 4083204816371712, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"over\", \"tick\": 6608102078021632, \"turn\": 1275772253765632, \"upcomingPlays\": [], \"updatedAt\": 2023-12-01T10:33:25.150Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1850:72)", + "replacement": "clonedGame.currentPlay.cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:569:59)", "status": "Killed", - "testsCompleted": 4, "static": false, + "testsCompleted": 10, "killedBy": [ - "467" + "403" ], "coveredBy": [ - "465", - "467", - "469", - "470" + "395", + "396", + "397", + "399", + "400", + "401", + "403", + "404", + "405", + "621" ], "location": { "end": { - "column": 110, - "line": 364 + "column": 84, + "line": 115 }, "start": { - "column": 90, - "line": 364 + "column": 9, + "line": 115 } } }, { - "id": "1991", + "id": "1796", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox21130/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:1866:68)", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"action\": \"settle-votes\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"sheriff\", \"players\": undefined}}, {\"_id\": \"b77de5a0ffe8fda7cc688e2a\", \"createdAt\": 2023-12-03T21:30:35.487Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"cupid\": {\"lovers\": {\"doRevealRoleToEachOther\": false}}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"prejudicedManipulator\": {\"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 2915083971723264}, \"hasDoubledVote\": false, \"isEnabled\": false, \"mustSettleTieInVotes\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"isChosenCardRevealed\": true, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"f9a2a2cceaf4c0f049cb2d7a\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kane\", \"position\": 4544176003743744, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2f565e3cfd0efff8ab3160ef\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Mckayla\", \"position\": 6167426844590080, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"27e04fec2903ae5a8ee1e414\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Alexa\", \"position\": 7352458342825984, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2cc6ab369ef870bf7d835aaa\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Dee\", \"position\": 852863618121728, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}], \"status\": \"playing\", \"tick\": 6455153733402624, \"turn\": 2184786604982272, \"upcomingPlays\": [], \"updatedAt\": 2023-12-03T11:10:33.148Z}], but it was called with {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"previous-votes-were-in-ties\", \"eligibleTargets\": undefined, \"occurrence\": \"consequential\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3965977/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts:553:59)", "status": "Killed", - "testsCompleted": 3, "static": false, + "testsCompleted": 1, "killedBy": [ - "468" + "402" ], "coveredBy": [ - "468", - "469", - "470" + "402" ], "location": { "end": { "column": 6, - "line": 366 + "line": 114 }, "start": { - "column": 113, - "line": 364 + "column": 73, + "line": 111 } } } ], - "source": "import { Injectable } from \"@nestjs/common\";\nimport { sample } from \"lodash\";\n\nimport type { GamePlaySourceName } from \"@/modules/game/types/game-play.type\";\nimport type { MakeGamePlayWithRelationsDto } from \"@/modules/game/dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GamePlayActions, GamePlayCauses, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport { PlayerAttributeNames, PlayerGroups } from \"@/modules/game/enums/player.enum\";\nimport { createGamePlaySurvivorsVote, createGamePlaySheriffSettlesVotes, createGamePlaySurvivorsElectSheriff } from \"@/modules/game/helpers/game-play/game-play.factory\";\nimport { createGame } from \"@/modules/game/helpers/game.factory\";\nimport { getFoxSniffedPlayers, getPlayerWithActiveAttributeName, getPlayerWithCurrentRole } from \"@/modules/game/helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from \"@/modules/game/helpers/game.mutator\";\nimport { createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createInLoveByCupidPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByDefenderPlayerAttribute, createScandalmongerMarkByScandalmongerPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffBySurvivorsPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute, createPowerlessByAccursedWolfFatherPlayerAttribute } from \"@/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerShotByHunterDeath, createPlayerVoteBySurvivorsDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedBySurvivorsDeath } from \"@/modules/game/helpers/player/player-death/player-death.factory\";\nimport { isPlayerAliveAndPowerful } from \"@/modules/game/helpers/player/player.helper\";\nimport { GamePlayVoteService } from \"@/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport { PlayerKillerService } from \"@/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { PlayerRole } from \"@/modules/game/schemas/player/player-role/player-role.schema\";\nimport type { PlayerSide } from \"@/modules/game/schemas/player/player-side/player-side.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport type { GameWithCurrentPlay } from \"@/modules/game/types/game-with-current-play\";\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { createNoCurrentGamePlayUnexpectedException } from \"@/shared/exception/helpers/unexpected-exception.factory\";\n\n@Injectable()\nexport class GamePlayMakerService {\n private readonly gameSourcePlayMethods: Partial Game | Promise>> = {\n [PlayerGroups.WEREWOLVES]: async(play, game) => this.werewolvesEat(play, game),\n [PlayerGroups.SURVIVORS]: async(play, game) => this.survivorsPlay(play, game),\n [PlayerAttributeNames.SHERIFF]: async(play, game) => this.sheriffPlays(play, game),\n [RoleNames.BIG_BAD_WOLF]: (play, game) => this.bigBadWolfEats(play, game),\n [RoleNames.WHITE_WEREWOLF]: (play, game) => this.whiteWerewolfEats(play, game),\n [RoleNames.SEER]: (play, game) => this.seerLooks(play, game),\n [RoleNames.CUPID]: (play, game) => this.cupidCharms(play, game),\n [RoleNames.PIED_PIPER]: (play, game) => this.piedPiperCharms(play, game),\n [RoleNames.WITCH]: (play, game) => this.witchUsesPotions(play, game),\n [RoleNames.HUNTER]: async(play, game) => this.hunterShoots(play, game),\n [RoleNames.DEFENDER]: (play, game) => this.defenderProtects(play, game),\n [RoleNames.FOX]: (play, game) => this.foxSniffs(play, game),\n [RoleNames.WILD_CHILD]: (play, game) => this.wildChildChoosesModel(play, game),\n [RoleNames.WOLF_HOUND]: (play, game) => this.wolfHoundChoosesSide(play, game),\n [RoleNames.SCAPEGOAT]: (play, game) => this.scapegoatBansVoting(play, game),\n [RoleNames.THIEF]: (play, game) => this.thiefChoosesCard(play, game),\n [RoleNames.SCANDALMONGER]: (play, game) => this.scandalmongerMarks(play, game),\n };\n\n public constructor(\n private readonly playerKillerService: PlayerKillerService,\n private readonly gamePlayVoteService: GamePlayVoteService,\n ) {}\n\n public async makeGamePlay(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"makeGamePlay\", { gameId: game._id });\n }\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const gameSourcePlayMethod = this.gameSourcePlayMethods[clonedGame.currentPlay.source.name];\n return gameSourcePlayMethod ? gameSourcePlayMethod(play, clonedGame) : clonedGame;\n }\n\n private async sheriffSettlesVotes({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const voteBySheriffDeath = createPlayerVoteBySheriffDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, voteBySheriffDeath);\n }\n\n private sheriffDelegates({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const sheriffPlayer = getPlayerWithActiveAttributeName(clonedGame, PlayerAttributeNames.SHERIFF);\n if (sheriffPlayer) {\n clonedGame = removePlayerAttributeByNameInGame(sheriffPlayer._id, clonedGame, PlayerAttributeNames.SHERIFF) as GameWithCurrentPlay;\n }\n const sheriffBySheriffPlayerAttribute = createSheriffBySheriffPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, sheriffBySheriffPlayerAttribute);\n }\n\n private async sheriffPlays(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const sheriffPlayMethods: Partial Game | Promise>> = {\n [GamePlayActions.DELEGATE]: () => this.sheriffDelegates(play, clonedGame),\n [GamePlayActions.SETTLE_VOTES]: async() => this.sheriffSettlesVotes(play, clonedGame),\n };\n const sheriffPlayMethod = sheriffPlayMethods[clonedGame.currentPlay.action];\n if (sheriffPlayMethod === undefined) {\n return clonedGame;\n }\n return sheriffPlayMethod();\n }\n\n private async handleTieInVotes(game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const scapegoatPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.SCAPEGOAT);\n if (scapegoatPlayer && isPlayerAliveAndPowerful(scapegoatPlayer, game)) {\n const playerVoteScapegoatedBySurvivorsDeath = createPlayerVoteScapegoatedBySurvivorsDeath();\n return this.playerKillerService.killOrRevealPlayer(scapegoatPlayer._id, clonedGame, playerVoteScapegoatedBySurvivorsDeath);\n }\n const sheriffPlayer = getPlayerWithActiveAttributeName(clonedGame, PlayerAttributeNames.SHERIFF);\n if (sheriffPlayer?.isAlive === true) {\n const gamePlaySheriffSettlesVotes = createGamePlaySheriffSettlesVotes();\n return prependUpcomingPlayInGame(gamePlaySheriffSettlesVotes, clonedGame);\n }\n if (clonedGame.currentPlay.cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlaySurvivorsVote = createGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlaySurvivorsVote, clonedGame);\n }\n return clonedGame;\n }\n\n private async survivorsVote({ votes, doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n let clonedGame = createGame(game) as GameWithCurrentPlay;\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (doesJudgeRequestAnotherVote === true) {\n const gamePlaySurvivorsVote = createGamePlaySurvivorsVote({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST });\n clonedGame = appendUpcomingPlayInGame(gamePlaySurvivorsVote, clonedGame) as GameWithCurrentPlay;\n }\n if (nominatedPlayers.length > 1) {\n return this.handleTieInVotes(clonedGame);\n }\n if (nominatedPlayers.length === 1) {\n const playerVoteBySurvivorsDeath = createPlayerVoteBySurvivorsDeath();\n return this.playerKillerService.killOrRevealPlayer(nominatedPlayers[0]._id, clonedGame, playerVoteBySurvivorsDeath);\n }\n return clonedGame;\n }\n\n private handleTieInSheriffElection(nominatedPlayers: Player[], game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n if (clonedGame.currentPlay.cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlaySurvivorsElectSheriff = createGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlaySurvivorsElectSheriff, clonedGame);\n }\n const randomNominatedPlayer = sample(nominatedPlayers);\n if (randomNominatedPlayer) {\n const sheriffBySurvivorsPlayerAttribute = createSheriffBySurvivorsPlayerAttribute();\n return addPlayerAttributeInGame(randomNominatedPlayer._id, clonedGame, sheriffBySurvivorsPlayerAttribute);\n }\n return clonedGame;\n }\n\n private survivorsElectSheriff(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const { votes } = play;\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (!nominatedPlayers.length) {\n return clonedGame;\n }\n if (nominatedPlayers.length !== 1) {\n return this.handleTieInSheriffElection(nominatedPlayers, clonedGame);\n }\n const sheriffBySurvivorsPlayerAttribute = createSheriffBySurvivorsPlayerAttribute();\n return addPlayerAttributeInGame(nominatedPlayers[0]._id, clonedGame, sheriffBySurvivorsPlayerAttribute);\n }\n\n private async survivorsPlay(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const survivorsPlayMethods: Partial Game | Promise>> = {\n [GamePlayActions.ELECT_SHERIFF]: () => this.survivorsElectSheriff(play, clonedGame),\n [GamePlayActions.VOTE]: async() => this.survivorsVote(play, clonedGame),\n };\n const survivorsPlayMethod = survivorsPlayMethods[clonedGame.currentPlay.action];\n if (survivorsPlayMethod === undefined) {\n return clonedGame;\n }\n return survivorsPlayMethod();\n }\n \n private thiefChoosesCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const thiefPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.THIEF);\n if (!thiefPlayer || !chosenCard) {\n return clonedGame;\n }\n const chosenRole = ROLES.find(role => role.name === chosenCard.roleName);\n if (!chosenRole) {\n return clonedGame;\n }\n const newThiefSide: PlayerSide = { ...thiefPlayer.side, current: chosenRole.side };\n const newThiefRole: PlayerRole = { ...thiefPlayer.role, current: chosenRole.name };\n const playerDataToUpdate: Partial = { side: newThiefSide, role: newThiefRole };\n return updatePlayerInGame(thiefPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private scapegoatBansVoting({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n if (!targets) {\n return clonedGame;\n }\n const cantVoteByScapegoatPlayerAttribute = createCantVoteByScapegoatPlayerAttribute(clonedGame);\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, cantVoteByScapegoatPlayerAttribute);\n }\n \n private wolfHoundChoosesSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const wolfHoundPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.WOLF_HOUND);\n if (!wolfHoundPlayer) {\n return clonedGame;\n }\n const wolfHoundSide = chosenSide ?? sample([RoleSides.VILLAGERS, RoleSides.WEREWOLVES]);\n const playerDataToUpdate: Partial = { side: { ...wolfHoundPlayer.side, current: wolfHoundSide } };\n return updatePlayerInGame(wolfHoundPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private wildChildChoosesModel({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const worshipedByWildChildPlayerAttribute = createWorshipedByWildChildPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, worshipedByWildChildPlayerAttribute);\n }\n\n private foxSniffs({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n const foxPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.FOX);\n const { isPowerlessIfMissesWerewolf: isFoxPowerlessIfMissesWerewolf } = clonedGame.options.roles.fox;\n if (targets?.length !== expectedTargetCount || !foxPlayer) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const foxSniffedPlayers = getFoxSniffedPlayers(targetedPlayer._id, clonedGame);\n const areEveryFoxSniffedPlayersVillagerSided = foxSniffedPlayers.every(player => player.side.current === RoleSides.VILLAGERS);\n if (isFoxPowerlessIfMissesWerewolf && areEveryFoxSniffedPlayersVillagerSided) {\n const powerlessByFoxPlayerAttribute = createPowerlessByFoxPlayerAttribute();\n return addPlayerAttributeInGame(foxPlayer._id, clonedGame, powerlessByFoxPlayerAttribute);\n }\n return clonedGame;\n }\n \n private scandalmongerMarks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const scandalmongerMarkByScandalmongerPlayerAttribute = createScandalmongerMarkByScandalmongerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, scandalmongerMarkByScandalmongerPlayerAttribute);\n }\n \n private defenderProtects({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const protectedByDefenderPlayerAttribute = createProtectedByDefenderPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, protectedByDefenderPlayerAttribute);\n }\n\n private async hunterShoots({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const shotByHunterDeath = createPlayerShotByHunterDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, shotByHunterDeath);\n }\n\n private witchUsesPotions({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n if (!targets) {\n return clonedGame;\n }\n const lifePotionAttribute = createDrankLifePotionByWitchPlayerAttribute();\n const deathPotionAttribute = createDrankDeathPotionByWitchPlayerAttribute();\n for (const target of targets) {\n const { player: targetedPlayer } = target;\n const drankPotionAttribute = target.drankPotion === WitchPotions.LIFE ? lifePotionAttribute : deathPotionAttribute;\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, drankPotionAttribute) as GameWithCurrentPlay;\n }\n return clonedGame;\n }\n\n private piedPiperCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n if (targets === undefined) {\n return clonedGame;\n }\n const charmedByPiedPiperPlayerAttribute = createCharmedByPiedPiperPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, charmedByPiedPiperPlayerAttribute);\n }\n\n private cupidCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 2;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const inLoveByCupidPlayerAttribute = createInLoveByCupidPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, inLoveByCupidPlayerAttribute);\n }\n\n private seerLooks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const seenBySeerPlayerAttribute = createSeenBySeerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, seenBySeerPlayerAttribute);\n }\n\n private whiteWerewolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByWhiteWerewolfPlayerAttribute = createEatenByWhiteWerewolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWhiteWerewolfPlayerAttribute);\n }\n\n private bigBadWolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByBigBadWolfPlayerAttribute = createEatenByBigBadWolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByBigBadWolfPlayerAttribute);\n }\n\n private accursedWolfFatherInfects(targetedPlayer: Player, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n const { roles } = game.options;\n const playerDataToUpdate: Partial = { side: { ...targetedPlayer.side, current: RoleSides.WEREWOLVES } };\n if (targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR && roles.prejudicedManipulator.isPowerlessIfInfected ||\n targetedPlayer.role.current === RoleNames.PIED_PIPER && roles.piedPiper.isPowerlessIfInfected) {\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, createPowerlessByAccursedWolfFatherPlayerAttribute());\n }\n return updatePlayerInGame(targetedPlayer._id, playerDataToUpdate, clonedGame);\n }\n\n private async werewolvesEat({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer, isInfected: isTargetInfected } = targets[0];\n const eatenByWerewolvesPlayerAttribute = createEatenByWerewolvesPlayerAttribute();\n const elderLivesCount = await this.playerKillerService.getElderLivesCountAgainstWerewolves(clonedGame, targetedPlayer);\n if (isTargetInfected === true && (targetedPlayer.role.current !== RoleNames.ELDER || elderLivesCount <= 1)) {\n return this.accursedWolfFatherInfects(targetedPlayer, clonedGame as GameWithCurrentPlay);\n }\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWerewolvesPlayerAttribute);\n }\n}" + "source": "import { Injectable } from \"@nestjs/common\";\nimport { sample } from \"lodash\";\n\nimport type { GamePlaySourceName } from \"@/modules/game/types/game-play.type\";\nimport type { MakeGamePlayWithRelationsDto } from \"@/modules/game/dto/make-game-play/make-game-play-with-relations.dto\";\nimport { GamePlayActions, GamePlayCauses, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport { PlayerAttributeNames, PlayerGroups } from \"@/modules/game/enums/player.enum\";\nimport { createGamePlaySurvivorsVote, createGamePlaySheriffSettlesVotes, createGamePlaySurvivorsElectSheriff } from \"@/modules/game/helpers/game-play/game-play.factory\";\nimport { createGame, createGameWithCurrentGamePlay } from \"@/modules/game/helpers/game.factory\";\nimport { getFoxSniffedPlayers, getPlayerWithActiveAttributeName, getPlayerWithCurrentRole } from \"@/modules/game/helpers/game.helper\";\nimport { addPlayerAttributeInGame, addPlayersAttributeInGame, appendUpcomingPlayInGame, prependUpcomingPlayInGame, removePlayerAttributeByNameInGame, updatePlayerInGame } from \"@/modules/game/helpers/game.mutator\";\nimport { createCantVoteByScapegoatPlayerAttribute, createCharmedByPiedPiperPlayerAttribute, createDrankDeathPotionByWitchPlayerAttribute, createDrankLifePotionByWitchPlayerAttribute, createEatenByBigBadWolfPlayerAttribute, createEatenByWerewolvesPlayerAttribute, createEatenByWhiteWerewolfPlayerAttribute, createInLoveByCupidPlayerAttribute, createPowerlessByFoxPlayerAttribute, createProtectedByDefenderPlayerAttribute, createScandalmongerMarkByScandalmongerPlayerAttribute, createSeenBySeerPlayerAttribute, createSheriffBySurvivorsPlayerAttribute, createSheriffBySheriffPlayerAttribute, createWorshipedByWildChildPlayerAttribute, createPowerlessByAccursedWolfFatherPlayerAttribute } from \"@/modules/game/helpers/player/player-attribute/player-attribute.factory\";\nimport { createPlayerShotByHunterDeath, createPlayerVoteBySurvivorsDeath, createPlayerVoteBySheriffDeath, createPlayerVoteScapegoatedBySurvivorsDeath } from \"@/modules/game/helpers/player/player-death/player-death.factory\";\nimport { isPlayerAliveAndPowerful } from \"@/modules/game/helpers/player/player.helper\";\nimport { GamePlayVoteService } from \"@/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport { PlayerKillerService } from \"@/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { PlayerRole } from \"@/modules/game/schemas/player/player-role/player-role.schema\";\nimport type { PlayerSide } from \"@/modules/game/schemas/player/player-side/player-side.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport type { GameWithCurrentPlay } from \"@/modules/game/types/game-with-current-play\";\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { createNoCurrentGamePlayUnexpectedException } from \"@/shared/exception/helpers/unexpected-exception.factory\";\n\n@Injectable()\nexport class GamePlayMakerService {\n private readonly gameSourcePlayMethods: Partial Game | Promise>> = {\n [PlayerGroups.WEREWOLVES]: async(play, game) => this.werewolvesEat(play, game),\n [PlayerGroups.SURVIVORS]: async(play, game) => this.survivorsPlay(play, game),\n [PlayerAttributeNames.SHERIFF]: async(play, game) => this.sheriffPlays(play, game),\n [RoleNames.BIG_BAD_WOLF]: (play, game) => this.bigBadWolfEats(play, game),\n [RoleNames.WHITE_WEREWOLF]: (play, game) => this.whiteWerewolfEats(play, game),\n [RoleNames.SEER]: (play, game) => this.seerLooks(play, game),\n [RoleNames.CUPID]: (play, game) => this.cupidCharms(play, game),\n [RoleNames.PIED_PIPER]: (play, game) => this.piedPiperCharms(play, game),\n [RoleNames.WITCH]: (play, game) => this.witchUsesPotions(play, game),\n [RoleNames.HUNTER]: async(play, game) => this.hunterShoots(play, game),\n [RoleNames.DEFENDER]: (play, game) => this.defenderProtects(play, game),\n [RoleNames.FOX]: (play, game) => this.foxSniffs(play, game),\n [RoleNames.WILD_CHILD]: (play, game) => this.wildChildChoosesModel(play, game),\n [RoleNames.WOLF_HOUND]: (play, game) => this.wolfHoundChoosesSide(play, game),\n [RoleNames.SCAPEGOAT]: (play, game) => this.scapegoatBansVoting(play, game),\n [RoleNames.THIEF]: (play, game) => this.thiefChoosesCard(play, game),\n [RoleNames.SCANDALMONGER]: (play, game) => this.scandalmongerMarks(play, game),\n };\n\n public constructor(\n private readonly playerKillerService: PlayerKillerService,\n private readonly gamePlayVoteService: GamePlayVoteService,\n ) {}\n\n public async makeGamePlay(play: MakeGamePlayWithRelationsDto, game: Game): Promise {\n if (!game.currentPlay) {\n throw createNoCurrentGamePlayUnexpectedException(\"makeGamePlay\", { gameId: game._id });\n }\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const gameSourcePlayMethod = this.gameSourcePlayMethods[clonedGame.currentPlay.source.name];\n return gameSourcePlayMethod ? gameSourcePlayMethod(play, clonedGame) : clonedGame;\n }\n\n private async sheriffSettlesVotes({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const voteBySheriffDeath = createPlayerVoteBySheriffDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, voteBySheriffDeath);\n }\n\n private sheriffDelegates({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const targetedPlayer = targets[0].player;\n const sheriffPlayer = getPlayerWithActiveAttributeName(clonedGame, PlayerAttributeNames.SHERIFF);\n if (sheriffPlayer) {\n clonedGame = removePlayerAttributeByNameInGame(sheriffPlayer._id, clonedGame, PlayerAttributeNames.SHERIFF) as GameWithCurrentPlay;\n }\n const sheriffBySheriffPlayerAttribute = createSheriffBySheriffPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, sheriffBySheriffPlayerAttribute);\n }\n\n private async sheriffPlays(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const sheriffPlayMethods: Partial Game | Promise>> = {\n [GamePlayActions.DELEGATE]: () => this.sheriffDelegates(play, clonedGame),\n [GamePlayActions.SETTLE_VOTES]: async() => this.sheriffSettlesVotes(play, clonedGame),\n };\n const sheriffPlayMethod = sheriffPlayMethods[clonedGame.currentPlay.action];\n if (sheriffPlayMethod === undefined) {\n return clonedGame;\n }\n return sheriffPlayMethod();\n }\n\n private async handleTieInVotes(game: GameWithCurrentPlay): Promise {\n const clonedGame = createGameWithCurrentGamePlay(game);\n const { mustSettleTieInVotes: mustSheriffSettleTieInVotes } = clonedGame.options.roles.sheriff;\n const scapegoatPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.SCAPEGOAT);\n if (scapegoatPlayer && isPlayerAliveAndPowerful(scapegoatPlayer, game)) {\n const playerVoteScapegoatedBySurvivorsDeath = createPlayerVoteScapegoatedBySurvivorsDeath();\n return this.playerKillerService.killOrRevealPlayer(scapegoatPlayer._id, clonedGame, playerVoteScapegoatedBySurvivorsDeath);\n }\n const sheriffPlayer = getPlayerWithActiveAttributeName(clonedGame, PlayerAttributeNames.SHERIFF);\n if (sheriffPlayer?.isAlive === true && mustSheriffSettleTieInVotes) {\n const gamePlaySheriffSettlesVotes = createGamePlaySheriffSettlesVotes();\n return prependUpcomingPlayInGame(gamePlaySheriffSettlesVotes, clonedGame);\n }\n if (clonedGame.currentPlay.cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlaySurvivorsVote = createGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlaySurvivorsVote, clonedGame);\n }\n return clonedGame;\n }\n\n private async survivorsVote({ votes, doesJudgeRequestAnotherVote }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n let clonedGame = createGame(game) as GameWithCurrentPlay;\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (doesJudgeRequestAnotherVote === true) {\n const gamePlaySurvivorsVote = createGamePlaySurvivorsVote({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST });\n clonedGame = appendUpcomingPlayInGame(gamePlaySurvivorsVote, clonedGame) as GameWithCurrentPlay;\n }\n if (nominatedPlayers.length > 1) {\n return this.handleTieInVotes(clonedGame);\n }\n if (nominatedPlayers.length === 1) {\n const playerVoteBySurvivorsDeath = createPlayerVoteBySurvivorsDeath();\n return this.playerKillerService.killOrRevealPlayer(nominatedPlayers[0]._id, clonedGame, playerVoteBySurvivorsDeath);\n }\n return clonedGame;\n }\n\n private handleTieInSheriffElection(nominatedPlayers: Player[], game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n if (clonedGame.currentPlay.cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES) {\n const gamePlaySurvivorsElectSheriff = createGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n return prependUpcomingPlayInGame(gamePlaySurvivorsElectSheriff, clonedGame);\n }\n const randomNominatedPlayer = sample(nominatedPlayers);\n if (randomNominatedPlayer) {\n const sheriffBySurvivorsPlayerAttribute = createSheriffBySurvivorsPlayerAttribute();\n return addPlayerAttributeInGame(randomNominatedPlayer._id, clonedGame, sheriffBySurvivorsPlayerAttribute);\n }\n return clonedGame;\n }\n\n private survivorsElectSheriff(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const { votes } = play;\n const nominatedPlayers = this.gamePlayVoteService.getNominatedPlayers(votes, clonedGame);\n if (!nominatedPlayers.length) {\n return clonedGame;\n }\n if (nominatedPlayers.length !== 1) {\n return this.handleTieInSheriffElection(nominatedPlayers, clonedGame);\n }\n const sheriffBySurvivorsPlayerAttribute = createSheriffBySurvivorsPlayerAttribute();\n return addPlayerAttributeInGame(nominatedPlayers[0]._id, clonedGame, sheriffBySurvivorsPlayerAttribute);\n }\n\n private async survivorsPlay(play: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game) as GameWithCurrentPlay;\n const survivorsPlayMethods: Partial Game | Promise>> = {\n [GamePlayActions.ELECT_SHERIFF]: () => this.survivorsElectSheriff(play, clonedGame),\n [GamePlayActions.VOTE]: async() => this.survivorsVote(play, clonedGame),\n };\n const survivorsPlayMethod = survivorsPlayMethods[clonedGame.currentPlay.action];\n if (survivorsPlayMethod === undefined) {\n return clonedGame;\n }\n return survivorsPlayMethod();\n }\n \n private thiefChoosesCard({ chosenCard }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const thiefPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.THIEF);\n if (!thiefPlayer || !chosenCard) {\n return clonedGame;\n }\n const chosenRole = ROLES.find(role => role.name === chosenCard.roleName);\n if (!chosenRole) {\n return clonedGame;\n }\n const newThiefSide: PlayerSide = { ...thiefPlayer.side, current: chosenRole.side };\n const newThiefRole: PlayerRole = { ...thiefPlayer.role, current: chosenRole.name };\n const playerDataToUpdate: Partial = { side: newThiefSide, role: newThiefRole };\n return updatePlayerInGame(thiefPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private scapegoatBansVoting({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n if (!targets) {\n return clonedGame;\n }\n const cantVoteByScapegoatPlayerAttribute = createCantVoteByScapegoatPlayerAttribute(clonedGame);\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, cantVoteByScapegoatPlayerAttribute);\n }\n \n private wolfHoundChoosesSide({ chosenSide }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const wolfHoundPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.WOLF_HOUND);\n if (!wolfHoundPlayer) {\n return clonedGame;\n }\n const wolfHoundSide = chosenSide ?? sample([RoleSides.VILLAGERS, RoleSides.WEREWOLVES]);\n const playerDataToUpdate: Partial = { side: { ...wolfHoundPlayer.side, current: wolfHoundSide } };\n return updatePlayerInGame(wolfHoundPlayer._id, playerDataToUpdate, clonedGame);\n }\n \n private wildChildChoosesModel({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const worshipedByWildChildPlayerAttribute = createWorshipedByWildChildPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, worshipedByWildChildPlayerAttribute);\n }\n\n private foxSniffs({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n const foxPlayer = getPlayerWithCurrentRole(clonedGame, RoleNames.FOX);\n const { isPowerlessIfMissesWerewolf: isFoxPowerlessIfMissesWerewolf } = clonedGame.options.roles.fox;\n if (targets?.length !== expectedTargetCount || !foxPlayer) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const foxSniffedPlayers = getFoxSniffedPlayers(targetedPlayer._id, clonedGame);\n const areEveryFoxSniffedPlayersVillagerSided = foxSniffedPlayers.every(player => player.side.current === RoleSides.VILLAGERS);\n if (isFoxPowerlessIfMissesWerewolf && areEveryFoxSniffedPlayersVillagerSided) {\n const powerlessByFoxPlayerAttribute = createPowerlessByFoxPlayerAttribute();\n return addPlayerAttributeInGame(foxPlayer._id, clonedGame, powerlessByFoxPlayerAttribute);\n }\n return clonedGame;\n }\n \n private scandalmongerMarks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const scandalmongerMarkByScandalmongerPlayerAttribute = createScandalmongerMarkByScandalmongerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, scandalmongerMarkByScandalmongerPlayerAttribute);\n }\n \n private defenderProtects({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const protectedByDefenderPlayerAttribute = createProtectedByDefenderPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, protectedByDefenderPlayerAttribute);\n }\n\n private async hunterShoots({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const shotByHunterDeath = createPlayerShotByHunterDeath();\n return this.playerKillerService.killOrRevealPlayer(targetedPlayer._id, clonedGame, shotByHunterDeath);\n }\n\n private witchUsesPotions({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n if (!targets) {\n return clonedGame;\n }\n const lifePotionAttribute = createDrankLifePotionByWitchPlayerAttribute();\n const deathPotionAttribute = createDrankDeathPotionByWitchPlayerAttribute();\n for (const target of targets) {\n const { player: targetedPlayer } = target;\n const drankPotionAttribute = target.drankPotion === WitchPotions.LIFE ? lifePotionAttribute : deathPotionAttribute;\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, drankPotionAttribute) as GameWithCurrentPlay;\n }\n return clonedGame;\n }\n\n private piedPiperCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n if (targets === undefined) {\n return clonedGame;\n }\n const charmedByPiedPiperPlayerAttribute = createCharmedByPiedPiperPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, charmedByPiedPiperPlayerAttribute);\n }\n\n private cupidCharms({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 2;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const inLoveByCupidPlayerAttribute = createInLoveByCupidPlayerAttribute();\n return addPlayersAttributeInGame(targets.map(({ player }) => player._id), clonedGame, inLoveByCupidPlayerAttribute);\n }\n\n private seerLooks({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const seenBySeerPlayerAttribute = createSeenBySeerPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, seenBySeerPlayerAttribute);\n }\n\n private whiteWerewolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByWhiteWerewolfPlayerAttribute = createEatenByWhiteWerewolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWhiteWerewolfPlayerAttribute);\n }\n\n private bigBadWolfEats({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Game {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer } = targets[0];\n const eatenByBigBadWolfPlayerAttribute = createEatenByBigBadWolfPlayerAttribute();\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByBigBadWolfPlayerAttribute);\n }\n\n private accursedWolfFatherInfects(targetedPlayer: Player, game: GameWithCurrentPlay): Game {\n let clonedGame = createGame(game);\n const { roles } = game.options;\n const playerDataToUpdate: Partial = { side: { ...targetedPlayer.side, current: RoleSides.WEREWOLVES } };\n if (targetedPlayer.role.current === RoleNames.PREJUDICED_MANIPULATOR && roles.prejudicedManipulator.isPowerlessIfInfected ||\n targetedPlayer.role.current === RoleNames.PIED_PIPER && roles.piedPiper.isPowerlessIfInfected) {\n clonedGame = addPlayerAttributeInGame(targetedPlayer._id, clonedGame, createPowerlessByAccursedWolfFatherPlayerAttribute());\n }\n return updatePlayerInGame(targetedPlayer._id, playerDataToUpdate, clonedGame);\n }\n\n private async werewolvesEat({ targets }: MakeGamePlayWithRelationsDto, game: GameWithCurrentPlay): Promise {\n const clonedGame = createGame(game);\n const expectedTargetCount = 1;\n if (targets?.length !== expectedTargetCount) {\n return clonedGame;\n }\n const { player: targetedPlayer, isInfected: isTargetInfected } = targets[0];\n const eatenByWerewolvesPlayerAttribute = createEatenByWerewolvesPlayerAttribute();\n const elderLivesCount = await this.playerKillerService.getElderLivesCountAgainstWerewolves(clonedGame, targetedPlayer);\n if (isTargetInfected === true && (targetedPlayer.role.current !== RoleNames.ELDER || elderLivesCount <= 1)) {\n return this.accursedWolfFatherInfects(targetedPlayer, clonedGame as GameWithCurrentPlay);\n }\n return addPlayerAttributeInGame(targetedPlayer._id, clonedGame, eatenByWerewolvesPlayerAttribute);\n }\n}" }, "src/modules/game/providers/services/game-play/game-play-validator.service.ts": { "language": "typescript", "mutants": [ { - "id": "1992", + "id": "1994", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74730,9 +74718,9 @@ "coveredBy": [ "0", "1", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -74746,7 +74734,7 @@ } }, { - "id": "1993", + "id": "1995", "mutatorName": "BooleanLiteral", "replacement": "game.currentPlay", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74759,9 +74747,9 @@ "coveredBy": [ "0", "1", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -74775,7 +74763,7 @@ } }, { - "id": "1994", + "id": "1996", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: thrown: undefined\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:193:5\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:173:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:41:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74788,9 +74776,9 @@ "coveredBy": [ "0", "1", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -74804,7 +74792,7 @@ } }, { - "id": "1995", + "id": "1997", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74817,9 +74805,9 @@ "coveredBy": [ "0", "1", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -74833,7 +74821,7 @@ } }, { - "id": "1996", + "id": "1998", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74858,7 +74846,7 @@ } }, { - "id": "1997", + "id": "1999", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"validateGamePlayWithRelationsDto\", {\"gameId\": \"a70ebd29d9bed4dfc9dabaee\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:190:91)", @@ -74883,7 +74871,7 @@ } }, { - "id": "1998", + "id": "2000", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(31,92): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", @@ -74905,7 +74893,7 @@ } }, { - "id": "1999", + "id": "2001", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -74934,7 +74922,7 @@ } }, { - "id": "2000", + "id": "2002", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(47,45): error TS18048: 'game.additionalCards' is possibly 'undefined'.\n", @@ -74960,7 +74948,7 @@ } }, { - "id": "2001", + "id": "2003", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(47,45): error TS18048: 'game.additionalCards' is possibly 'undefined'.\n", @@ -74986,7 +74974,7 @@ } }, { - "id": "2002", + "id": "2004", "mutatorName": "LogicalOperator", "replacement": "!game.additionalCards && !mustChooseBetweenWerewolves", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(47,45): error TS18048: 'game.additionalCards' is possibly 'undefined'.\n", @@ -75012,7 +75000,7 @@ } }, { - "id": "2003", + "id": "2005", "mutatorName": "BooleanLiteral", "replacement": "game.additionalCards", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(47,45): error TS18048: 'game.additionalCards' is possibly 'undefined'.\n", @@ -75038,7 +75026,7 @@ } }, { - "id": "2004", + "id": "2006", "mutatorName": "BooleanLiteral", "replacement": "mustChooseBetweenWerewolves", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75066,7 +75054,7 @@ } }, { - "id": "2005", + "id": "2007", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(45,45): error TS18048: 'game.additionalCards' is possibly 'undefined'.\n", @@ -75089,7 +75077,7 @@ } }, { - "id": "2006", + "id": "2008", "mutatorName": "MethodExpression", "replacement": "game.additionalCards.some(({\n roleName\n}) => WEREWOLF_ROLES.find(role => role.name === roleName))", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75116,7 +75104,7 @@ } }, { - "id": "2007", + "id": "2009", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75143,7 +75131,7 @@ } }, { - "id": "2008", + "id": "2010", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75170,7 +75158,7 @@ } }, { - "id": "2009", + "id": "2011", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75197,7 +75185,7 @@ } }, { - "id": "2010", + "id": "2012", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75224,7 +75212,7 @@ } }, { - "id": "2011", + "id": "2013", "mutatorName": "EqualityOperator", "replacement": "role.name !== roleName", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75251,7 +75239,7 @@ } }, { - "id": "2012", + "id": "2014", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75278,7 +75266,7 @@ } }, { - "id": "2013", + "id": "2015", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75305,7 +75293,7 @@ } }, { - "id": "2014", + "id": "2016", "mutatorName": "LogicalOperator", "replacement": "areAllAdditionalCardsWerewolves || !chosenCard", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:236:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75332,7 +75320,7 @@ } }, { - "id": "2015", + "id": "2017", "mutatorName": "BooleanLiteral", "replacement": "chosenCard", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 123 | } else {\n 124 | stryCov_9fa48(\"1927\");\n > 125 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.THIEF_MUST_CHOOSE_CARD);\n | ^\n 126 | }\n 127 | }\n 128 | }\n\n at GamePlayValidatorService.validateGamePlayThiefChosenCard (src/modules/game/providers/services/game-play/game-play-validator.service.ts:125:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:248:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:248:105)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:248:105)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75358,7 +75346,7 @@ } }, { - "id": "2016", + "id": "2018", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:261:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75383,7 +75371,7 @@ } }, { - "id": "2017", + "id": "2019", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -75391,14 +75379,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "7", "8", "9", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75412,7 +75400,7 @@ } }, { - "id": "2018", + "id": "2020", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -75420,14 +75408,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "7", "8", "9", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75441,7 +75429,7 @@ } }, { - "id": "2019", + "id": "2021", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:282:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75455,8 +75443,8 @@ "7", "8", "9", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75470,7 +75458,7 @@ } }, { - "id": "2020", + "id": "2022", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GamePlayActions.CHOOSE_CARD", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:282:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75484,8 +75472,8 @@ "7", "8", "9", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75499,7 +75487,7 @@ } }, { - "id": "2021", + "id": "2023", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:282:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75512,8 +75500,8 @@ "coveredBy": [ "7", "8", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75527,7 +75515,7 @@ } }, { - "id": "2022", + "id": "2024", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -75535,13 +75523,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "7", "8", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75555,7 +75543,7 @@ } }, { - "id": "2023", + "id": "2025", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:282:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75568,8 +75556,8 @@ "coveredBy": [ "7", "8", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -75583,7 +75571,7 @@ } }, { - "id": "2024", + "id": "2026", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:282:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75608,7 +75596,7 @@ } }, { - "id": "2025", + "id": "2027", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:305:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75636,7 +75624,7 @@ } }, { - "id": "2026", + "id": "2028", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 164 | } else {\n 165 | stryCov_9fa48(\"1941\");\n > 166 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.TOO_MUCH_DRANK_LIFE_POTION_TARGETS);\n | ^\n 167 | }\n 168 | }\n 169 | if (stryMutAct_9fa48(\"1944\") ? drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : stryMutAct_9fa48(\"1943\") ? false : stryMutAct_9fa48(\"1942\") ? true : (stryCov_9fa48(\"1942\", \"1943\", \"1944\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1945\") ? isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : (stryCov_9fa48(\"1945\"), !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game))))) {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:166:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75664,7 +75652,7 @@ } }, { - "id": "2027", + "id": "2029", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:305:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75692,7 +75680,7 @@ } }, { - "id": "2028", + "id": "2030", "mutatorName": "EqualityOperator", "replacement": "drankLifePotionTargets.length >= 1", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 164 | } else {\n 165 | stryCov_9fa48(\"1941\");\n > 166 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.TOO_MUCH_DRANK_LIFE_POTION_TARGETS);\n | ^\n 167 | }\n 168 | }\n 169 | if (stryMutAct_9fa48(\"1944\") ? drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : stryMutAct_9fa48(\"1943\") ? false : stryMutAct_9fa48(\"1942\") ? true : (stryCov_9fa48(\"1942\", \"1943\", \"1944\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1945\") ? isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : (stryCov_9fa48(\"1945\"), !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game))))) {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:166:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:331:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:331:116)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:331:116)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75720,7 +75708,7 @@ } }, { - "id": "2029", + "id": "2031", "mutatorName": "EqualityOperator", "replacement": "drankLifePotionTargets.length <= 1", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:305:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75748,7 +75736,7 @@ } }, { - "id": "2030", + "id": "2032", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:305:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75773,7 +75761,7 @@ } }, { - "id": "2031", + "id": "2033", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 172 | } else {\n 173 | stryCov_9fa48(\"1946\");\n > 174 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_LIFE_POTION_TARGET);\n | ^\n 175 | }\n 176 | }\n 177 | }\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:174:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75799,62 +75787,62 @@ } } }, - { - "id": "2032", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:315:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "11" - ], - "coveredBy": [ - "11", - "12", - "13" - ], - "location": { - "end": { - "column": 167, - "line": 67 - }, - "start": { - "column": 9, - "line": 67 - } - } - }, - { - "id": "2033", - "mutatorName": "LogicalOperator", - "replacement": "drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game)", - "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 167 | }\n 168 | }\n > 169 | if (stryMutAct_9fa48(\"1944\") ? drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : stryMutAct_9fa48(\"1943\") ? false : stryMutAct_9fa48(\"1942\") ? true : (stryCov_9fa48(\"1942\", \"1943\", \"1944\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1945\") ? isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : (stryCov_9fa48(\"1945\"), !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game))))) {\n | ^\n 170 | if (stryMutAct_9fa48(\"1946\")) {\n 171 | {}\n 172 | } else {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:169:138)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, - "static": false, - "killedBy": [ - "12" - ], - "coveredBy": [ - "11", - "12", - "13" - ], - "location": { - "end": { - "column": 167, - "line": 67 - }, - "start": { - "column": 9, - "line": 67 - } - } - }, { "id": "2034", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:315:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, + "static": false, + "killedBy": [ + "11" + ], + "coveredBy": [ + "11", + "12", + "13" + ], + "location": { + "end": { + "column": 167, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "2035", + "mutatorName": "LogicalOperator", + "replacement": "drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game)", + "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 167 | }\n 168 | }\n > 169 | if (stryMutAct_9fa48(\"1944\") ? drankLifePotionTargets.length || !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : stryMutAct_9fa48(\"1943\") ? false : stryMutAct_9fa48(\"1942\") ? true : (stryCov_9fa48(\"1942\", \"1943\", \"1944\"), drankLifePotionTargets.length && (stryMutAct_9fa48(\"1945\") ? isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game) : (stryCov_9fa48(\"1945\"), !isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game))))) {\n | ^\n 170 | if (stryMutAct_9fa48(\"1946\")) {\n 171 | {}\n 172 | } else {\n\n at GamePlayValidatorService.validateDrankLifePotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:169:138)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:322:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, + "static": false, + "killedBy": [ + "12" + ], + "coveredBy": [ + "11", + "12", + "13" + ], + "location": { + "end": { + "column": 167, + "line": 67 + }, + "start": { + "column": 9, + "line": 67 + } + } + }, + { + "id": "2036", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInteractableWithInteractionType(drankLifePotionTargets[0].player._id, PlayerInteractionTypes.GIVE_LIFE_POTION, game)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:315:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75880,7 +75868,7 @@ } }, { - "id": "2035", + "id": "2037", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:315:112)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75905,7 +75893,7 @@ } }, { - "id": "2036", + "id": "2038", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:345:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75933,7 +75921,7 @@ } }, { - "id": "2037", + "id": "2039", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 187 | } else {\n 188 | stryCov_9fa48(\"1952\");\n > 189 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.TOO_MUCH_DRANK_DEATH_POTION_TARGETS);\n | ^\n 190 | }\n 191 | }\n 192 | if (stryMutAct_9fa48(\"1955\") ? drankDeathPotionTargets.length || !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : stryMutAct_9fa48(\"1954\") ? false : stryMutAct_9fa48(\"1953\") ? true : (stryCov_9fa48(\"1953\", \"1954\", \"1955\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1956\") ? isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : (stryCov_9fa48(\"1956\"), !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game))))) {\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:189:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75961,7 +75949,7 @@ } }, { - "id": "2038", + "id": "2040", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:345:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -75989,7 +75977,7 @@ } }, { - "id": "2039", + "id": "2041", "mutatorName": "EqualityOperator", "replacement": "drankDeathPotionTargets.length >= 1", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 187 | } else {\n 188 | stryCov_9fa48(\"1952\");\n > 189 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.TOO_MUCH_DRANK_DEATH_POTION_TARGETS);\n | ^\n 190 | }\n 191 | }\n 192 | if (stryMutAct_9fa48(\"1955\") ? drankDeathPotionTargets.length || !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : stryMutAct_9fa48(\"1954\") ? false : stryMutAct_9fa48(\"1953\") ? true : (stryCov_9fa48(\"1953\", \"1954\", \"1955\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1956\") ? isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : (stryCov_9fa48(\"1956\"), !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game))))) {\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:189:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:371:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:371:118)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:371:118)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76017,7 +76005,7 @@ } }, { - "id": "2040", + "id": "2042", "mutatorName": "EqualityOperator", "replacement": "drankDeathPotionTargets.length <= 1", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:345:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76045,7 +76033,7 @@ } }, { - "id": "2041", + "id": "2043", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:345:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76070,7 +76058,7 @@ } }, { - "id": "2042", + "id": "2044", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 195 | } else {\n 196 | stryCov_9fa48(\"1957\");\n > 197 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_DEATH_POTION_TARGET);\n | ^\n 198 | }\n 199 | }\n 200 | }\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:197:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76097,7 +76085,7 @@ } }, { - "id": "2043", + "id": "2045", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:355:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76124,7 +76112,7 @@ } }, { - "id": "2044", + "id": "2046", "mutatorName": "LogicalOperator", "replacement": "drankDeathPotionTargets.length || !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game)", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 190 | }\n 191 | }\n > 192 | if (stryMutAct_9fa48(\"1955\") ? drankDeathPotionTargets.length || !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : stryMutAct_9fa48(\"1954\") ? false : stryMutAct_9fa48(\"1953\") ? true : (stryCov_9fa48(\"1953\", \"1954\", \"1955\"), drankDeathPotionTargets.length && (stryMutAct_9fa48(\"1956\") ? isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game) : (stryCov_9fa48(\"1956\"), !isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game))))) {\n | ^\n 193 | if (stryMutAct_9fa48(\"1957\")) {\n 194 | {}\n 195 | } else {\n\n at GamePlayValidatorService.validateDrankDeathPotionTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:192:140)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:362:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76151,7 +76139,7 @@ } }, { - "id": "2045", + "id": "2047", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInteractableWithInteractionType(drankDeathPotionTargets[0].player._id, PlayerInteractionTypes.GIVE_DEATH_POTION, game)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:355:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76177,7 +76165,7 @@ } }, { - "id": "2046", + "id": "2048", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:355:114)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76202,7 +76190,7 @@ } }, { - "id": "2047", + "id": "2049", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76234,7 +76222,7 @@ } }, { - "id": "2048", + "id": "2050", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76266,7 +76254,7 @@ } }, { - "id": "2049", + "id": "2051", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76298,7 +76286,7 @@ } }, { - "id": "2050", + "id": "2052", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length >= 0", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76330,7 +76318,7 @@ } }, { - "id": "2051", + "id": "2053", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length <= 0", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76362,7 +76350,7 @@ } }, { - "id": "2052", + "id": "2054", "mutatorName": "MethodExpression", "replacement": "playTargets", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"feb9178286edeea5fbe0a2c3\", \"createdAt\": 2023-11-26T08:37:18.491Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 4690490368720896}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 2842421834547200, \"turn\": 7901188584374272, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T17:34:39.787Z}], but it was called with [{\"player\": {\"_id\": \"cdccbb0ce8cef7c525fdc62a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Loy\", \"position\": 1884695035904000, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:466:77)", @@ -76394,7 +76382,7 @@ } }, { - "id": "2053", + "id": "2055", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76426,7 +76414,7 @@ } }, { - "id": "2054", + "id": "2056", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"91aecc9afda61328cfa190ee\", \"createdAt\": 2023-11-26T08:12:30.638Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 4190946231058432}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"canceled\", \"tick\": 7751888992731136, \"turn\": 6997643655905280, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T00:18:38.796Z}], but it was called with [{\"player\": {\"_id\": \"acaf88e82a9f609fd7aef818\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reyna\", \"position\": 1331584586219520, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:466:77)", @@ -76458,7 +76446,7 @@ } }, { - "id": "2055", + "id": "2057", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76490,7 +76478,7 @@ } }, { - "id": "2056", + "id": "2058", "mutatorName": "EqualityOperator", "replacement": "drankPotion !== WitchPotions.LIFE", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"def393cda21fb84beccb7f35\", \"createdAt\": 2023-11-25T22:49:53.634Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 438325557067776}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [], \"status\": \"over\", \"tick\": 4240001332150272, \"turn\": 448553136685056, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T09:09:53.474Z}], but it was called with [{\"player\": {\"_id\": \"1e9cef22403fca6f4cba7d12\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shea\", \"position\": 1171501239762944, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:466:77)", @@ -76522,7 +76510,7 @@ } }, { - "id": "2057", + "id": "2059", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76554,7 +76542,7 @@ } }, { - "id": "2058", + "id": "2060", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:438:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76586,7 +76574,7 @@ } }, { - "id": "2059", + "id": "2061", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length >= 0", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76618,7 +76606,7 @@ } }, { - "id": "2060", + "id": "2062", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length <= 0", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:438:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76650,7 +76638,7 @@ } }, { - "id": "2061", + "id": "2063", "mutatorName": "MethodExpression", "replacement": "playTargets", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"d2fb6dcd5e50ed660aa499df\", \"createdAt\": 2023-11-26T06:54:38.692Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6068866004287488}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"over\", \"tick\": 6607930581319680, \"turn\": 3844208104308736, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T04:03:46.695Z}], but it was called with [{\"player\": {\"_id\": \"4bdbc58c2babbb1a79efa2a9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ariane\", \"position\": 4998975218253824, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:467:78)", @@ -76682,7 +76670,7 @@ } }, { - "id": "2062", + "id": "2064", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:438:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76714,7 +76702,7 @@ } }, { - "id": "2063", + "id": "2065", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"e09f1eeb6f1ba876cb0fdd9c\", \"createdAt\": 2023-11-26T05:03:52.511Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 7264086079307776}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"over\", \"tick\": 3229475030433792, \"turn\": 3178953955082240, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T16:47:42.252Z}], but it was called with [{\"player\": {\"_id\": \"5ab36d80e6e68e4bab23fb4f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Nikolas\", \"position\": 2429803995070464, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:467:78)", @@ -76746,7 +76734,7 @@ } }, { - "id": "2064", + "id": "2066", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:438:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76778,7 +76766,7 @@ } }, { - "id": "2065", + "id": "2067", "mutatorName": "EqualityOperator", "replacement": "drankPotion !== WitchPotions.DEATH", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [[], {\"_id\": \"4eef6c007cbdbbad1b8ec78f\", \"createdAt\": 2023-11-26T00:44:57.476Z, \"currentPlay\": {\"action\": \"use-potions\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"witch\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6420637113384960}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [], \"status\": \"over\", \"tick\": 7641497568542720, \"turn\": 6012564479672320, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T11:13:25.001Z}], but it was called with [{\"player\": {\"_id\": \"e74af3d87293e91f4cbf441d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Humberto\", \"position\": 748240425189376, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:467:78)", @@ -76810,7 +76798,7 @@ } }, { - "id": "2066", + "id": "2068", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:465:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76842,7 +76830,7 @@ } }, { - "id": "2067", + "id": "2069", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76874,7 +76862,7 @@ } }, { - "id": "2068", + "id": "2070", "mutatorName": "LogicalOperator", "replacement": "hasWitchUsedLifePotion && drankLifePotionTargets.length && hasWitchUsedDeathPotion && drankDeathPotionTargets.length", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76906,7 +76894,7 @@ } }, { - "id": "2069", + "id": "2071", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76938,7 +76926,7 @@ } }, { - "id": "2070", + "id": "2072", "mutatorName": "LogicalOperator", "replacement": "hasWitchUsedLifePotion || drankLifePotionTargets.length", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -76970,7 +76958,7 @@ } }, { - "id": "2071", + "id": "2073", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:438:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77000,7 +76988,7 @@ } }, { - "id": "2072", + "id": "2074", "mutatorName": "LogicalOperator", "replacement": "hasWitchUsedDeathPotion || drankDeathPotionTargets.length", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:479:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77030,7 +77018,7 @@ } }, { - "id": "2073", + "id": "2075", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:399:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77058,7 +77046,7 @@ } }, { - "id": "2074", + "id": "2076", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77087,7 +77075,7 @@ } }, { - "id": "2075", + "id": "2077", "mutatorName": "MethodExpression", "replacement": "playTargets", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:569:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77116,7 +77104,7 @@ } }, { - "id": "2076", + "id": "2078", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77145,7 +77133,7 @@ } }, { - "id": "2077", + "id": "2079", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:569:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77174,7 +77162,7 @@ } }, { - "id": "2078", + "id": "2080", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77203,7 +77191,7 @@ } }, { - "id": "2079", + "id": "2081", "mutatorName": "EqualityOperator", "replacement": "isInfected !== true", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77232,7 +77220,7 @@ } }, { - "id": "2080", + "id": "2082", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77261,7 +77249,7 @@ } }, { - "id": "2081", + "id": "2083", "mutatorName": "BooleanLiteral", "replacement": "infectedTargets.length", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77290,7 +77278,7 @@ } }, { - "id": "2082", + "id": "2084", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(100,64): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -77316,7 +77304,7 @@ } }, { - "id": "2083", + "id": "2085", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:569:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77345,7 +77333,7 @@ } }, { - "id": "2084", + "id": "2086", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:569:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77370,7 +77358,7 @@ } }, { - "id": "2085", + "id": "2087", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:583:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77398,7 +77386,7 @@ } }, { - "id": "2086", + "id": "2088", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:562:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77426,7 +77414,7 @@ } }, { - "id": "2087", + "id": "2089", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryAccursedWolfFatherInfectedRecords(game._id)).length >= 0", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:583:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77454,7 +77442,7 @@ } }, { - "id": "2088", + "id": "2090", "mutatorName": "EqualityOperator", "replacement": "(await this.gameHistoryRecordService.getGameHistoryAccursedWolfFatherInfectedRecords(game._id)).length <= 0", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:562:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77482,7 +77470,7 @@ } }, { - "id": "2089", + "id": "2091", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:583:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77510,7 +77498,7 @@ } }, { - "id": "2090", + "id": "2092", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77538,7 +77526,7 @@ } }, { - "id": "2091", + "id": "2093", "mutatorName": "LogicalOperator", "replacement": "(!accursedWolfFatherPlayer || !isPlayerAliveAndPowerful(accursedWolfFatherPlayer, game)) && hasAccursedWolfFatherInfected", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77566,7 +77554,7 @@ } }, { - "id": "2092", + "id": "2094", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77594,7 +77582,7 @@ } }, { - "id": "2093", + "id": "2095", "mutatorName": "LogicalOperator", "replacement": "!accursedWolfFatherPlayer && !isPlayerAliveAndPowerful(accursedWolfFatherPlayer, game)", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(100,64): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -77619,7 +77607,7 @@ } }, { - "id": "2094", + "id": "2096", "mutatorName": "BooleanLiteral", "replacement": "accursedWolfFatherPlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(100,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -77644,7 +77632,7 @@ } }, { - "id": "2095", + "id": "2097", "mutatorName": "BooleanLiteral", "replacement": "isPlayerAliveAndPowerful(accursedWolfFatherPlayer, game)", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:583:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77671,7 +77659,7 @@ } }, { - "id": "2096", + "id": "2098", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:525:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77698,7 +77686,7 @@ } }, { - "id": "2097", + "id": "2099", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(103,61): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ min: number; max: number; }'.\n Type '{}' is missing the following properties from type '{ min: number; max: number; }': min, max\n", @@ -77720,7 +77708,7 @@ } }, { - "id": "2098", + "id": "2100", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77752,7 +77740,7 @@ } }, { - "id": "2099", + "id": "2101", "mutatorName": "BooleanLiteral", "replacement": "playTargets.length", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:597:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77784,7 +77772,7 @@ } }, { - "id": "2100", + "id": "2102", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77816,7 +77804,7 @@ } }, { - "id": "2101", + "id": "2103", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:597:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77848,7 +77836,7 @@ } }, { - "id": "2102", + "id": "2104", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:597:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77873,7 +77861,7 @@ } }, { - "id": "2103", + "id": "2105", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:657:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77904,7 +77892,7 @@ } }, { - "id": "2104", + "id": "2106", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77935,7 +77923,7 @@ } }, { - "id": "2105", + "id": "2107", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source.name === PlayerGroups.WEREWOLVES || !canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:675:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77966,7 +77954,7 @@ } }, { - "id": "2106", + "id": "2108", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "BadGamePlayPayloadException: Bad game play payload\n at GamePlayValidatorService.validateGamePlayWerewolvesTargets (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/providers/services/game-play/game-play-validator.service.ts:279:17)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:688:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -77997,7 +77985,7 @@ } }, { - "id": "2107", + "id": "2109", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source.name !== PlayerGroups.WEREWOLVES", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78028,7 +78016,7 @@ } }, { - "id": "2108", + "id": "2110", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78054,7 +78042,7 @@ } }, { - "id": "2109", + "id": "2111", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:612:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78079,7 +78067,7 @@ } }, { - "id": "2110", + "id": "2112", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:657:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78109,7 +78097,7 @@ } }, { - "id": "2111", + "id": "2113", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:627:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78139,7 +78127,7 @@ } }, { - "id": "2112", + "id": "2114", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source.name === RoleNames.BIG_BAD_WOLF || !canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:666:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78169,7 +78157,7 @@ } }, { - "id": "2113", + "id": "2115", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "BadGamePlayPayloadException: Bad game play payload\n at GamePlayValidatorService.validateGamePlayWerewolvesTargets (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/providers/services/game-play/game-play-validator.service.ts:287:17)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:688:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78199,7 +78187,7 @@ } }, { - "id": "2114", + "id": "2116", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source.name !== RoleNames.BIG_BAD_WOLF", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:627:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78229,7 +78217,7 @@ } }, { - "id": "2115", + "id": "2117", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:627:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78255,7 +78243,7 @@ } }, { - "id": "2116", + "id": "2118", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:627:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78280,7 +78268,7 @@ } }, { - "id": "2117", + "id": "2119", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:657:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78309,7 +78297,7 @@ } }, { - "id": "2118", + "id": "2120", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:643:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78338,7 +78326,7 @@ } }, { - "id": "2119", + "id": "2121", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.source.name === RoleNames.WHITE_WEREWOLF || !canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:657:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78367,7 +78355,7 @@ } }, { - "id": "2120", + "id": "2122", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "BadGamePlayPayloadException: Bad game play payload\n at GamePlayValidatorService.validateGamePlayWerewolvesTargets (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/providers/services/game-play/game-play-validator.service.ts:295:17)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:688:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78396,7 +78384,7 @@ } }, { - "id": "2121", + "id": "2123", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.source.name !== RoleNames.WHITE_WEREWOLF", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:643:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78425,7 +78413,7 @@ } }, { - "id": "2122", + "id": "2124", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeEaten", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:643:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78451,7 +78439,7 @@ } }, { - "id": "2123", + "id": "2125", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:643:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78476,7 +78464,7 @@ } }, { - "id": "2124", + "id": "2126", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:701:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78502,7 +78490,7 @@ } }, { - "id": "2125", + "id": "2127", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeShot", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:701:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78528,7 +78516,7 @@ } }, { - "id": "2126", + "id": "2128", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 311 | } else {\n 312 | stryCov_9fa48(\"2039\");\n > 313 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_HUNTER_TARGET);\n | ^\n 314 | }\n 315 | }\n 316 | }\n\n at GamePlayValidatorService.validateGamePlayHunterTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:313:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:709:79\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:709:128)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:709:128)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78554,7 +78542,7 @@ } }, { - "id": "2127", + "id": "2129", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:701:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78580,7 +78568,7 @@ } }, { - "id": "2128", + "id": "2130", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:701:124)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78605,7 +78593,7 @@ } }, { - "id": "2129", + "id": "2131", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78631,7 +78619,7 @@ } }, { - "id": "2130", + "id": "2132", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 330 | } else {\n 331 | stryCov_9fa48(\"2046\");\n > 332 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SCAPEGOAT_TARGETS);\n | ^\n 333 | }\n 334 | }\n 335 | }\n\n at GamePlayValidatorService.validateGamePlayScapegoatTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:332:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:131)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78657,7 +78645,7 @@ } }, { - "id": "2131", + "id": "2133", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78683,7 +78671,7 @@ } }, { - "id": "2132", + "id": "2134", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n player\n}) => !isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.BAN_VOTING, game))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78709,7 +78697,7 @@ } }, { - "id": "2133", + "id": "2135", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78735,7 +78723,7 @@ } }, { - "id": "2134", + "id": "2136", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.BAN_VOTING, game)", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 330 | } else {\n 331 | stryCov_9fa48(\"2046\");\n > 332 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SCAPEGOAT_TARGETS);\n | ^\n 333 | }\n 334 | }\n 335 | }\n\n at GamePlayValidatorService.validateGamePlayScapegoatTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:332:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:131)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:737:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78761,7 +78749,7 @@ } }, { - "id": "2135", + "id": "2137", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:725:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78786,7 +78774,7 @@ } }, { - "id": "2136", + "id": "2138", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:752:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78812,7 +78800,7 @@ } }, { - "id": "2137", + "id": "2139", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 349 | } else {\n 350 | stryCov_9fa48(\"2053\");\n > 351 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_CUPID_TARGETS);\n | ^\n 352 | }\n 353 | }\n 354 | }\n\n at GamePlayValidatorService.validateGamePlayCupidTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:351:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:78\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78838,7 +78826,7 @@ } }, { - "id": "2138", + "id": "2140", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:752:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78864,7 +78852,7 @@ } }, { - "id": "2139", + "id": "2141", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n player\n}) => !isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.CHARM, game))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:752:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78890,7 +78878,7 @@ } }, { - "id": "2140", + "id": "2142", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:752:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78916,7 +78904,7 @@ } }, { - "id": "2141", + "id": "2143", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.CHARM, game)", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 349 | } else {\n 350 | stryCov_9fa48(\"2053\");\n > 351 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_CUPID_TARGETS);\n | ^\n 352 | }\n 353 | }\n 354 | }\n\n at GamePlayValidatorService.validateGamePlayCupidTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:351:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:78\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:763:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78942,7 +78930,7 @@ } }, { - "id": "2142", + "id": "2144", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:752:123)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78967,7 +78955,7 @@ } }, { - "id": "2143", + "id": "2145", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:774:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -78993,7 +78981,7 @@ } }, { - "id": "2144", + "id": "2146", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeSniffed", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:774:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79019,7 +79007,7 @@ } }, { - "id": "2145", + "id": "2147", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 366 | } else {\n 367 | stryCov_9fa48(\"2058\");\n > 368 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_FOX_TARGET);\n | ^\n 369 | }\n 370 | }\n 371 | }\n\n at GamePlayValidatorService.validateGamePlayFoxTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:368:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:782:76\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:782:125)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:782:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79045,7 +79033,7 @@ } }, { - "id": "2146", + "id": "2148", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:774:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79071,7 +79059,7 @@ } }, { - "id": "2147", + "id": "2149", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:774:121)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79096,7 +79084,7 @@ } }, { - "id": "2148", + "id": "2150", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:793:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79109,7 +79097,7 @@ "coveredBy": [ "47", "48", - "621" + "622" ], "location": { "end": { @@ -79123,7 +79111,7 @@ } }, { - "id": "2149", + "id": "2151", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeSeen", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -79131,12 +79119,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "47", "48", - "621" + "622" ], "location": { "end": { @@ -79150,7 +79138,7 @@ } }, { - "id": "2150", + "id": "2152", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -79158,12 +79146,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "47", "48", - "621" + "622" ], "location": { "end": { @@ -79177,7 +79165,7 @@ } }, { - "id": "2151", + "id": "2153", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:793:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79190,7 +79178,7 @@ "coveredBy": [ "47", "48", - "621" + "622" ], "location": { "end": { @@ -79204,7 +79192,7 @@ } }, { - "id": "2152", + "id": "2154", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:793:122)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79229,7 +79217,7 @@ } }, { - "id": "2153", + "id": "2155", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:812:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79256,7 +79244,7 @@ } }, { - "id": "2154", + "id": "2156", "mutatorName": "BooleanLiteral", "replacement": "playTargets.length", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:812:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79283,7 +79271,7 @@ } }, { - "id": "2155", + "id": "2157", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:812:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79310,7 +79298,7 @@ } }, { - "id": "2156", + "id": "2158", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 401 | }\n 402 | }\n > 403 | const targetedPlayer = playTargets[0].player;\n | ^\n 404 | const canTargetedPlayerBeMarked = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.MARK, game);\n 405 | if (stryMutAct_9fa48(\"2070\") ? false : stryMutAct_9fa48(\"2069\") ? true : stryMutAct_9fa48(\"2068\") ? canTargetedPlayerBeMarked : (stryCov_9fa48(\"2068\", \"2069\", \"2070\"), !canTargetedPlayerBeMarked)) {\n 406 | if (stryMutAct_9fa48(\"2071\")) {\n\n at GamePlayValidatorService.validateGamePlayScandalmongerTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:403:45)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:86\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79337,7 +79325,7 @@ } }, { - "id": "2157", + "id": "2159", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"TypeError\"\nError message: \"Cannot read properties of undefined (reading 'player')\"\n\n 401 | }\n 402 | }\n > 403 | const targetedPlayer = playTargets[0].player;\n | ^\n 404 | const canTargetedPlayerBeMarked = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.MARK, game);\n 405 | if (stryMutAct_9fa48(\"2070\") ? false : stryMutAct_9fa48(\"2069\") ? true : stryMutAct_9fa48(\"2068\") ? canTargetedPlayerBeMarked : (stryCov_9fa48(\"2068\", \"2069\", \"2070\"), !canTargetedPlayerBeMarked)) {\n 406 | if (stryMutAct_9fa48(\"2071\")) {\n\n at GamePlayValidatorService.validateGamePlayScandalmongerTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:403:45)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:86\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:820:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79362,7 +79350,7 @@ } }, { - "id": "2158", + "id": "2160", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeMarked", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:812:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79388,7 +79376,7 @@ } }, { - "id": "2159", + "id": "2161", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 408 | } else {\n 409 | stryCov_9fa48(\"2071\");\n > 410 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SCANDALMONGER_TARGET);\n | ^\n 411 | }\n 412 | }\n 413 | }\n\n at GamePlayValidatorService.validateGamePlayScandalmongerTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:410:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:828:86\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:828:135)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:828:135)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79414,7 +79402,7 @@ } }, { - "id": "2160", + "id": "2162", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:812:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79440,7 +79428,7 @@ } }, { - "id": "2161", + "id": "2163", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", @@ -79461,7 +79449,7 @@ } }, { - "id": "2162", + "id": "2164", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:846:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79487,7 +79475,7 @@ } }, { - "id": "2163", + "id": "2165", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeChosenAsModel", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:846:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79513,7 +79501,7 @@ } }, { - "id": "2164", + "id": "2166", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 425 | } else {\n 426 | stryCov_9fa48(\"2077\");\n > 427 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_WILD_CHILD_TARGET);\n | ^\n 428 | }\n 429 | }\n 430 | }\n\n at GamePlayValidatorService.validateGamePlayWildChildTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:427:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:854:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:854:131)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:854:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79539,7 +79527,7 @@ } }, { - "id": "2165", + "id": "2167", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:846:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79565,7 +79553,7 @@ } }, { - "id": "2166", + "id": "2168", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:846:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79590,7 +79578,7 @@ } }, { - "id": "2167", + "id": "2169", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:876:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79617,7 +79605,7 @@ } }, { - "id": "2168", + "id": "2170", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 444 | } else {\n 445 | stryCov_9fa48(\"2084\");\n > 446 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_PIED_PIPER_TARGETS);\n | ^\n 447 | }\n 448 | }\n 449 | }\n\n at GamePlayValidatorService.validateGamePlayPiedPiperTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:446:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:131)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79644,7 +79632,7 @@ } }, { - "id": "2169", + "id": "2171", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:876:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79671,7 +79659,7 @@ } }, { - "id": "2170", + "id": "2172", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n player\n}) => !isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.CHARM, game))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:876:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79698,7 +79686,7 @@ } }, { - "id": "2171", + "id": "2173", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:876:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79725,7 +79713,7 @@ } }, { - "id": "2172", + "id": "2174", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInteractableWithInteractionType(player._id, PlayerInteractionTypes.CHARM, game)", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 444 | } else {\n 445 | stryCov_9fa48(\"2084\");\n > 446 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_PIED_PIPER_TARGETS);\n | ^\n 447 | }\n 448 | }\n 449 | }\n\n at GamePlayValidatorService.validateGamePlayPiedPiperTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:446:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:82\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:131)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:893:131)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79752,7 +79740,7 @@ } }, { - "id": "2173", + "id": "2175", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:876:127)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79777,7 +79765,7 @@ } }, { - "id": "2174", + "id": "2176", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:915:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79803,7 +79791,7 @@ } }, { - "id": "2175", + "id": "2177", "mutatorName": "BooleanLiteral", "replacement": "canTargetedPlayerBeProtected", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:915:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79829,7 +79817,7 @@ } }, { - "id": "2176", + "id": "2178", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 461 | } else {\n 462 | stryCov_9fa48(\"2088\");\n > 463 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_DEFENDER_TARGET);\n | ^\n 464 | }\n 465 | }\n 466 | }\n\n at GamePlayValidatorService.validateGamePlayDefenderTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:463:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:925:81\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:925:130)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:925:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79855,7 +79843,7 @@ } }, { - "id": "2177", + "id": "2179", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:915:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79881,7 +79869,7 @@ } }, { - "id": "2178", + "id": "2180", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:915:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79906,7 +79894,7 @@ } }, { - "id": "2179", + "id": "2181", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:952:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79936,7 +79924,7 @@ } }, { - "id": "2180", + "id": "2182", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 478 | } else {\n 479 | stryCov_9fa48(\"2097\");\n > 480 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_DELEGATE_TARGET);\n | ^\n 481 | }\n 482 | }\n 483 | const canTargetBeSentencedToDeath = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.SENTENCE_TO_DEATH, game);\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:480:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79966,7 +79954,7 @@ } }, { - "id": "2181", + "id": "2183", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:961:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -79996,7 +79984,7 @@ } }, { - "id": "2182", + "id": "2184", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GamePlayActions.DELEGATE || !canTargetBecomeSheriff", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 478 | } else {\n 479 | stryCov_9fa48(\"2097\");\n > 480 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_DELEGATE_TARGET);\n | ^\n 481 | }\n 482 | }\n 483 | const canTargetBeSentencedToDeath = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.SENTENCE_TO_DEATH, game);\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:480:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80026,7 +80014,7 @@ } }, { - "id": "2183", + "id": "2185", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 478 | } else {\n 479 | stryCov_9fa48(\"2097\");\n > 480 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_DELEGATE_TARGET);\n | ^\n 481 | }\n 482 | }\n 483 | const canTargetBeSentencedToDeath = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.SENTENCE_TO_DEATH, game);\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:480:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:991:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:991:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:991:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80056,7 +80044,7 @@ } }, { - "id": "2184", + "id": "2186", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GamePlayActions.DELEGATE", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:961:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80086,7 +80074,7 @@ } }, { - "id": "2185", + "id": "2187", "mutatorName": "BooleanLiteral", "replacement": "canTargetBecomeSheriff", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 478 | } else {\n 479 | stryCov_9fa48(\"2097\");\n > 480 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_DELEGATE_TARGET);\n | ^\n 481 | }\n 482 | }\n 483 | const canTargetBeSentencedToDeath = isPlayerInteractableWithInteractionType(targetedPlayer._id, PlayerInteractionTypes.SENTENCE_TO_DEATH, game);\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:480:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:943:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80113,7 +80101,7 @@ } }, { - "id": "2186", + "id": "2188", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:961:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80138,7 +80126,7 @@ } }, { - "id": "2187", + "id": "2189", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 487 | } else {\n 488 | stryCov_9fa48(\"2104\");\n > 489 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_SETTLE_VOTES_TARGET);\n | ^\n 490 | }\n 491 | }\n 492 | }\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:489:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:935:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80167,7 +80155,7 @@ } }, { - "id": "2188", + "id": "2190", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:952:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80196,7 +80184,7 @@ } }, { - "id": "2189", + "id": "2191", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GamePlayActions.SETTLE_VOTES || !canTargetBeSentencedToDeath", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 487 | } else {\n 488 | stryCov_9fa48(\"2104\");\n > 489 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_SETTLE_VOTES_TARGET);\n | ^\n 490 | }\n 491 | }\n 492 | }\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:489:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80225,7 +80213,7 @@ } }, { - "id": "2190", + "id": "2192", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 487 | } else {\n 488 | stryCov_9fa48(\"2104\");\n > 489 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_SHERIFF_SETTLE_VOTES_TARGET);\n | ^\n 490 | }\n 491 | }\n 492 | }\n\n at GamePlayValidatorService.validateGamePlaySheriffTargets (src/modules/game/providers/services/game-play/game-play-validator.service.ts:489:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:80\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:129)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:976:129)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80254,7 +80242,7 @@ } }, { - "id": "2191", + "id": "2193", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GamePlayActions.SETTLE_VOTES", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:952:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80283,7 +80271,7 @@ } }, { - "id": "2192", + "id": "2194", "mutatorName": "BooleanLiteral", "replacement": "canTargetBeSentencedToDeath", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:952:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80309,7 +80297,7 @@ } }, { - "id": "2193", + "id": "2195", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:952:125)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80334,7 +80322,7 @@ } }, { - "id": "2194", + "id": "2196", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1004:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80350,7 +80338,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80364,7 +80352,7 @@ } }, { - "id": "2195", + "id": "2197", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -80372,7 +80360,7 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "30", @@ -80380,7 +80368,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80394,7 +80382,7 @@ } }, { - "id": "2196", + "id": "2198", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1004:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80410,7 +80398,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80424,7 +80412,7 @@ } }, { - "id": "2197", + "id": "2199", "mutatorName": "EqualityOperator", "replacement": "playTargets.length <= lengthBoundaries.min", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -80432,7 +80420,7 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "30", @@ -80440,7 +80428,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80454,7 +80442,7 @@ } }, { - "id": "2198", + "id": "2200", "mutatorName": "EqualityOperator", "replacement": "playTargets.length >= lengthBoundaries.min", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:583:126)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80470,7 +80458,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80484,7 +80472,7 @@ } }, { - "id": "2199", + "id": "2201", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1004:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80509,7 +80497,7 @@ } }, { - "id": "2200", + "id": "2202", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -80517,14 +80505,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "30", "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80538,7 +80526,7 @@ } }, { - "id": "2201", + "id": "2203", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1015:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80553,7 +80541,7 @@ "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80567,7 +80555,7 @@ } }, { - "id": "2202", + "id": "2204", "mutatorName": "EqualityOperator", "replacement": "playTargets.length >= lengthBoundaries.max", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -80575,14 +80563,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "30", "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80596,7 +80584,7 @@ } }, { - "id": "2203", + "id": "2205", "mutatorName": "EqualityOperator", "replacement": "playTargets.length <= lengthBoundaries.max", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -80604,14 +80592,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "30", "66", "67", "68", - "621" + "622" ], "location": { "end": { @@ -80625,7 +80613,7 @@ } }, { - "id": "2204", + "id": "2206", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1015:142)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -80650,7 +80638,7 @@ } }, { - "id": "2205", + "id": "2207", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1059:77)", @@ -80675,7 +80663,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80689,7 +80677,7 @@ } }, { - "id": "2206", + "id": "2208", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1059:77)", @@ -80714,7 +80702,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80728,7 +80716,7 @@ } }, { - "id": "2207", + "id": "2209", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1059:77)", @@ -80753,7 +80741,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80767,7 +80755,7 @@ } }, { - "id": "2208", + "id": "2210", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "status": "Timeout", @@ -80788,7 +80776,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80802,7 +80790,7 @@ } }, { - "id": "2209", + "id": "2211", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1095:80)", @@ -80827,7 +80815,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80841,7 +80829,7 @@ } }, { - "id": "2210", + "id": "2212", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1113:80)", @@ -80866,7 +80854,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80880,7 +80868,7 @@ } }, { - "id": "2211", + "id": "2213", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1132:78)", @@ -80905,7 +80893,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80919,7 +80907,7 @@ } }, { - "id": "2212", + "id": "2214", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1151:79)", @@ -80944,7 +80932,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80958,7 +80946,7 @@ } }, { - "id": "2213", + "id": "2215", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1170:79)", @@ -80983,7 +80971,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -80997,7 +80985,7 @@ } }, { - "id": "2214", + "id": "2216", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1189:83)", @@ -81022,7 +81010,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81036,7 +81024,7 @@ } }, { - "id": "2215", + "id": "2217", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1208:74)", @@ -81061,7 +81049,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81075,7 +81063,7 @@ } }, { - "id": "2216", + "id": "2218", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1227:73)", @@ -81100,7 +81088,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81114,7 +81102,7 @@ } }, { - "id": "2217", + "id": "2219", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1246:75)", @@ -81139,7 +81127,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81153,7 +81141,7 @@ } }, { - "id": "2218", + "id": "2220", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1265:79)", @@ -81178,7 +81166,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81192,7 +81180,7 @@ } }, { - "id": "2219", + "id": "2221", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1284:76)", @@ -81217,7 +81205,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81231,7 +81219,7 @@ } }, { - "id": "2220", + "id": "2222", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1303:75)", @@ -81256,7 +81244,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81270,7 +81258,7 @@ } }, { - "id": "2221", + "id": "2223", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(233,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -81292,7 +81280,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81306,7 +81294,7 @@ } }, { - "id": "2222", + "id": "2224", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(233,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", @@ -81328,7 +81316,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81342,7 +81330,7 @@ } }, { - "id": "2223", + "id": "2225", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1059:77)", @@ -81367,7 +81355,7 @@ "80", "81", "82", - "621" + "622" ], "location": { "end": { @@ -81381,7 +81369,7 @@ } }, { - "id": "2224", + "id": "2226", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81398,7 +81386,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81412,7 +81400,7 @@ } }, { - "id": "2225", + "id": "2227", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n isInfected\n}) => isInfected)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81429,7 +81417,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81443,7 +81431,7 @@ } }, { - "id": "2226", + "id": "2228", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81460,7 +81448,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81474,7 +81462,7 @@ } }, { - "id": "2227", + "id": "2229", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1186:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -81482,7 +81470,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "83", @@ -81491,7 +81479,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81505,7 +81493,7 @@ } }, { - "id": "2228", + "id": "2230", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81522,7 +81510,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81536,7 +81524,7 @@ } }, { - "id": "2229", + "id": "2231", "mutatorName": "LogicalOperator", "replacement": "isSomeTargetInfected || currentPlayAction !== GamePlayActions.EAT || currentPlaySource.name !== PlayerGroups.WEREWOLVES", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(244,38): error TS2367: This comparison appears to be unintentional because the types 'GamePlayActions.EAT' and 'GamePlayActions.USE_POTIONS' have no overlap.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(244,91): error TS2367: This comparison appears to be unintentional because the types 'PlayerGroups' and 'RoleNames' have no overlap.\n", @@ -81550,7 +81538,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81564,7 +81552,7 @@ } }, { - "id": "2230", + "id": "2232", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 569 | } else {\n 570 | stryCov_9fa48(\"2146\");\n > 571 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_INFECTED_TARGET);\n | ^\n 572 | }\n 573 | }\n 574 | const hasSomePlayerDrankPotion = stryMutAct_9fa48(\"2147\") ? playTargets.every(({\n\n at GamePlayValidatorService.validateInfectedTargetsAndPotionUsage (src/modules/game/providers/services/game-play/game-play-validator.service.ts:571:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:136)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81591,7 +81579,7 @@ } }, { - "id": "2231", + "id": "2233", "mutatorName": "LogicalOperator", "replacement": "currentPlayAction !== GamePlayActions.EAT && currentPlaySource.name !== PlayerGroups.WEREWOLVES", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81618,7 +81606,7 @@ } }, { - "id": "2232", + "id": "2234", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81645,7 +81633,7 @@ } }, { - "id": "2233", + "id": "2235", "mutatorName": "EqualityOperator", "replacement": "currentPlayAction === GamePlayActions.EAT", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81672,7 +81660,7 @@ } }, { - "id": "2234", + "id": "2236", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1336:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81698,7 +81686,7 @@ } }, { - "id": "2235", + "id": "2237", "mutatorName": "EqualityOperator", "replacement": "currentPlaySource.name === PlayerGroups.WEREWOLVES", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1336:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81724,7 +81712,7 @@ } }, { - "id": "2236", + "id": "2238", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1322:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81750,7 +81738,7 @@ } }, { - "id": "2237", + "id": "2239", "mutatorName": "MethodExpression", "replacement": "playTargets.every(({\n drankPotion\n}) => drankPotion)", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81765,7 +81753,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81779,7 +81767,7 @@ } }, { - "id": "2238", + "id": "2240", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81794,7 +81782,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81808,7 +81796,7 @@ } }, { - "id": "2239", + "id": "2241", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 582 | } else {\n 583 | stryCov_9fa48(\"2158\");\n > 584 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_DRANK_POTION_TARGET);\n | ^\n 585 | }\n 586 | }\n 587 | }\n\n at GamePlayValidatorService.validateInfectedTargetsAndPotionUsage (src/modules/game/providers/services/game-play/game-play-validator.service.ts:584:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:136)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1349:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81823,7 +81811,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81837,7 +81825,7 @@ } }, { - "id": "2240", + "id": "2242", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81852,7 +81840,7 @@ "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81866,7 +81854,7 @@ } }, { - "id": "2241", + "id": "2243", "mutatorName": "LogicalOperator", "replacement": "hasSomePlayerDrankPotion || currentPlayAction !== GamePlayActions.USE_POTIONS || currentPlaySource.name !== RoleNames.WITCH", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1186:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -81874,14 +81862,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "85", "86", "87", "88", - "621" + "622" ], "location": { "end": { @@ -81895,7 +81883,7 @@ } }, { - "id": "2242", + "id": "2244", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 582 | } else {\n 583 | stryCov_9fa48(\"2159\");\n > 584 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_DRANK_POTION_TARGET);\n | ^\n 585 | }\n 586 | }\n 587 | }\n\n at GamePlayValidatorService.validateInfectedTargetsAndPotionUsage (src/modules/game/providers/services/game-play/game-play-validator.service.ts:584:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1384:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1384:136)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1384:136)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81922,7 +81910,7 @@ } }, { - "id": "2243", + "id": "2245", "mutatorName": "LogicalOperator", "replacement": "currentPlayAction !== GamePlayActions.USE_POTIONS && currentPlaySource.name !== RoleNames.WITCH", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81949,7 +81937,7 @@ } }, { - "id": "2244", + "id": "2246", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -81976,7 +81964,7 @@ } }, { - "id": "2245", + "id": "2247", "mutatorName": "EqualityOperator", "replacement": "currentPlayAction === GamePlayActions.USE_POTIONS", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82003,7 +81991,7 @@ } }, { - "id": "2246", + "id": "2248", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1373:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82029,7 +82017,7 @@ } }, { - "id": "2247", + "id": "2249", "mutatorName": "EqualityOperator", "replacement": "currentPlaySource.name === RoleNames.WITCH", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1373:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82055,7 +82043,7 @@ } }, { - "id": "2248", + "id": "2250", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1361:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82081,7 +82069,7 @@ } }, { - "id": "2249", + "id": "2251", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1413:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82099,8 +82087,8 @@ "93", "94", "95", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -82114,7 +82102,7 @@ } }, { - "id": "2250", + "id": "2252", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82132,8 +82120,8 @@ "93", "94", "95", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -82147,7 +82135,7 @@ } }, { - "id": "2251", + "id": "2253", "mutatorName": "BooleanLiteral", "replacement": "targetActions.includes(game.currentPlay.action)", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82165,8 +82153,8 @@ "93", "94", "95", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -82180,7 +82168,7 @@ } }, { - "id": "2252", + "id": "2254", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(258,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82195,8 +82183,8 @@ "93", "94", "95", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -82210,7 +82198,7 @@ } }, { - "id": "2253", + "id": "2255", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1421:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82228,8 +82216,8 @@ "93", "94", "95", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -82243,7 +82231,7 @@ } }, { - "id": "2254", + "id": "2256", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1421:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82256,7 +82244,7 @@ "coveredBy": [ "89", "92", - "620" + "621" ], "location": { "end": { @@ -82270,7 +82258,7 @@ } }, { - "id": "2255", + "id": "2257", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1398:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82283,7 +82271,7 @@ "coveredBy": [ "89", "92", - "620" + "621" ], "location": { "end": { @@ -82297,7 +82285,7 @@ } }, { - "id": "2256", + "id": "2258", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1421:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82310,7 +82298,7 @@ "coveredBy": [ "89", "92", - "620" + "621" ], "location": { "end": { @@ -82324,7 +82312,7 @@ } }, { - "id": "2257", + "id": "2259", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1421:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82349,7 +82337,7 @@ } }, { - "id": "2258", + "id": "2260", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82362,7 +82350,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82376,7 +82364,7 @@ } }, { - "id": "2259", + "id": "2261", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82389,7 +82377,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82403,7 +82391,7 @@ } }, { - "id": "2260", + "id": "2262", "mutatorName": "LogicalOperator", "replacement": "playTargets === undefined && playTargets.length === 0", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(258,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82416,7 +82404,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82430,7 +82418,7 @@ } }, { - "id": "2261", + "id": "2263", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(258,18): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82443,7 +82431,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82457,7 +82445,7 @@ } }, { - "id": "2262", + "id": "2264", "mutatorName": "EqualityOperator", "replacement": "playTargets !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(258,38): error TS18048: 'playTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(267,48): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(268,46): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82470,7 +82458,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82484,7 +82472,7 @@ } }, { - "id": "2263", + "id": "2265", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [], {\"_id\": \"a15e6bdeadbb2bb2f7de6085\", \"createdAt\": 2023-11-25T19:57:09.358Z, \"currentPlay\": {\"action\": \"sniff\", \"canBeSkipped\": true, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"fox\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 6211162467205120}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 1344284313780224, \"turn\": 7596857324732416, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T09:32:59.400Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1406:88)", @@ -82500,7 +82488,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82514,7 +82502,7 @@ } }, { - "id": "2264", + "id": "2266", "mutatorName": "EqualityOperator", "replacement": "playTargets.length !== 0", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [], {\"_id\": \"4077750d4af61bfcd10c7c5c\", \"createdAt\": 2023-11-26T02:29:25.590Z, \"currentPlay\": {\"action\": \"sniff\", \"canBeSkipped\": true, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"on-nights\", \"source\": {\"name\": \"fox\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 1672694527426560}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [], \"status\": \"over\", \"tick\": 8552001189183488, \"turn\": 4594533285232640, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T11:51:22.937Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1406:88)", @@ -82530,7 +82518,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82544,7 +82532,7 @@ } }, { - "id": "2265", + "id": "2267", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(260,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(262,48): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(263,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\n", @@ -82567,7 +82555,7 @@ } }, { - "id": "2266", + "id": "2268", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82593,7 +82581,7 @@ } }, { - "id": "2267", + "id": "2269", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1413:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82619,7 +82607,7 @@ } }, { - "id": "2268", + "id": "2270", "mutatorName": "EqualityOperator", "replacement": "currentPlay.canBeSkipped !== false", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82645,7 +82633,7 @@ } }, { - "id": "2269", + "id": "2271", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1405:101)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82671,7 +82659,7 @@ } }, { - "id": "2270", + "id": "2272", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1413:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82696,7 +82684,7 @@ } }, { - "id": "2271", + "id": "2273", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS2345: Argument of type 'GamePlayEligibleTargetsBoundaries | undefined' is not assignable to parameter of type '{ min: number; max: number; }'.\n Type 'undefined' is not assignable to type '{ min: number; max: number; }'.\n", @@ -82707,7 +82695,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82721,7 +82709,7 @@ } }, { - "id": "2272", + "id": "2274", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(265,46): error TS2345: Argument of type 'MakeGamePlayTargetWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayTargetWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayTargetWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\n", @@ -82732,7 +82720,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82746,7 +82734,7 @@ } }, { - "id": "2273", + "id": "2275", "mutatorName": "OptionalChaining", "replacement": "currentPlay.eligibleTargets.boundaries", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(264,9): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(265,59): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\n", @@ -82757,7 +82745,7 @@ "93", "94", "95", - "621" + "622" ], "location": { "end": { @@ -82771,7 +82759,7 @@ } }, { - "id": "2274", + "id": "2276", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1430:80)", @@ -82783,7 +82771,7 @@ ], "coveredBy": [ "93", - "621" + "622" ], "location": { "end": { @@ -82797,7 +82785,7 @@ } }, { - "id": "2275", + "id": "2277", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82824,7 +82812,7 @@ } }, { - "id": "2276", + "id": "2278", "mutatorName": "MethodExpression", "replacement": "playVotes.every(({\n target\n}) => !eligibleTargets?.interactablePlayers?.find(({\n player\n}) => player._id.equals(target._id)))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82851,7 +82839,7 @@ } }, { - "id": "2277", + "id": "2279", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82878,7 +82866,7 @@ } }, { - "id": "2278", + "id": "2280", "mutatorName": "BooleanLiteral", "replacement": "eligibleTargets?.interactablePlayers?.find(({\n player\n}) => player._id.equals(target._id))", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 669 | } else {\n 670 | stryCov_9fa48(\"2198\");\n > 671 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n | ^\n 672 | }\n 673 | }\n 674 | }\n\n at GamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:671:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:97\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82905,7 +82893,7 @@ } }, { - "id": "2279", + "id": "2281", "mutatorName": "OptionalChaining", "replacement": "eligibleTargets?.interactablePlayers.find", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(273,85): error TS18048: 'eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", @@ -82929,7 +82917,7 @@ } }, { - "id": "2280", + "id": "2282", "mutatorName": "OptionalChaining", "replacement": "eligibleTargets.interactablePlayers", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(273,85): error TS18048: 'eligibleTargets' is possibly 'undefined'.\n", @@ -82953,7 +82941,7 @@ } }, { - "id": "2281", + "id": "2283", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 669 | } else {\n 670 | stryCov_9fa48(\"2198\");\n > 671 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n | ^\n 672 | }\n 673 | }\n 674 | }\n\n at GamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:671:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:97\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -82980,7 +82968,7 @@ } }, { - "id": "2282", + "id": "2284", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 669 | } else {\n 670 | stryCov_9fa48(\"2198\");\n > 671 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n | ^\n 672 | }\n 673 | }\n 674 | }\n\n at GamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:671:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:97\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83007,7 +82995,7 @@ } }, { - "id": "2283", + "id": "2285", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83034,7 +83022,7 @@ } }, { - "id": "2284", + "id": "2286", "mutatorName": "LogicalOperator", "replacement": "cause === GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES || doesSomeTargetNotInLastNominatedPlayers", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 669 | } else {\n 670 | stryCov_9fa48(\"2198\");\n > 671 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n | ^\n 672 | }\n 673 | }\n 674 | }\n\n at GamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:671:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:97\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1506:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83061,7 +83049,7 @@ } }, { - "id": "2285", + "id": "2287", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 669 | } else {\n 670 | stryCov_9fa48(\"2198\");\n > 671 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.BAD_VOTE_TARGET_FOR_TIE_BREAKER);\n | ^\n 672 | }\n 673 | }\n 674 | }\n\n at GamePlayValidatorService.validateGamePlayVotesTieBreakerWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:671:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1534:97\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1534:144)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1534:144)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83088,7 +83076,7 @@ } }, { - "id": "2286", + "id": "2288", "mutatorName": "EqualityOperator", "replacement": "cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83115,7 +83103,7 @@ } }, { - "id": "2287", + "id": "2289", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1479:140)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83140,7 +83128,7 @@ } }, { - "id": "2288", + "id": "2290", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83154,7 +83142,7 @@ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83168,7 +83156,7 @@ } }, { - "id": "2289", + "id": "2291", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83176,13 +83164,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83196,7 +83184,7 @@ } }, { - "id": "2290", + "id": "2292", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83210,7 +83198,7 @@ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83224,7 +83212,7 @@ } }, { - "id": "2291", + "id": "2293", "mutatorName": "MethodExpression", "replacement": "playVotes.every(({\n source\n}) => !currentPlay.source.players?.find(({\n _id\n}) => _id.equals(source._id)))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83238,7 +83226,7 @@ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83252,7 +83240,7 @@ } }, { - "id": "2292", + "id": "2294", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83266,7 +83254,7 @@ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83280,7 +83268,7 @@ } }, { - "id": "2293", + "id": "2295", "mutatorName": "BooleanLiteral", "replacement": "currentPlay.source.players?.find(({\n _id\n}) => _id.equals(source._id))", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83288,13 +83276,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83308,7 +83296,7 @@ } }, { - "id": "2294", + "id": "2296", "mutatorName": "OptionalChaining", "replacement": "currentPlay.source.players.find", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(281,41): error TS18048: 'currentPlay.source.players' is possibly 'undefined'.\n", @@ -83319,7 +83307,7 @@ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83333,7 +83321,7 @@ } }, { - "id": "2295", + "id": "2297", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83341,13 +83329,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "99", "100", "101", - "620" + "621" ], "location": { "end": { @@ -83361,7 +83349,7 @@ } }, { - "id": "2296", + "id": "2298", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1565:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83386,7 +83374,7 @@ } }, { - "id": "2297", + "id": "2299", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83394,12 +83382,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83413,7 +83401,7 @@ } }, { - "id": "2298", + "id": "2300", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1594:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83426,7 +83414,7 @@ "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83440,7 +83428,7 @@ } }, { - "id": "2299", + "id": "2301", "mutatorName": "MethodExpression", "replacement": "playVotes.every(({\n target\n}) => !currentPlay.eligibleTargets?.interactablePlayers?.find(({\n player\n}) => player._id.equals(target._id)))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1594:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83453,7 +83441,7 @@ "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83467,7 +83455,7 @@ } }, { - "id": "2300", + "id": "2302", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1594:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83480,7 +83468,7 @@ "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83494,7 +83482,7 @@ } }, { - "id": "2301", + "id": "2303", "mutatorName": "BooleanLiteral", "replacement": "currentPlay.eligibleTargets?.interactablePlayers?.find(({\n player\n}) => player._id.equals(target._id))", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83502,12 +83490,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83521,7 +83509,7 @@ } }, { - "id": "2302", + "id": "2304", "mutatorName": "OptionalChaining", "replacement": "currentPlay.eligibleTargets?.interactablePlayers.find", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(284,41): error TS18048: 'currentPlay.eligibleTargets.interactablePlayers' is possibly 'undefined'.\n", @@ -83531,7 +83519,7 @@ "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83545,7 +83533,7 @@ } }, { - "id": "2303", + "id": "2305", "mutatorName": "OptionalChaining", "replacement": "currentPlay.eligibleTargets.interactablePlayers", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(284,41): error TS18048: 'currentPlay.eligibleTargets' is possibly 'undefined'.\n", @@ -83555,7 +83543,7 @@ "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83569,7 +83557,7 @@ } }, { - "id": "2304", + "id": "2306", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83577,12 +83565,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "100", "101", - "620" + "621" ], "location": { "end": { @@ -83596,7 +83584,7 @@ } }, { - "id": "2305", + "id": "2307", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1594:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83621,7 +83609,7 @@ } }, { - "id": "2306", + "id": "2308", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83629,11 +83617,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "101", - "620" + "621" ], "location": { "end": { @@ -83647,7 +83635,7 @@ } }, { - "id": "2307", + "id": "2309", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1623:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83659,7 +83647,7 @@ ], "coveredBy": [ "101", - "620" + "621" ], "location": { "end": { @@ -83673,7 +83661,7 @@ } }, { - "id": "2308", + "id": "2310", "mutatorName": "MethodExpression", "replacement": "playVotes.every(({\n source,\n target\n}) => source._id.equals(target._id))", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1623:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83685,7 +83673,7 @@ ], "coveredBy": [ "101", - "620" + "621" ], "location": { "end": { @@ -83699,7 +83687,7 @@ } }, { - "id": "2309", + "id": "2311", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1623:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83711,7 +83699,7 @@ ], "coveredBy": [ "101", - "620" + "621" ], "location": { "end": { @@ -83725,7 +83713,7 @@ } }, { - "id": "2310", + "id": "2312", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1623:145)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83750,7 +83738,7 @@ } }, { - "id": "2311", + "id": "2313", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1650:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83771,9 +83759,9 @@ "109", "110", "111", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -83787,7 +83775,7 @@ } }, { - "id": "2312", + "id": "2314", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 759 | } else {\n 760 | stryCov_9fa48(\"2230\");\n > 761 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_VOTES);\n | ^\n 762 | }\n 763 | }\n 764 | return;\n\n at GamePlayValidatorService.validateGamePlayVotesWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:761:21)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1676:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1676:103)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1676:103)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83808,9 +83796,9 @@ "109", "110", "111", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -83824,7 +83812,7 @@ } }, { - "id": "2313", + "id": "2315", "mutatorName": "BooleanLiteral", "replacement": "voteActions.includes(currentPlay.action)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1007:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -83832,7 +83820,7 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "102", @@ -83845,9 +83833,9 @@ "109", "110", "111", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -83861,7 +83849,7 @@ } }, { - "id": "2314", + "id": "2316", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,36): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -83879,9 +83867,9 @@ "109", "110", "111", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -83895,7 +83883,7 @@ } }, { - "id": "2315", + "id": "2317", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1650:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83916,9 +83904,9 @@ "109", "110", "111", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -83932,7 +83920,7 @@ } }, { - "id": "2316", + "id": "2318", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1650:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83946,7 +83934,7 @@ "102", "103", "104", - "621" + "622" ], "location": { "end": { @@ -83960,7 +83948,7 @@ } }, { - "id": "2317", + "id": "2319", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 759 | } else {\n 760 | stryCov_9fa48(\"2230\");\n > 761 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_VOTES);\n | ^\n 762 | }\n 763 | }\n 764 | return;\n\n at GamePlayValidatorService.validateGamePlayVotesWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:761:21)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1636:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1636:110)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1636:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -83974,7 +83962,7 @@ "102", "103", "104", - "621" + "622" ], "location": { "end": { @@ -83988,7 +83976,7 @@ } }, { - "id": "2318", + "id": "2320", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1650:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84002,7 +83990,7 @@ "102", "103", "104", - "621" + "622" ], "location": { "end": { @@ -84016,7 +84004,7 @@ } }, { - "id": "2319", + "id": "2321", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1650:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84042,7 +84030,7 @@ } }, { - "id": "2320", + "id": "2322", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84057,8 +84045,8 @@ "109", "110", "111", - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -84072,7 +84060,7 @@ } }, { - "id": "2321", + "id": "2323", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84087,8 +84075,8 @@ "109", "110", "111", - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -84102,7 +84090,7 @@ } }, { - "id": "2322", + "id": "2324", "mutatorName": "LogicalOperator", "replacement": "playVotes === undefined && playVotes.length === 0", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,36): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84117,8 +84105,8 @@ "109", "110", "111", - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -84132,7 +84120,7 @@ } }, { - "id": "2323", + "id": "2325", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,18): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84147,8 +84135,8 @@ "109", "110", "111", - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -84162,7 +84150,7 @@ } }, { - "id": "2324", + "id": "2326", "mutatorName": "EqualityOperator", "replacement": "playVotes !== undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(301,36): error TS18048: 'playVotes' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(310,63): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84177,8 +84165,8 @@ "109", "110", "111", - "619", - "620" + "620", + "621" ], "location": { "end": { @@ -84192,7 +84180,7 @@ } }, { - "id": "2325", + "id": "2327", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1690:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84208,7 +84196,7 @@ "109", "110", "111", - "620" + "621" ], "location": { "end": { @@ -84222,7 +84210,7 @@ } }, { - "id": "2326", + "id": "2328", "mutatorName": "EqualityOperator", "replacement": "playVotes.length !== 0", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1690:99)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84238,7 +84226,7 @@ "109", "110", "111", - "620" + "621" ], "location": { "end": { @@ -84252,7 +84240,7 @@ } }, { - "id": "2327", + "id": "2329", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(303,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\nsrc/modules/game/providers/services/game-play/game-play-validator.service.ts(305,63): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84264,7 +84252,7 @@ "106", "107", "108", - "619" + "620" ], "location": { "end": { @@ -84278,7 +84266,7 @@ } }, { - "id": "2328", + "id": "2330", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 775 | } else {\n 776 | stryCov_9fa48(\"2243\");\n > 777 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.REQUIRED_VOTES);\n | ^\n 778 | }\n 779 | }\n 780 | return;\n\n at GamePlayValidatorService.validateGamePlayVotesWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:777:21)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:110)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84293,7 +84281,7 @@ "106", "107", "108", - "619" + "620" ], "location": { "end": { @@ -84307,7 +84295,7 @@ } }, { - "id": "2329", + "id": "2331", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1683:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84322,7 +84310,7 @@ "106", "107", "108", - "619" + "620" ], "location": { "end": { @@ -84336,7 +84324,7 @@ } }, { - "id": "2330", + "id": "2332", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.canBeSkipped !== false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1007:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84344,14 +84332,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "105", "106", "107", "108", - "619" + "620" ], "location": { "end": { @@ -84365,7 +84353,7 @@ } }, { - "id": "2331", + "id": "2333", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 775 | } else {\n 776 | stryCov_9fa48(\"2243\");\n > 777 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.REQUIRED_VOTES);\n | ^\n 778 | }\n 779 | }\n 780 | return;\n\n at GamePlayValidatorService.validateGamePlayVotesWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:777:21)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:110)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1670:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84380,7 +84368,7 @@ "106", "107", "108", - "619" + "620" ], "location": { "end": { @@ -84394,7 +84382,7 @@ } }, { - "id": "2332", + "id": "2334", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1683:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84407,7 +84395,7 @@ "coveredBy": [ "107", "108", - "619" + "620" ], "location": { "end": { @@ -84421,7 +84409,7 @@ } }, { - "id": "2333", + "id": "2335", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: [{\"source\": {\"_id\": \"cf8bd5c9e0707becda1beea8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jose\", \"position\": 6971952994451456, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, \"target\": {\"_id\": \"b9ce9c8ef9cafdecb6c5f7fa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elisha\", \"position\": 6874259817234432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}}], {\"_id\": \"2ab9fd7d7dd9ad2d2efa71e6\", \"createdAt\": 2023-11-26T10:34:25.805Z, \"currentPlay\": {\"action\": \"vote\", \"canBeSkipped\": undefined, \"cause\": \"angel-presence\", \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 2377794124251136}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"cf8bd5c9e0707becda1beea8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jose\", \"position\": 6971952994451456, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b9ce9c8ef9cafdecb6c5f7fa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Elisha\", \"position\": 6874259817234432, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"23cd76cfde01f22fada49a4d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eli\", \"position\": 5011753482059776, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"4f21fdbad59be2eccbfce16c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Weldon\", \"position\": 1389432263409664, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"villager\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 6655946623287296, \"turn\": 6638747827306496, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T20:06:46.043Z}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1718:98)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84435,7 +84423,7 @@ "109", "110", "111", - "620" + "621" ], "location": { "end": { @@ -84449,7 +84437,7 @@ } }, { - "id": "2334", + "id": "2336", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(308,60): error TS2345: Argument of type 'MakeGamePlayVoteWithRelationsDto[] | undefined' is not assignable to parameter of type 'MakeGamePlayVoteWithRelationsDto[]'.\n Type 'undefined' is not assignable to type 'MakeGamePlayVoteWithRelationsDto[]'.\n", @@ -84460,7 +84448,7 @@ "109", "110", "111", - "620" + "621" ], "location": { "end": { @@ -84474,7 +84462,7 @@ } }, { - "id": "2335", + "id": "2337", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.cause !== GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84482,13 +84470,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "109", "110", "111", - "620" + "621" ], "location": { "end": { @@ -84502,7 +84490,7 @@ } }, { - "id": "2336", + "id": "2338", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1704:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84527,7 +84515,7 @@ } }, { - "id": "2337", + "id": "2339", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1099:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84535,7 +84523,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "112", @@ -84544,9 +84532,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84560,7 +84548,7 @@ } }, { - "id": "2338", + "id": "2340", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` can't be set on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1012:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84568,7 +84556,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "112", @@ -84577,9 +84565,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84593,7 +84581,7 @@ } }, { - "id": "2339", + "id": "2341", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1099:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84601,7 +84589,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "112", @@ -84610,9 +84598,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84626,7 +84614,7 @@ } }, { - "id": "2340", + "id": "2342", "mutatorName": "LogicalOperator", "replacement": "chosenSide !== undefined || game.currentPlay.action !== GamePlayActions.CHOOSE_SIDE || isSideRandomlyChosen", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` can't be set on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1012:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84634,7 +84622,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "112", @@ -84643,9 +84631,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84659,7 +84647,7 @@ } }, { - "id": "2341", + "id": "2343", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` can't be set on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1012:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84667,7 +84655,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "112", @@ -84676,9 +84664,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84692,7 +84680,7 @@ } }, { - "id": "2342", + "id": "2344", "mutatorName": "EqualityOperator", "replacement": "chosenSide === undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` can't be set on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1012:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84700,7 +84688,7 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "112", @@ -84709,9 +84697,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84725,7 +84713,7 @@ } }, { - "id": "2343", + "id": "2345", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 807 | } else {\n 808 | stryCov_9fa48(\"2257\");\n > 809 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.UNEXPECTED_CHOSEN_SIDE);\n | ^\n 810 | }\n 811 | }\n 812 | if (stryMutAct_9fa48(\"2260\") ? chosenSide === undefined && game.currentPlay.action === GamePlayActions.CHOOSE_SIDE || !isSideRandomlyChosen : stryMutAct_9fa48(\"2259\") ? false : stryMutAct_9fa48(\"2258\") ? true : (stryCov_9fa48(\"2258\", \"2259\", \"2260\"), (stryMutAct_9fa48(\"2262\") ? chosenSide === undefined || game.currentPlay.action === GamePlayActions.CHOOSE_SIDE : stryMutAct_9fa48(\"2261\") ? true : (stryCov_9fa48(\"2261\", \"2262\"), (stryMutAct_9fa48(\"2264\") ? chosenSide !== undefined : stryMutAct_9fa48(\"2263\") ? true : (stryCov_9fa48(\"2263\", \"2264\"), chosenSide === undefined)) && (stryMutAct_9fa48(\"2266\") ? game.currentPlay.action !== GamePlayActions.CHOOSE_SIDE : stryMutAct_9fa48(\"2265\") ? true : (stryCov_9fa48(\"2265\", \"2266\"), game.currentPlay.action === GamePlayActions.CHOOSE_SIDE)))) && (stryMutAct_9fa48(\"2267\") ? isSideRandomlyChosen : (stryCov_9fa48(\"2267\"), !isSideRandomlyChosen)))) {\n\n at GamePlayValidatorService.validateGamePlayWithRelationsDtoChosenSide (src/modules/game/providers/services/game-play/game-play-validator.service.ts:809:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:92\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:134)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84752,7 +84740,7 @@ } }, { - "id": "2344", + "id": "2346", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action !== GamePlayActions.CHOOSE_SIDE && isSideRandomlyChosen", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1742:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84779,7 +84767,7 @@ } }, { - "id": "2345", + "id": "2347", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1742:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84806,7 +84794,7 @@ } }, { - "id": "2346", + "id": "2348", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action === GamePlayActions.CHOOSE_SIDE", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1742:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84833,7 +84821,7 @@ } }, { - "id": "2347", + "id": "2349", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1742:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -84859,7 +84847,7 @@ } }, { - "id": "2348", + "id": "2350", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1012:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84867,16 +84855,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84890,7 +84878,7 @@ } }, { - "id": "2349", + "id": "2351", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1099:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84898,16 +84886,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "114", "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84921,7 +84909,7 @@ } }, { - "id": "2350", + "id": "2352", "mutatorName": "LogicalOperator", "replacement": "chosenSide === undefined && game.currentPlay.action === GamePlayActions.CHOOSE_SIDE || !isSideRandomlyChosen", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 400\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox435844/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1011:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84929,16 +84917,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84952,7 +84940,7 @@ } }, { - "id": "2351", + "id": "2353", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84960,16 +84948,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -84983,7 +84971,7 @@ } }, { - "id": "2352", + "id": "2354", "mutatorName": "LogicalOperator", "replacement": "chosenSide === undefined || game.currentPlay.action === GamePlayActions.CHOOSE_SIDE", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -84991,16 +84979,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85014,7 +85002,7 @@ } }, { - "id": "2353", + "id": "2355", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).not.toThrow()\n\nError name: \"BadGamePlayPayloadException\"\nError message: \"Bad game play payload\"\n\n 815 | } else {\n 816 | stryCov_9fa48(\"2268\");\n > 817 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.REQUIRED_CHOSEN_SIDE);\n | ^\n 818 | }\n 819 | }\n 820 | }\n\n at GamePlayValidatorService.validateGamePlayWithRelationsDtoChosenSide (src/modules/game/providers/services/game-play/game-play-validator.service.ts:817:17)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:92\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:134)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1768:134)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85029,9 +85017,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85045,7 +85033,7 @@ } }, { - "id": "2354", + "id": "2356", "mutatorName": "EqualityOperator", "replacement": "chosenSide !== undefined", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1760:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85060,9 +85048,9 @@ "115", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85076,7 +85064,7 @@ } }, { - "id": "2355", + "id": "2357", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -85084,15 +85072,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85106,7 +85094,7 @@ } }, { - "id": "2356", + "id": "2358", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GamePlayActions.CHOOSE_SIDE", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`chosenSide` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -85114,15 +85102,15 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "114", "116", "117", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85136,7 +85124,7 @@ } }, { - "id": "2357", + "id": "2359", "mutatorName": "BooleanLiteral", "replacement": "isSideRandomlyChosen", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1760:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85161,7 +85149,7 @@ } }, { - "id": "2358", + "id": "2360", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Bad game play payload\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1760:130)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85186,7 +85174,7 @@ } }, { - "id": "2359", + "id": "2361", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -85194,7 +85182,7 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "118", @@ -85204,9 +85192,9 @@ "122", "123", "124", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85220,7 +85208,7 @@ } }, { - "id": "2360", + "id": "2362", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(333,61): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -85235,9 +85223,9 @@ "122", "123", "124", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85251,7 +85239,7 @@ } }, { - "id": "2361", + "id": "2363", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1871:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85269,9 +85257,9 @@ "122", "123", "124", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85285,7 +85273,7 @@ } }, { - "id": "2362", + "id": "2364", "mutatorName": "EqualityOperator", "replacement": "doesJudgeRequestAnotherVote !== undefined", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85303,9 +85291,9 @@ "122", "123", "124", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85319,7 +85307,7 @@ } }, { - "id": "2363", + "id": "2365", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n+ \"error\": \"`doesJudgeRequestAnotherVote` can't be set on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -85327,13 +85315,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "619" + "620" ], "coveredBy": [ "123", - "619", "620", - "621" + "621", + "622" ], "location": { "end": { @@ -85347,7 +85335,7 @@ } }, { - "id": "2364", + "id": "2366", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1907:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85377,7 +85365,7 @@ } }, { - "id": "2365", + "id": "2367", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toResolve()\n\nExpected promise to resolve, however it rejected.\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1907:132)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85407,7 +85395,7 @@ } }, { - "id": "2366", + "id": "2368", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85437,7 +85425,7 @@ } }, { - "id": "2367", + "id": "2369", "mutatorName": "LogicalOperator", "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !didJudgeMakeHisSign || !stutteringJudgePlayer || !isPlayerAliveAndPowerful(stutteringJudgePlayer, game)) && gameHistoryJudgeRequestRecords.length >= voteRequestsCount", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85467,7 +85455,7 @@ } }, { - "id": "2368", + "id": "2370", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85497,7 +85485,7 @@ } }, { - "id": "2369", + "id": "2371", "mutatorName": "LogicalOperator", "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !didJudgeMakeHisSign || !stutteringJudgePlayer) && !isPlayerAliveAndPowerful(stutteringJudgePlayer, game)", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(332,166): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -85524,7 +85512,7 @@ } }, { - "id": "2370", + "id": "2372", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(332,44): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -85551,7 +85539,7 @@ } }, { - "id": "2371", + "id": "2373", "mutatorName": "LogicalOperator", "replacement": "(!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) || !didJudgeMakeHisSign) && !stutteringJudgePlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(332,166): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -85578,7 +85566,7 @@ } }, { - "id": "2372", + "id": "2374", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85608,7 +85596,7 @@ } }, { - "id": "2373", + "id": "2375", "mutatorName": "LogicalOperator", "replacement": "!stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action) && !didJudgeMakeHisSign", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85638,7 +85626,7 @@ } }, { - "id": "2374", + "id": "2376", "mutatorName": "BooleanLiteral", "replacement": "stutteringJudgeRequestOpportunityActions.includes(game.currentPlay.action)", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85668,7 +85656,7 @@ } }, { - "id": "2375", + "id": "2377", "mutatorName": "BooleanLiteral", "replacement": "didJudgeMakeHisSign", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85697,7 +85685,7 @@ } }, { - "id": "2376", + "id": "2378", "mutatorName": "BooleanLiteral", "replacement": "stutteringJudgePlayer", "statusReason": "src/modules/game/providers/services/game-play/game-play-validator.service.ts(333,60): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -85722,7 +85710,7 @@ } }, { - "id": "2377", + "id": "2379", "mutatorName": "BooleanLiteral", "replacement": "isPlayerAliveAndPowerful(stutteringJudgePlayer, game)", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85749,7 +85737,7 @@ } }, { - "id": "2378", + "id": "2380", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85775,7 +85763,7 @@ } }, { - "id": "2379", + "id": "2381", "mutatorName": "EqualityOperator", "replacement": "gameHistoryJudgeRequestRecords.length > voteRequestsCount", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85801,7 +85789,7 @@ } }, { - "id": "2380", + "id": "2382", "mutatorName": "EqualityOperator", "replacement": "gameHistoryJudgeRequestRecords.length < voteRequestsCount", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85827,7 +85815,7 @@ } }, { - "id": "2381", + "id": "2383", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: undefined\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1864:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -85862,7 +85850,7 @@ "language": "typescript", "mutants": [ { - "id": "2382", + "id": "2384", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(17,113): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -85870,9 +85858,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -85886,16 +85874,16 @@ } }, { - "id": "2383", + "id": "2385", "mutatorName": "MethodExpression", "replacement": "Math.min(...playerVoteCounts.map(playerVoteCount => playerVoteCount[1]))", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -85909,7 +85897,7 @@ } }, { - "id": "2384", + "id": "2386", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(21,31): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -85917,9 +85905,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -85933,16 +85921,16 @@ } }, { - "id": "2385", + "id": "2387", "mutatorName": "MethodExpression", "replacement": "playerVoteCounts", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -85956,7 +85944,7 @@ } }, { - "id": "2386", + "id": "2388", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -85964,12 +85952,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -85983,15 +85971,15 @@ } }, { - "id": "2387", + "id": "2389", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980" + "621", + "981" ], "location": { "end": { @@ -86005,15 +85993,15 @@ } }, { - "id": "2388", + "id": "2390", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980" + "621", + "981" ], "location": { "end": { @@ -86027,7 +86015,7 @@ } }, { - "id": "2389", + "id": "2391", "mutatorName": "EqualityOperator", "replacement": "playerVoteCount[1] !== maxVotes", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"db2ffb47f58d28ecfe4b4c1d\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"ac9c1f8bef1d82dafbd5f0a2\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"fb42c2aa5b09d99b6e81adee\",\n+ \"_id\": \"b04eadcf0e6ba906fb97f4ee\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Josefa\",\n- \"position\": 1504652916948992,\n+ \"name\": \"Candace\",\n+ \"position\": 1331197527457792,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"ac9c1f8bef1d82dafbd5f0a2\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"10ff91d59c5c8d2c00eaa77d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Rudolph\",\n- \"position\": 2251377709416448,\n+ \"name\": \"Dejah\",\n+ \"position\": 7858620435791872,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"fb42c2aa5b09d99b6e81adee\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Josefa\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"b04eadcf0e6ba906fb97f4ee\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Candace\",\n- \"position\": 1331197527457792,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"10ff91d59c5c8d2c00eaa77d\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Dejah\",\n- \"position\": 7858620435791872,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 7788505224708097,\n \"turn\": 5604094888640512,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -86035,11 +86023,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", - "980" + "621", + "981" ], "location": { "end": { @@ -86053,7 +86041,7 @@ } }, { - "id": "2390", + "id": "2392", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(22,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -86061,9 +86049,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980" + "622", + "981" ], "location": { "end": { @@ -86077,7 +86065,7 @@ } }, { - "id": "2391", + "id": "2393", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(25,114): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -86085,14 +86073,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", + "622", "981", "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86106,7 +86094,7 @@ } }, { - "id": "2392", + "id": "2394", "mutatorName": "BooleanLiteral", "replacement": "votes", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,12): error TS18048: 'votes' is possibly 'undefined'.\n", @@ -86114,14 +86102,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", + "622", "981", "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86135,7 +86123,7 @@ } }, { - "id": "2393", + "id": "2395", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,12): error TS18048: 'votes' is possibly 'undefined'.\n", @@ -86143,14 +86131,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", + "622", "981", "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86164,7 +86152,7 @@ } }, { - "id": "2394", + "id": "2396", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,12): error TS18048: 'votes' is possibly 'undefined'.\n", @@ -86172,14 +86160,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", + "622", "981", "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86193,7 +86181,7 @@ } }, { - "id": "2395", + "id": "2397", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(29,12): error TS18048: 'votes' is possibly 'undefined'.\n", @@ -86201,8 +86189,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "981" + "622", + "982" ], "location": { "end": { @@ -86216,7 +86204,7 @@ } }, { - "id": "2396", + "id": "2398", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(27,15): error TS2322: Type 'string' is not assignable to type 'PlayerVoteCount'.\n", @@ -86224,8 +86212,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "621", - "981" + "622", + "982" ], "location": { "end": { @@ -86239,7 +86227,7 @@ } }, { - "id": "2397", + "id": "2399", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 35 more.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,44): error TS2345: Argument of type '(acc: PlayerVoteCount[], vote: MakeGamePlayVoteWithRelationsDto) => void' is not assignable to parameter of type '(previousValue: PlayerVoteCount[], currentValue: MakeGamePlayVoteWithRelationsDto, currentIndex: number, array: MakeGamePlayVoteWithRelationsDto[]) => PlayerVoteCount[]'.\n Type 'void' is not assignable to type 'PlayerVoteCount[]'.\n", @@ -86247,12 +86235,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86266,19 +86254,19 @@ } }, { - "id": "2398", + "id": "2400", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86292,19 +86280,19 @@ } }, { - "id": "2399", + "id": "2401", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86318,19 +86306,19 @@ } }, { - "id": "2400", + "id": "2402", "mutatorName": "EqualityOperator", "replacement": "sheriffPlayer?._id.equals(vote.source._id) !== true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86344,7 +86332,7 @@ } }, { - "id": "2401", + "id": "2403", "mutatorName": "OptionalChaining", "replacement": "sheriffPlayer._id", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(33,35): error TS18048: 'sheriffPlayer' is possibly 'undefined'.\n", @@ -86352,12 +86340,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86371,19 +86359,19 @@ } }, { - "id": "2402", + "id": "2404", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86397,7 +86385,7 @@ } }, { - "id": "2403", + "id": "2405", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"7de414daecfea4bdaeeafaca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Archibald\", \"position\": 5584828321759232, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d9cc71e0a65cd0a1f31d09d0\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Roderick\", \"position\": 5718714051723264, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"7de414daecfea4bdaeeafaca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Archibald\", \"position\": 5584828321759232, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b37f2cf1ca3cd1a8aa1f76b2\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kailee\", \"position\": 7160857968508928, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d9cc71e0a65cd0a1f31d09d0\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Roderick\", \"position\": 5718714051723264, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86405,15 +86393,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86427,7 +86415,7 @@ } }, { - "id": "2404", + "id": "2406", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"904affbdaa54056af2259b9d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Margaretta\", \"position\": 1817755284144128, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ffa6a4b6afb4fdb7ba31dbbf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Hertha\", \"position\": 4169229129482240, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"ffa6a4b6afb4fdb7ba31dbbf\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Hertha\", \"position\": 4169229129482240, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86435,15 +86423,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86457,7 +86445,7 @@ } }, { - "id": "2405", + "id": "2407", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GamePlayActions.VOTE && isVoteSourceSheriff || doesSheriffHaveDoubledVote", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"c405efc478f7df7bc2cdcd2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Magdalena\", \"position\": 1253856220545024, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b3837def0fb4e5d6d1b5d1dd\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Oscar\", \"position\": 1849818666237952, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"c405efc478f7df7bc2cdcd2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Magdalena\", \"position\": 1253856220545024, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7f1ef4da04bd7c3fe7bcf937\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Ross\", \"position\": 3405644635832320, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b3837def0fb4e5d6d1b5d1dd\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Oscar\", \"position\": 1849818666237952, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86465,15 +86453,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86487,7 +86475,7 @@ } }, { - "id": "2406", + "id": "2408", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"f7d31fbbb75d9fff7584fdfa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Hellen\", \"position\": 3586142158979072, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f7e5fdf3f5de080da8bbe72a\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Electa\", \"position\": 41497518931968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"f7d31fbbb75d9fff7584fdfa\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Hellen\", \"position\": 3586142158979072, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"44efe91cdaa13ddbcf4b359f\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Nelson\", \"position\": 3445542977798144, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f7e5fdf3f5de080da8bbe72a\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Electa\", \"position\": 41497518931968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86495,15 +86483,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86517,7 +86505,7 @@ } }, { - "id": "2407", + "id": "2409", "mutatorName": "LogicalOperator", "replacement": "game.currentPlay.action === GamePlayActions.VOTE || isVoteSourceSheriff", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"f41efabbd2f0f295c9860a1a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jaquan\", \"position\": 8500579976347648, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fb3a65ca7b0debdfd3ead96c\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Henri\", \"position\": 8667300905353216, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"f41efabbd2f0f295c9860a1a\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jaquan\", \"position\": 8500579976347648, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e0dbb3945addca6cf1807e8a\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Deron\", \"position\": 6776847746465792, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"fb3a65ca7b0debdfd3ead96c\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Henri\", \"position\": 8667300905353216, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86525,15 +86513,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86547,7 +86535,7 @@ } }, { - "id": "2408", + "id": "2410", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"b809aa913d924168c77922d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joanny\", \"position\": 7873156446420992, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"99bddbf848523856fa1364fe\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Katrine\", \"position\": 888869639684096, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\nReceived:\n [[{\"_id\": \"b809aa913d924168c77922d5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Joanny\", \"position\": 7873156446420992, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"99bddbf848523856fa1364fe\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"sheriff\", \"remainingPhases\": undefined, \"source\": \"survivors\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Katrine\", \"position\": 888869639684096, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:129:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86555,15 +86543,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "984" + "985" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86577,19 +86565,19 @@ } }, { - "id": "2409", + "id": "2411", "mutatorName": "EqualityOperator", "replacement": "game.currentPlay.action !== GamePlayActions.VOTE", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86603,7 +86591,7 @@ } }, { - "id": "2410", + "id": "2412", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"d7d21fa36fef7c3fd6a74ea6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lonzo\", \"position\": 932202382622720, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"84adb9e1ab9b0b3c2a174cd2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Oswaldo\", \"position\": 1350909621698560, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"84adb9e1ab9b0b3c2a174cd2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Oswaldo\", \"position\": 1350909621698560, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"d7d21fa36fef7c3fd6a74ea6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lonzo\", \"position\": 932202382622720, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"d7d21fa36fef7c3fd6a74ea6\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Lonzo\", \"position\": 932202382622720, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:85:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86611,15 +86599,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "982" + "983" ], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86633,7 +86621,7 @@ } }, { - "id": "2411", + "id": "2413", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(37,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -86641,12 +86629,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86660,7 +86648,7 @@ } }, { - "id": "2412", + "id": "2414", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(37,9): error TS18048: 'existingPlayerVoteCount' is possibly 'undefined'.\n", @@ -86668,12 +86656,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86687,17 +86675,17 @@ } }, { - "id": "2413", + "id": "2415", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86711,7 +86699,7 @@ } }, { - "id": "2414", + "id": "2416", "mutatorName": "AssignmentOperator", "replacement": "existingPlayerVoteCount[1] -= voteValue", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [[{\"_id\": \"1026e8aec469aecc04fc52ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vivian\", \"position\": 7270900944601088, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 2], [{\"_id\": \"a6765a290b99a864eacad6dc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jensen\", \"position\": 2940596027129856, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1]]\nReceived:\n [[{\"_id\": \"a6765a290b99a864eacad6dc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jensen\", \"position\": 2940596027129856, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 1], [{\"_id\": \"1026e8aec469aecc04fc52ac\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Vivian\", \"position\": 7270900944601088, \"role\": {\"current\": \"elder\", \"isRevealed\": false, \"original\": \"elder\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, 0]]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:85:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -86719,13 +86707,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "982" + "983" ], "coveredBy": [ - "982", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86739,19 +86727,19 @@ } }, { - "id": "2415", + "id": "2417", "mutatorName": "ArrayDeclaration", "replacement": "[]", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86765,7 +86753,7 @@ } }, { - "id": "2416", + "id": "2418", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 35 more.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,44): error TS2345: Argument of type '(acc: PlayerVoteCount[], vote: MakeGamePlayVoteWithRelationsDto) => ([] | PlayerVoteCount)[]' is not assignable to parameter of type '(previousValue: PlayerVoteCount[], currentValue: MakeGamePlayVoteWithRelationsDto, currentIndex: number, array: MakeGamePlayVoteWithRelationsDto[]) => PlayerVoteCount[]'.\n Type '([] | PlayerVoteCount)[]' is not assignable to type 'PlayerVoteCount[]'.\n Type '[] | PlayerVoteCount' is not assignable to type 'PlayerVoteCount'.\n Type '[]' is not assignable to type '[Player, number]'.\n Source has 0 element(s) but target requires 2.\n", @@ -86773,12 +86761,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86792,7 +86780,7 @@ } }, { - "id": "2417", + "id": "2419", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(31,5): error TS2740: Type 'MakeGamePlayVoteWithRelationsDto' is missing the following properties from type 'PlayerVoteCount[]': length, pop, push, concat, and 35 more.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(41,9): error TS2322: Type 'string' is not assignable to type 'PlayerVoteCount'.\n", @@ -86800,12 +86788,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "982", + "621", + "981", "983", "984", - "985" + "985", + "986" ], "location": { "end": { @@ -86819,7 +86807,7 @@ } }, { - "id": "2418", + "id": "2420", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(44,119): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -86827,17 +86815,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -86851,7 +86839,7 @@ } }, { - "id": "2419", + "id": "2421", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(51,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(54,7): error TS18048: 'scandalmongerMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -86859,17 +86847,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -86883,7 +86871,7 @@ } }, { - "id": "2420", + "id": "2422", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(51,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -86891,17 +86879,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -86915,7 +86903,7 @@ } }, { - "id": "2421", + "id": "2423", "mutatorName": "LogicalOperator", "replacement": "(clonedGame.currentPlay.action !== GamePlayActions.VOTE || scandalmongerPlayer?.isAlive !== true || !isPlayerPowerful(scandalmongerPlayer, clonedGame)) && scandalmongerMarkedPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(51,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(57,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -86923,17 +86911,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -86947,24 +86935,24 @@ } }, { - "id": "2422", + "id": "2424", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -86978,7 +86966,7 @@ } }, { - "id": "2423", + "id": "2425", "mutatorName": "LogicalOperator", "replacement": "(clonedGame.currentPlay.action !== GamePlayActions.VOTE || scandalmongerPlayer?.isAlive !== true) && !isPlayerPowerful(scandalmongerPlayer, clonedGame)", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(48,128): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -86986,17 +86974,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87010,7 +86998,7 @@ } }, { - "id": "2424", + "id": "2426", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,25): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87018,17 +87006,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87042,7 +87030,7 @@ } }, { - "id": "2425", + "id": "2427", "mutatorName": "LogicalOperator", "replacement": "clonedGame.currentPlay.action !== GamePlayActions.VOTE && scandalmongerPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,25): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87050,17 +87038,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87074,7 +87062,7 @@ } }, { - "id": "2426", + "id": "2428", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 28\n\n@@ -37,6 +37,34 @@\n \"original\": \"villagers\",\n },\n },\n 2,\n ],\n+ Array [\n+ Player {\n+ \"_id\": \"6fda5adbdc31e34b5daee583\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"scandalmonger-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"scandalmonger\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Shakira\",\n+ \"position\": 3262596864016384,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ 4,\n+ ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:169:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87082,20 +87070,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "986" + "987" ], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87109,7 +87097,7 @@ } }, { - "id": "2427", + "id": "2429", "mutatorName": "EqualityOperator", "replacement": "clonedGame.currentPlay.action === GamePlayActions.VOTE", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"effe14c76d0a9ae607fd2729\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maxine\", \"position\": 8426367261605888, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"0b71bc2bca4cf7d6b7cbe8db\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Deon\", \"position\": 2707105312145408, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"effe14c76d0a9ae607fd2729\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maxine\", \"position\": 8426367261605888, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87117,20 +87105,20 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", "621", - "980", - "986", + "622", + "981", "987", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87144,7 +87132,7 @@ } }, { - "id": "2428", + "id": "2430", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,25): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87152,15 +87140,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "987", + "621", + "981", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87174,7 +87162,7 @@ } }, { - "id": "2429", + "id": "2431", "mutatorName": "EqualityOperator", "replacement": "scandalmongerPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,25): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87182,15 +87170,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "987", + "621", + "981", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87204,7 +87192,7 @@ } }, { - "id": "2430", + "id": "2432", "mutatorName": "OptionalChaining", "replacement": "scandalmongerPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(48,67): error TS18048: 'scandalmongerPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,25): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87212,15 +87200,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", - "980", - "987", + "621", + "981", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87234,7 +87222,7 @@ } }, { - "id": "2431", + "id": "2433", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toContainAllValues(expected)\n\nExpected object to contain all values:\n [{\"_id\": \"f61ed9cf8f1db1bfbebbe1ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ottilie\", \"position\": 3072660391067648, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"7ebddc981240fbddf4efceed\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"scandalmonger-marked\", \"remainingPhases\": 2, \"source\": \"scandalmonger\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Kameron\", \"position\": 1036748807208960, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}]\nReceived:\n [{\"_id\": \"f61ed9cf8f1db1bfbebbe1ba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ottilie\", \"position\": 3072660391067648, \"role\": {\"current\": \"scandalmonger\", \"isRevealed\": false, \"original\": \"scandalmonger\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:48:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87242,18 +87230,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "980" + "981" ], "coveredBy": [ - "620", - "980", - "987", + "621", + "981", "988", "989", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87267,19 +87255,19 @@ } }, { - "id": "2432", + "id": "2434", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(scandalmongerPlayer, clonedGame)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "980", - "989", + "981", "990", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87293,7 +87281,7 @@ } }, { - "id": "2433", + "id": "2435", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(52,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87301,11 +87289,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "990", + "981", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87319,7 +87307,7 @@ } }, { - "id": "2434", + "id": "2436", "mutatorName": "EqualityOperator", "replacement": "scandalmongerMarkedPlayer?.isAlive === true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(52,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87327,11 +87315,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "990", + "981", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87345,7 +87333,7 @@ } }, { - "id": "2435", + "id": "2437", "mutatorName": "OptionalChaining", "replacement": "scandalmongerMarkedPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(49,61): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(52,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87353,11 +87341,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "990", + "981", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87371,18 +87359,18 @@ } }, { - "id": "2436", + "id": "2438", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "980", - "990", + "981", "991", "992", - "993" + "993", + "994" ], "location": { "end": { @@ -87396,7 +87384,7 @@ } }, { - "id": "2437", + "id": "2439", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(50,119): error TS18048: 'scandalmongerMarkedPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(56,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(56,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87404,14 +87392,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "986", + "622", "987", "988", "989", "990", - "991" + "991", + "992" ], "location": { "end": { @@ -87425,7 +87413,7 @@ } }, { - "id": "2438", + "id": "2440", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 29\n\n@@ -43,8 +43,36 @@\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- 7,\n+ 2,\n+ ],\n+ Array [\n+ Player {\n+ \"_id\": \"bbe0dc3aabe88dddb61aeb64\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"scandalmonger-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"scandalmonger\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Maurice\",\n+ \"position\": 438843148861440,\n+ \"role\": PlayerRole {\n+ \"current\": \"scandalmonger\",\n+ \"isRevealed\": false,\n+ \"original\": \"scandalmonger\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ 5,\n ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:292:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87433,12 +87421,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "993" + "994" ], "coveredBy": [ - "980", - "992", - "993" + "981", + "993", + "994" ], "location": { "end": { @@ -87452,7 +87440,7 @@ } }, { - "id": "2439", + "id": "2441", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,7): error TS18048: 'scandalmongerMarkedPlayerVoteCount' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,13): error TS2322: Type 'PlayerVoteCount | [Player | undefined, number]' is not assignable to type 'PlayerVoteCount'.\n Type '[Player | undefined, number]' is not assignable to type '[Player, number]'.\n Type at position 0 in source is not compatible with type at position 0 in target.\n Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,35): error TS2322: Type 'Player | undefined' is not assignable to type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -87460,9 +87448,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "992", - "993" + "981", + "993", + "994" ], "location": { "end": { @@ -87476,7 +87464,7 @@ } }, { - "id": "2440", + "id": "2442", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(55,7): error TS18048: 'scandalmongerMarkedPlayerVoteCount' is possibly 'undefined'.\n", @@ -87484,9 +87472,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "992", - "993" + "981", + "993", + "994" ], "location": { "end": { @@ -87500,7 +87488,7 @@ } }, { - "id": "2441", + "id": "2443", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 29\n\n@@ -43,8 +43,36 @@\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- 7,\n+ 2,\n+ ],\n+ Array [\n+ Player {\n+ \"_id\": \"46cbdeb1a306aaccf3adae0f\",\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"scandalmonger-marked\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"scandalmonger\",\n+ },\n+ ],\n+ \"death\": undefined,\n+ \"isAlive\": true,\n+ \"name\": \"Tiana\",\n+ \"position\": 3293969580556288,\n+ \"role\": PlayerRole {\n+ \"current\": \"scandalmonger\",\n+ \"isRevealed\": false,\n+ \"original\": \"scandalmonger\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ 5,\n ],\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts:292:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87508,10 +87496,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "993" + "994" ], "coveredBy": [ - "993" + "994" ], "location": { "end": { @@ -87525,14 +87513,14 @@ } }, { - "id": "2442", + "id": "2444", "mutatorName": "AssignmentOperator", "replacement": "scandalmongerMarkedPlayerVoteCount[1] -= markPenalty", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "993" + "994" ], "location": { "end": { @@ -87546,15 +87534,15 @@ } }, { - "id": "2443", + "id": "2445", "mutatorName": "ArrayDeclaration", "replacement": "[]", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "980", - "992" + "981", + "993" ], "location": { "end": { @@ -87568,7 +87556,7 @@ } }, { - "id": "2444", + "id": "2446", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,13): error TS2322: Type 'PlayerVoteCount | []' is not assignable to type 'PlayerVoteCount'.\n Type '[]' is not assignable to type '[Player, number]'.\n Source has 0 element(s) but target requires 2.\nsrc/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.ts(58,34): error TS2322: Type '[]' is not assignable to type 'PlayerVoteCount'.\n", @@ -87576,8 +87564,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "980", - "992" + "981", + "993" ], "location": { "end": { @@ -87597,7 +87585,7 @@ "language": "typescript", "mutants": [ { - "id": "2445", + "id": "2447", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(32,50): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -87608,8 +87596,8 @@ "228", "229", "230", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87623,7 +87611,7 @@ } }, { - "id": "2446", + "id": "2448", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Hit limit reached (505/500)", @@ -87634,8 +87622,8 @@ "228", "229", "230", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87649,7 +87637,7 @@ } }, { - "id": "2447", + "id": "2449", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(41,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -87659,8 +87647,8 @@ "coveredBy": [ "231", "232", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87674,7 +87662,7 @@ } }, { - "id": "2448", + "id": "2450", "mutatorName": "BooleanLiteral", "replacement": "clonedGame.upcomingPlays.length", "statusReason": "Error: thrown: \"Exceeded timeout of 5000 ms for a test.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1015:5\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:899:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:59:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87682,13 +87670,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "231", "232", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87702,7 +87690,7 @@ } }, { - "id": "2449", + "id": "2451", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 14\n\n@@ -1,20 +1,10 @@\n Game {\n \"_id\": \"2fd181f5ace51bc86cfef6a6\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-11-26T08:10:36.670Z,\n- \"currentPlay\": GamePlay {\n- \"action\": \"vote\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n+ \"currentPlay\": null,\n \"options\": GameOptions {\n \"composition\": CompositionGameOptions {\n \"isHidden\": false,\n },\n \"roles\": RolesGameOptions {\n@@ -91,9 +81,21 @@\n \"phase\": \"night\",\n \"players\": Array [],\n \"status\": \"playing\",\n \"tick\": 4314562310438912,\n \"turn\": 5197139047088128,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-days\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-26T03:18:59.925Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:198:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87715,8 +87703,8 @@ "coveredBy": [ "231", "232", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87730,7 +87718,7 @@ } }, { - "id": "2450", + "id": "2452", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,10 +1,10 @@\n Game {\n \"_id\": \"defc42021dd0de9d11644514\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-11-26T00:09:35.589Z,\n- \"currentPlay\": null,\n+ \"currentPlay\": undefined,\n \"options\": GameOptions {\n \"composition\": CompositionGameOptions {\n \"isHidden\": false,\n },\n \"roles\": RolesGameOptions {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:185:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87743,8 +87731,8 @@ "coveredBy": [ "231", "232", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -87758,7 +87746,7 @@ } }, { - "id": "2451", + "id": "2453", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,10 +1,10 @@\n Game {\n \"_id\": \"eebfce83b873678ae588e22f\",\n \"additionalCards\": undefined,\n \"createdAt\": 2023-11-26T07:25:07.490Z,\n- \"currentPlay\": null,\n+ \"currentPlay\": undefined,\n \"options\": GameOptions {\n \"composition\": CompositionGameOptions {\n \"isHidden\": false,\n },\n \"roles\": RolesGameOptions {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:185:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87783,37 +87771,7 @@ } }, { - "id": "2452", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(52,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "233", - "234", - "235", - "236", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 58 - }, - "start": { - "column": 96, - "line": 52 - } - } - }, - { - "id": "2453", + "id": "2455", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(60,43): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -87823,8 +87781,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -87838,7 +87795,7 @@ } }, { - "id": "2454", + "id": "2456", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(61,43): error TS2322: Type 'string' is not assignable to type 'GamePlay'.\n", @@ -87848,8 +87805,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -87863,7 +87819,7 @@ } }, { - "id": "2455", + "id": "2457", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87876,8 +87832,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -87891,7 +87846,7 @@ } }, { - "id": "2456", + "id": "2458", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -1,18 +1,7 @@\n Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"anytime\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-days\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:291:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87904,8 +87859,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -87919,7 +87873,7 @@ } }, { - "id": "2457", + "id": "2459", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -1,18 +1,7 @@\n Array [\n GamePlay {\n- \"action\": \"elect-sheriff\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"anytime\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-days\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:291:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87944,7 +87898,7 @@ } }, { - "id": "2458", + "id": "2460", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-days\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87957,8 +87911,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -87972,7 +87925,7 @@ } }, { - "id": "2459", + "id": "2461", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"vote\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- ]\n+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:276:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -87985,8 +87938,7 @@ "coveredBy": [ "237", "238", - "239", - "620" + "239" ], "location": { "end": { @@ -88000,7 +87952,7 @@ } }, { - "id": "2460", + "id": "2462", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 13\n+ Received + 1\n\n- Array [\n- GamePlay {\n- \"action\": \"vote\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- ]\n+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:276:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88012,8 +87964,7 @@ ], "coveredBy": [ "238", - "239", - "620" + "239" ], "location": { "end": { @@ -88027,35 +87978,7 @@ } }, { - "id": "2461", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(71,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "240", - "241", - "242", - "608", - "609", - "610", - "621" - ], - "location": { - "end": { - "column": 4, - "line": 82 - }, - "start": { - "column": 87, - "line": 71 - } - } - }, - { - "id": "2462", + "id": "2464", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 33\n\n@@ -1,7 +1,40 @@\n Array [\n GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"angel-presence\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"cupid\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"lovers\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88069,10 +87992,11 @@ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88086,7 +88010,7 @@ } }, { - "id": "2463", + "id": "2465", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 26\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca3418\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca3419\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca3418\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca3419\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368d93463d2f15eca341d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -435,29 +435,15 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n- },\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"lovers\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88094,16 +88018,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88117,7 +88042,7 @@ } }, { - "id": "2464", + "id": "2466", "mutatorName": "EqualityOperator", "replacement": "game.turn !== 1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 26\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f33\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f34\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f35\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f36\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f37\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f38\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f33\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f34\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f35\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f36\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f37\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368ddd817a84fdb0b7f38\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -435,29 +435,15 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n- },\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"lovers\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88125,16 +88050,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88148,7 +88074,7 @@ } }, { - "id": "2465", + "id": "2467", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e4fd\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e4fe\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e4ff\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e500\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e501\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e502\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"656368dd1ec16dadacb6e501\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -435,17 +355,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88156,13 +88082,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "240", "241", - "608", - "609" + "609", + "610" ], "location": { "end": { @@ -88176,31 +88102,7 @@ } }, { - "id": "2466", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(75,11): error TS2322: Type 'GamePlay[] | string[]' is not assignable to type 'GamePlay[]'.\n Type 'string[]' is not assignable to type 'GamePlay[]'.\n Type 'string' is not assignable to type 'GamePlay'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "242", - "610", - "621" - ], - "location": { - "end": { - "column": 112, - "line": 75 - }, - "start": { - "column": 110, - "line": 75 - } - } - }, - { - "id": "2467", + "id": "2469", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -8,28 +8,6 @@\n \"source\": GamePlaySource {\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88214,10 +88116,11 @@ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88231,7 +88134,7 @@ } }, { - "id": "2468", + "id": "2470", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 111\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867106\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867107\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867108\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867109\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed8486710a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed8486710b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867106\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867107\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867108\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed84867109\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed8486710a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e1d8fbebed8486710b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -436,10 +436,32 @@\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"cause\": \"angel-presence\",\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"choose-card\",\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": Object {\n+ \"name\": \"thief\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"choose-side\",\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": Object {\n+ \"name\": \"dog-wolf\",\n+ },\n+ },\n+ Object {\n \"action\": \"charm\",\n \"occurrence\": \"first-night-only\",\n \"source\": Object {\n \"name\": \"cupid\",\n },\n@@ -447,20 +469,69 @@\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n+ },\n },\n+ Object {\n+ \"action\": \"sniff\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"fox\",\n },\n+ },\n Object {\n \"action\": \"meet-each-other\",\n \"occurrence\": \"first-night-only\",\n \"source\": Object {\n \"name\": \"lovers\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"choose-sign\",\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": Object {\n+ \"name\": \"stuttering-judge\",\n },\n },\n Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"two-sisters\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"three-brothers\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"choose-model\",\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": Object {\n+ \"name\": \"wild-child\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"mark\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"raven\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"protect\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"guard\",\n+ },\n+ },\n+ Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n@@ -468,10 +539,38 @@\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"white-werewolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"big-bad-wolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"use-potions\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"witch\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"charm\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"pied-piper\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n },\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88239,16 +88142,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88262,7 +88166,7 @@ } }, { - "id": "2469", + "id": "2471", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 49\n+ Received + 13\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656368e209584be72eb1cb9f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -434,44 +434,8 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n- \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"lovers\",\n- },\n- },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"werewolves\",\n- },\n- },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"white-werewolf\",\n- },\n- },\n- ],\n+ \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88270,16 +88174,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88293,7 +88198,7 @@ } }, { - "id": "2470", + "id": "2472", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -8,28 +8,6 @@\n \"source\": GamePlaySource {\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88307,10 +88212,11 @@ "240", "241", "242", - "608", "609", "610", - "621" + "611", + "621", + "622" ], "location": { "end": { @@ -88324,7 +88230,7 @@ } }, { - "id": "2471", + "id": "2473", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(84,58): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -88334,8 +88240,8 @@ "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88349,7 +88255,7 @@ } }, { - "id": "2472", + "id": "2474", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(86,45): error TS2322: Type 'string' is not assignable to type 'GamePlay'.\n", @@ -88359,8 +88265,8 @@ "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88374,7 +88280,7 @@ } }, { - "id": "2473", + "id": "2475", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"68ff21e3a7a4f91bcd8e650e\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"e8813c99af5d5baf1e14ed1e\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"f6db1dd93feb8f686a83ced8\",\n+ \"_id\": \"225306d2e2af7be06bcdc20f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Ayla\",\n- \"position\": 1413507247505408,\n+ \"name\": \"Saul\",\n+ \"position\": 408544314654720,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"e8813c99af5d5baf1e14ed1e\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"a278162a2fefa6ada1d786f6\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Emerald\",\n- \"position\": 4782668262670336,\n+ \"name\": \"Elisa\",\n+ \"position\": 1865697082736640,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"f6db1dd93feb8f686a83ced8\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Ayla\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"225306d2e2af7be06bcdc20f\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Saul\",\n- \"position\": 408544314654720,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"a278162a2fefa6ada1d786f6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Elisa\",\n- \"position\": 1865697082736640,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 5455852632801281,\n \"turn\": 3791503948251136,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88382,13 +88288,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88402,7 +88308,7 @@ } }, { - "id": "2474", + "id": "2476", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", @@ -88411,8 +88317,8 @@ "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88426,7 +88332,7 @@ } }, { - "id": "2475", + "id": "2477", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"01dd3a5ab4bb31376abb4ddd\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"5bd25573fd9a88aeaaef62fd\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"580c9bd3e770d5fe7597b12f\",\n+ \"_id\": \"c9bdddfbaca3fe74a25a0aed\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Reid\",\n- \"position\": 1816382016585728,\n+ \"name\": \"Lafayette\",\n+ \"position\": 4560398378336256,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"5bd25573fd9a88aeaaef62fd\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"a54cc9eae8e5a60e0fec4827\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Jayce\",\n- \"position\": 8110737715101696,\n+ \"name\": \"Archibald\",\n+ \"position\": 7834669758283776,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"580c9bd3e770d5fe7597b12f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Reid\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"c9bdddfbaca3fe74a25a0aed\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Lafayette\",\n- \"position\": 4560398378336256,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"a54cc9eae8e5a60e0fec4827\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Archibald\",\n- \"position\": 7834669758283776,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 521445790711809,\n \"turn\": 7253049709953024,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88434,13 +88340,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88454,7 +88360,7 @@ } }, { - "id": "2476", + "id": "2478", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 62\n+ Received + 30\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"d84f69042ada454cea3f10bf\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"df6bc7c79eac4899b0a5ed55\",\n \"attributes\": Array [],\n@@ -36,101 +35,77 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"110bc7cefe45c110b50ea6e8\",\n+ \"_id\": \"aec4afcecd4203b198b64f3a\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Werner\",\n- \"position\": 1080499021807616,\n+ \"name\": \"Delbert\",\n+ \"position\": 8517941924462592,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n+ },\n },\n },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n- },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"df6bc7c79eac4899b0a5ed55\",\n+ \"player\": Object {\n+ \"_id\": \"843ba6ba3afad1cada246d31\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Francisco\",\n- \"position\": 2072543611584512,\n+ \"name\": \"Blanca\",\n+ \"position\": 5170072790237184,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n+ },\n+ ],\n+ },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"110bc7cefe45c110b50ea6e8\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Werner\",\n \"position\": 1080499021807616,\n \"role\": Object {\n \"current\": \"seer\",\n \"isRevealed\": false,\n \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"aec4afcecd4203b198b64f3a\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Delbert\",\n- \"position\": 8517941924462592,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"843ba6ba3afad1cada246d31\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Blanca\",\n- \"position\": 5170072790237184,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -205,11 +180,11 @@\n },\n \"votes\": Object {\n \"canBeSkipped\": false,\n },\n },\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"players\": Array [\n Object {\n \"_id\": \"df6bc7c79eac4899b0a5ed55\",\n \"attributes\": Array [],\n \"isAlive\": true,\n@@ -274,19 +249,12 @@\n },\n },\n ],\n \"status\": \"playing\",\n \"tick\": 3823219127615489,\n- \"turn\": 4789502436442112,\n+ \"turn\": 4789502436442113,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88462,13 +88368,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "243", "244", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88482,7 +88388,7 @@ } }, { - "id": "2477", + "id": "2479", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(96,127): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -88495,8 +88401,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88510,7 +88416,7 @@ } }, { - "id": "2478", + "id": "2480", "mutatorName": "MethodExpression", "replacement": "gameHistoryPhaseRecords.every(({\n play\n}) => {\n const {\n occurrence\n } = upcomingPlay;\n const {\n source,\n action,\n cause\n } = play;\n return areGamePlaysEqual({\n source,\n action,\n cause,\n occurrence\n }, upcomingPlay);\n})", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:481:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88526,8 +88432,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88541,7 +88447,7 @@ } }, { - "id": "2479", + "id": "2481", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:481:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88567,7 +88473,7 @@ } }, { - "id": "2480", + "id": "2482", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(101,32): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GamePlay'.\n Type '{}' is missing the following properties from type 'GamePlay': source, action, occurrence\n", @@ -88590,7 +88496,7 @@ } }, { - "id": "2481", + "id": "2483", "mutatorName": "MethodExpression", "replacement": "game.upcomingPlays.every(gamePlay => areGamePlaysEqual(gamePlay, upcomingPlay))", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:450:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88606,8 +88512,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88621,7 +88527,7 @@ } }, { - "id": "2482", + "id": "2484", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 14\n\n@@ -284,10 +284,24 @@\n \"source\": Object {\n \"name\": \"seer\",\n },\n },\n Object {\n+ \"action\": \"look\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88629,7 +88535,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", @@ -88637,8 +88543,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88652,7 +88558,7 @@ } }, { - "id": "2483", + "id": "2485", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:498:109)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88668,8 +88574,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88683,7 +88589,7 @@ } }, { - "id": "2484", + "id": "2486", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88691,7 +88597,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", @@ -88699,8 +88605,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88714,7 +88620,7 @@ } }, { - "id": "2485", + "id": "2487", "mutatorName": "LogicalOperator", "replacement": "!!currentPlay || areGamePlaysEqual(currentPlay, upcomingPlay)", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,62): error TS2345: Argument of type 'null' is not assignable to parameter of type 'GamePlay'.\n", @@ -88727,8 +88633,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88742,7 +88648,7 @@ } }, { - "id": "2486", + "id": "2488", "mutatorName": "BooleanLiteral", "replacement": "!currentPlay", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,61): error TS2345: Argument of type 'null' is not assignable to parameter of type 'GamePlay'.\n", @@ -88755,8 +88661,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88770,7 +88676,7 @@ } }, { - "id": "2487", + "id": "2489", "mutatorName": "BooleanLiteral", "replacement": "currentPlay", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(104,61): error TS2345: Argument of type 'null' is not assignable to parameter of type 'GamePlay'.\n", @@ -88783,8 +88689,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88798,7 +88704,7 @@ } }, { - "id": "2488", + "id": "2490", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:450:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88814,8 +88720,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88829,7 +88735,7 @@ } }, { - "id": "2489", + "id": "2491", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88837,7 +88743,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "245", @@ -88845,8 +88751,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88860,7 +88766,7 @@ } }, { - "id": "2490", + "id": "2492", "mutatorName": "LogicalOperator", "replacement": "!isInUpcomingPlays && !isAlreadyPlayed || !isCurrentPlay", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 14\n\n@@ -284,10 +284,24 @@\n \"source\": Object {\n \"name\": \"seer\",\n },\n },\n Object {\n+ \"action\": \"look\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88868,7 +88774,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", @@ -88876,8 +88782,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88891,7 +88797,7 @@ } }, { - "id": "2491", + "id": "2493", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 14\n\n@@ -284,10 +284,24 @@\n \"source\": Object {\n \"name\": \"seer\",\n },\n },\n Object {\n+ \"action\": \"look\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88899,7 +88805,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ "245", @@ -88907,8 +88813,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88922,7 +88828,7 @@ } }, { - "id": "2492", + "id": "2494", "mutatorName": "LogicalOperator", "replacement": "!isInUpcomingPlays || !isAlreadyPlayed", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -254,8 +254,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7452469565063169,\n \"turn\": 148107123752960,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1183:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88930,7 +88836,7 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "245", @@ -88938,8 +88844,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88953,7 +88859,7 @@ } }, { - "id": "2493", + "id": "2495", "mutatorName": "BooleanLiteral", "replacement": "isInUpcomingPlays", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:450:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -88969,8 +88875,8 @@ "247", "248", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -88984,7 +88890,7 @@ } }, { - "id": "2494", + "id": "2496", "mutatorName": "BooleanLiteral", "replacement": "isAlreadyPlayed", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -88992,15 +88898,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ "246", "247", "248", "251", - "620", - "621" + "622" ], "location": { "end": { @@ -89014,7 +88919,7 @@ } }, { - "id": "2495", + "id": "2497", "mutatorName": "BooleanLiteral", "replacement": "isCurrentPlay", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:457:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -89028,8 +88933,7 @@ "246", "248", "251", - "620", - "621" + "622" ], "location": { "end": { @@ -89043,7 +88947,7 @@ } }, { - "id": "2496", + "id": "2498", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(108,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -89054,8 +88958,8 @@ "249", "250", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -89069,7 +88973,7 @@ } }, { - "id": "2497", + "id": "2499", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:521:57)", @@ -89083,8 +88987,8 @@ "249", "250", "251", - "620", - "621" + "621", + "622" ], "location": { "end": { @@ -89098,13 +89002,71 @@ } }, { - "id": "2498", + "id": "2500", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 105\n\n@@ -1,23 +1,53 @@\n Object {\n \"_id\": \"428b3e8cc7c1e1efdc7fe147\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"eat\",\n- \"canBeSkipped\": false,\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": true,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 1,\n- \"min\": 1,\n+ \"max\": 4,\n+ \"min\": 0,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"0a4ffb3d1e4c1ecee08baf7b\",\n+ \"attributes\": Array [\n+ Object {\n+ \"name\": \"seen\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"seer\",\n+ },\n+ ],\n+ \"isAlive\": true,\n+ \"name\": \"Jaylen\",\n+ \"position\": 7597994457169920,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n ],\n \"player\": Object {\n \"_id\": \"a4ec92adebc09bc9ec2d6eed\",\n \"attributes\": Array [],\n \"isAlive\": true,\n@@ -35,12 +65,12 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n },\n ],\n \"player\": Object {\n \"_id\": \"4b1bf3cbb02fddb7b3dc79a9\",\n \"attributes\": Array [],\n@@ -53,18 +83,42 @@\n \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"3ae6b9438a3466d5dd4712ab\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Isom\",\n+ \"position\": 1191829917663232,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n },\n ],\n },\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"on-days\",\n \"source\": Object {\n- \"name\": \"werewolves\",\n+ \"name\": \"survivors\",\n \"players\": Array [\n Object {\n \"_id\": \"0a4ffb3d1e4c1ecee08baf7b\",\n \"attributes\": Array [\n Object {\n@@ -85,10 +139,42 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n+ \"_id\": \"a4ec92adebc09bc9ec2d6eed\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Ezekiel\",\n+ \"position\": 5180090463813632,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"4b1bf3cbb02fddb7b3dc79a9\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jordi\",\n+ \"position\": 7495782928220160,\n+ \"role\": Object {\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n \"_id\": \"3ae6b9438a3466d5dd4712ab\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Isom\",\n \"position\": 1191829917663232,\n@@ -254,8 +340,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 2693557479538689,\n \"turn\": 4174414446854144,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1183:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 5, "static": false, + "killedBy": [ + "622" + ], + "coveredBy": [ + "249", + "250", + "251", + "621", + "622" + ], + "location": { + "end": { + "column": 70, + "line": 110 + }, + "start": { + "column": 39, + "line": 110 + } + } + }, + { + "id": "2501", + "mutatorName": "EqualityOperator", + "replacement": "game.phase !== GamePhases.NIGHT", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 103\n\n@@ -1,23 +1,53 @@\n Object {\n \"_id\": \"5aaddafae853562ab7ffcedb\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"eat\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 1,\n+ \"max\": 4,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"de82bafecad871610ad99006\",\n+ \"attributes\": Array [\n+ Object {\n+ \"name\": \"seen\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"seer\",\n+ },\n+ ],\n+ \"isAlive\": true,\n+ \"name\": \"Elouise\",\n+ \"position\": 2942034992168960,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n ],\n \"player\": Object {\n \"_id\": \"c0e3db2f3eac6ab8d1a7c834\",\n \"attributes\": Array [],\n \"isAlive\": true,\n@@ -35,12 +65,12 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n },\n ],\n \"player\": Object {\n \"_id\": \"dfd1fda3ecd8cecbffeaecac\",\n \"attributes\": Array [],\n@@ -53,18 +83,42 @@\n \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"fe9e5d5cfa7ee66aaff87c4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Francisca\",\n+ \"position\": 3476563142115328,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n+ },\n ],\n },\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"on-days\",\n \"source\": Object {\n- \"name\": \"werewolves\",\n+ \"name\": \"survivors\",\n \"players\": Array [\n Object {\n \"_id\": \"de82bafecad871610ad99006\",\n \"attributes\": Array [\n Object {\n@@ -85,10 +139,42 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n+ \"_id\": \"c0e3db2f3eac6ab8d1a7c834\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jayne\",\n+ \"position\": 1302078769070080,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"dfd1fda3ecd8cecbffeaecac\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Eloy\",\n+ \"position\": 8040594404278272,\n+ \"role\": Object {\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n \"_id\": \"fe9e5d5cfa7ee66aaff87c4f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Francisca\",\n \"position\": 3476563142115328,\n@@ -254,8 +340,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 8223256483987457,\n \"turn\": 5997203671744512,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1183:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "622" + ], + "coveredBy": [ + "249", + "250", + "251", + "621", + "622" + ], + "location": { + "end": { + "column": 70, + "line": 110 + }, + "start": { + "column": 39, + "line": 110 + } + } + }, + { + "id": "2502", + "mutatorName": "MethodExpression", + "replacement": "currentPhaseUpcomingPlays", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -277,10 +277,17 @@\n \"status\": \"playing\",\n \"tick\": 5811638173171713,\n \"turn\": 1137529625509888,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"occurrence\": \"on-days\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ },\n+ },\n+ Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, + "static": false, "killedBy": [ "621" ], @@ -89112,6890 +89074,7225 @@ "249", "250", "251", - "620", + "621", + "622" + ], + "location": { + "end": { + "column": 136, + "line": 112 + }, + "start": { + "column": 12, + "line": 112 + } + } + }, + { + "id": "2503", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, {\"_id\": \"cc96cf7ce1fde8d12f56cba2\", \"additionalCards\": undefined, \"createdAt\": 2023-11-26T07:13:30.167Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1287270552305664}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 8853614852308992, \"turn\": 4993070504345600, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T19:22:21.321Z, \"victory\": undefined}, []\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:535:70)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "251" + ], + "coveredBy": [ + "249", + "250", + "251", + "621", + "622" + ], + "location": { + "end": { + "column": 135, + "line": 112 + }, + "start": { + "column": 45, + "line": 112 + } + } + }, + { + "id": "2504", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 6, + "static": false, + "killedBy": [ + "253" + ], + "coveredBy": [ + "252", + "253", + "254", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 122 + }, + "start": { + "column": 74, + "line": 115 + } + } + }, + { + "id": "2505", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "253" + ], + "coveredBy": [ + "252", + "253", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 6, + "line": 121 + }, + "start": { + "column": 47, + "line": 116 + } + } + }, + { + "id": "2506", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "621" + ], + "coveredBy": [ + "252", + "253", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 35, + "line": 118 + }, + "start": { + "column": 11, + "line": 118 + } + } + }, + { + "id": "2507", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "253" + ], + "coveredBy": [ + "252", + "253", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 35, + "line": 118 + }, + "start": { + "column": 11, + "line": 118 + } + } + }, + { + "id": "2508", + "mutatorName": "EqualityOperator", + "replacement": "playPriorityIndex !== -1", + "statusReason": "Error: expect(received).not.toThrow()\n\nThrown value: undefined\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:549:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "252" + ], + "coveredBy": [ + "252", + "253", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 35, + "line": 118 + }, + "start": { + "column": 11, + "line": 118 + } + } + }, + { + "id": "2509", + "mutatorName": "UnaryOperator", + "replacement": "+1", + "statusReason": "Error: expect(received).not.toThrow()\n\nThrown value: undefined\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:549:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "252" + ], + "coveredBy": [ + "252", + "253", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 35, + "line": 118 + }, + "start": { + "column": 33, + "line": 118 + } + } + }, + { + "id": "2510", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "253" + ], + "coveredBy": [ + "253" + ], + "location": { + "end": { + "column": 8, + "line": 120 + }, + "start": { + "column": 37, + "line": 118 + } + } + }, + { + "id": "2511", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(124,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "254", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 4, + "line": 132 + }, + "start": { + "column": 78, + "line": 124 + } + } + }, + { + "id": "2512", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(126,40): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'GamePlay[]'.\n Type 'undefined' is not assignable to type 'GamePlay'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(127,5): error TS2322: Type 'undefined[]' is not assignable to type 'GamePlay[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(128,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'GamePlay'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(129,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'GamePlay'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "254", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 95, + "line": 125 + }, + "start": { + "column": 51, + "line": 125 + } + } + }, + { + "id": "2513", + "mutatorName": "MethodExpression", + "replacement": "clonedUpcomingPlays", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 27\n+ Received + 27\n\n@@ -1,14 +1,14 @@\n Array [\n GamePlay {\n- \"action\": \"shoot\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-days\",\n \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"elect-sheriff\",\n@@ -20,82 +20,82 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"stuttering-judge-request\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"seer\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n+ \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n+ \"name\": \"hunter\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:593:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, + "static": false, + "killedBy": [ + "255" + ], + "coveredBy": [ + "254", + "255", + "621", + "622" + ], + "location": { + "end": { + "column": 7, + "line": 131 + }, + "start": { + "column": 12, + "line": 127 + } + } + }, + { + "id": "2514", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type '(playA: GamePlay, playB: GamePlay) => void' is not assignable to parameter of type '(a: GamePlay, b: GamePlay) => number'.\n Type 'void' is not assignable to type 'number'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "255", + "621" + ], + "location": { + "end": { + "column": 6, + "line": 131 + }, + "start": { + "column": 55, + "line": 127 + } + } + }, + { + "id": "2515", + "mutatorName": "ArithmeticOperator", + "replacement": "playAPriorityIndex + playBPriorityIndex", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 27\n+ Received + 27\n\n@@ -1,14 +1,14 @@\n Array [\n GamePlay {\n- \"action\": \"shoot\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-days\",\n \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"elect-sheriff\",\n@@ -20,82 +20,82 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"stuttering-judge-request\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"seer\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n+ \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n+ \"name\": \"hunter\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:593:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, + "static": false, + "killedBy": [ + "255" + ], + "coveredBy": [ + "255", "621" ], "location": { "end": { - "column": 70, - "line": 110 + "column": 53, + "line": 130 + }, + "start": { + "column": 14, + "line": 130 + } + } + }, + { + "id": "2517", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 15, + "static": false, + "killedBy": [ + "237" + ], + "coveredBy": [ + "237", + "238", + "239", + "240", + "241", + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 91, + "line": 136 + }, + "start": { + "column": 12, + "line": 136 + } + } + }, + { + "id": "2518", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a11\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a12\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a13\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a14\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a15\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a16\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a15\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -435,17 +355,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 15, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "237", + "238", + "239", + "240", + "241", + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 91, + "line": 136 + }, + "start": { + "column": 12, + "line": 136 + } + } + }, + { + "id": "2519", + "mutatorName": "LogicalOperator", + "replacement": "isEnabled && electedAt.turn === currentTurn || electedAt.phase === currentPhase", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 15, + "static": false, + "killedBy": [ + "237" + ], + "coveredBy": [ + "237", + "238", + "239", + "240", + "241", + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 91, + "line": 136 + }, + "start": { + "column": 12, + "line": 136 + } + } + }, + { + "id": "2520", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4919388/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 15, + "static": false, + "killedBy": [ + "242" + ], + "coveredBy": [ + "237", + "238", + "239", + "240", + "241", + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 55, + "line": 136 + }, + "start": { + "column": 12, + "line": 136 + } + } + }, + { + "id": "2521", + "mutatorName": "LogicalOperator", + "replacement": "isEnabled || electedAt.turn === currentTurn", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 15, + "static": false, + "killedBy": [ + "237" + ], + "coveredBy": [ + "237", + "238", + "239", + "240", + "241", + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 55, + "line": 136 + }, + "start": { + "column": 12, + "line": 136 + } + } + }, + { + "id": "2522", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9961538/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 11, + "static": false, + "killedBy": [ + "242" + ], + "coveredBy": [ + "238", + "239", + "240", + "241", + "242", + "257", + "258", + "259", + "609", + "610", + "621", + "622" + ], + "location": { + "end": { + "column": 55, + "line": 136 + }, + "start": { + "column": 25, + "line": 136 + } + } + }, + { + "id": "2523", + "mutatorName": "EqualityOperator", + "replacement": "electedAt.turn !== currentTurn", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb00\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb01\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -439,17 +359,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 11, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "238", + "239", + "240", + "241", + "242", + "257", + "258", + "259", + "609", + "610", + "621", + "622" + ], + "location": { + "end": { + "column": 55, + "line": 136 + }, + "start": { + "column": 25, + "line": 136 + } + } + }, + { + "id": "2524", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:634:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 7, + "static": false, + "killedBy": [ + "258" + ], + "coveredBy": [ + "239", + "240", + "241", + "258", + "259", + "609", + "610" + ], + "location": { + "end": { + "column": 91, + "line": 136 + }, + "start": { + "column": 59, + "line": 136 + } + } + }, + { + "id": "2525", + "mutatorName": "EqualityOperator", + "replacement": "electedAt.phase !== currentPhase", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b08\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b09\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b08\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -435,17 +355,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 7, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "239", + "240", + "241", + "258", + "259", + "609", + "610" + ], + "location": { + "end": { + "column": 91, + "line": 136 + }, + "start": { + "column": 59, + "line": 136 + } + } + }, + { + "id": "2530", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.CUPID)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 19\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dc\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dd\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7de\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7df\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e0\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dc\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dd\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7de\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7df\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e0\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -451,17 +451,10 @@\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n- },\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"lovers\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "609" + ], + "coveredBy": [ + "260", + "261", + "609", + "610", + "611" + ], + "location": { + "end": { + "column": 59, + "line": 141 + }, + "start": { + "column": 14, + "line": 141 + } + } + }, + { + "id": "2531", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.CUPID)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, + "static": false, + "killedBy": [ + "260" + ], + "coveredBy": [ + "260", + "261", + "609", + "610", + "611" + ], + "location": { + "end": { + "column": 59, + "line": 141 + }, + "start": { + "column": 15, + "line": 141 + } + } + }, + { + "id": "2532", + "mutatorName": "BooleanLiteral", + "replacement": "cupidPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "240", + "241", + "262", + "263", + "264", + "265", + "266", + "267" + ], + "location": { + "end": { + "column": 21, + "line": 144 }, "start": { - "column": 39, - "line": 110 + "column": 9, + "line": 144 } } }, { - "id": "2499", - "mutatorName": "EqualityOperator", - "replacement": "game.phase !== GamePhases.NIGHT", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 103\n\n@@ -1,23 +1,53 @@\n Object {\n \"_id\": \"5aaddafae853562ab7ffcedb\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"eat\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 1,\n+ \"max\": 4,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"de82bafecad871610ad99006\",\n+ \"attributes\": Array [\n+ Object {\n+ \"name\": \"seen\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"seer\",\n+ },\n+ ],\n+ \"isAlive\": true,\n+ \"name\": \"Elouise\",\n+ \"position\": 2942034992168960,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n ],\n \"player\": Object {\n \"_id\": \"c0e3db2f3eac6ab8d1a7c834\",\n \"attributes\": Array [],\n \"isAlive\": true,\n@@ -35,12 +65,12 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"werewolves\",\n- \"type\": \"eat\",\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n },\n ],\n \"player\": Object {\n \"_id\": \"dfd1fda3ecd8cecbffeaecac\",\n \"attributes\": Array [],\n@@ -53,18 +83,42 @@\n \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n+ },\n+ },\n+ },\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"survivors\",\n+ \"type\": \"vote\",\n+ },\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"fe9e5d5cfa7ee66aaff87c4f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Francisca\",\n+ \"position\": 3476563142115328,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n+ },\n ],\n },\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"on-days\",\n \"source\": Object {\n- \"name\": \"werewolves\",\n+ \"name\": \"survivors\",\n \"players\": Array [\n Object {\n \"_id\": \"de82bafecad871610ad99006\",\n \"attributes\": Array [\n Object {\n@@ -85,10 +139,42 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n+ \"_id\": \"c0e3db2f3eac6ab8d1a7c834\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jayne\",\n+ \"position\": 1302078769070080,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"dfd1fda3ecd8cecbffeaecac\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Eloy\",\n+ \"position\": 8040594404278272,\n+ \"role\": Object {\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n \"_id\": \"fe9e5d5cfa7ee66aaff87c4f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Francisca\",\n \"position\": 3476563142115328,\n@@ -254,8 +340,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 8223256483987457,\n \"turn\": 5997203671744512,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"eat\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"werewolves\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1183:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "2533", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "621" - ], + "killedBy": [], "coveredBy": [ - "249", - "250", - "251", - "620", - "621" + "240", + "241", + "262", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 70, - "line": 110 + "column": 21, + "line": 144 }, "start": { - "column": 39, - "line": 110 + "column": 9, + "line": 144 } } }, { - "id": "2500", - "mutatorName": "MethodExpression", - "replacement": "currentPhaseUpcomingPlays", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -277,10 +277,17 @@\n \"status\": \"playing\",\n \"tick\": 5811638173171713,\n \"turn\": 1137529625509888,\n \"upcomingPlays\": Array [\n Object {\n+ \"action\": \"vote\",\n+ \"occurrence\": \"on-days\",\n+ \"source\": Object {\n+ \"name\": \"survivors\",\n+ },\n+ },\n+ Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 5, + "id": "2534", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "620" - ], + "killedBy": [], "coveredBy": [ - "249", - "250", - "251", - "620", - "621" + "240", + "241", + "262", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 136, - "line": 112 + "column": 21, + "line": 144 }, "start": { - "column": 12, - "line": 112 + "column": 9, + "line": 144 } } }, { - "id": "2501", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: {\"action\": \"elect-sheriff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"anytime\", \"source\": {\"name\": \"survivors\", \"players\": undefined}}, {\"_id\": \"cc96cf7ce1fde8d12f56cba2\", \"additionalCards\": undefined, \"createdAt\": 2023-11-26T07:13:30.167Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 2}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": false}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1287270552305664}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 5}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 8853614852308992, \"turn\": 4993070504345600, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T19:22:21.321Z, \"victory\": undefined}, []\n\nNumber of calls: 0\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:535:70)", - "status": "Killed", - "testsCompleted": 5, + "id": "2535", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(146,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "251" - ], + "killedBy": [], "coveredBy": [ - "249", - "250", - "251", - "620", - "621" + "240", + "262" ], "location": { "end": { - "column": 135, - "line": 112 + "column": 6, + "line": 146 }, "start": { - "column": 45, - "line": 112 + "column": 23, + "line": 144 } } }, { - "id": "2502", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2536", + "mutatorName": "BooleanLiteral", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -20,10 +20,21 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"lovers\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 2, "static": false, "killedBy": [ - "253" + "240" ], "coveredBy": [ - "252", - "253", - "254", - "255", - "620", - "621" + "240", + "262" ], "location": { "end": { - "column": 4, - "line": 122 + "column": 19, + "line": 145 }, "start": { - "column": 74, - "line": 115 + "column": 14, + "line": 145 } } }, { - "id": "2503", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2537", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 6, "static": false, "killedBy": [ - "253" + "263" ], "coveredBy": [ - "252", - "253", - "255", - "620", - "621" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 6, - "line": 121 + "column": 157, + "line": 148 }, "start": { - "column": 47, - "line": 116 + "column": 12, + "line": 148 } } }, { - "id": "2504", + "id": "2538", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 6, "static": false, "killedBy": [ - "620" + "241" ], "coveredBy": [ - "252", - "253", - "255", - "620", - "621" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 35, - "line": 118 + "column": 157, + "line": 148 }, "start": { - "column": 11, - "line": 118 + "column": 12, + "line": 148 } } }, { - "id": "2505", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2539", + "mutatorName": "LogicalOperator", + "replacement": "!inLovePlayers.length && isPlayerAliveAndPowerful(cupidPlayer, game) && inLovePlayers.length > 0 && inLovePlayers.every(player => player.isAlive)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 6, "static": false, "killedBy": [ - "253" + "241" ], "coveredBy": [ - "252", - "253", - "255", - "620", - "621" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 35, - "line": 118 + "column": 157, + "line": 148 }, "start": { - "column": 11, - "line": 118 + "column": 12, + "line": 148 } } }, { - "id": "2506", - "mutatorName": "EqualityOperator", - "replacement": "playPriorityIndex !== -1", - "statusReason": "Error: expect(received).not.toThrow()\n\nThrown value: undefined\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:549:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2540", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 6, "static": false, "killedBy": [ - "252" + "241" ], "coveredBy": [ - "252", - "253", - "255", - "620", - "621" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 35, - "line": 118 + "column": 80, + "line": 148 }, "start": { - "column": 11, - "line": 118 + "column": 12, + "line": 148 } } }, { - "id": "2507", - "mutatorName": "UnaryOperator", - "replacement": "+1", - "statusReason": "Error: expect(received).not.toThrow()\n\nThrown value: undefined\n\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:549:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2541", + "mutatorName": "LogicalOperator", + "replacement": "!inLovePlayers.length || isPlayerAliveAndPowerful(cupidPlayer, game)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 6, "static": false, "killedBy": [ - "252" + "263" ], "coveredBy": [ - "252", - "253", - "255", - "620", - "621" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 35, - "line": 118 + "column": 80, + "line": 148 }, "start": { - "column": 33, - "line": 118 + "column": 12, + "line": 148 } } }, { - "id": "2508", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toThrow()\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:559:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2542", + "mutatorName": "BooleanLiteral", + "replacement": "inLovePlayers.length", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 6, "static": false, "killedBy": [ - "253" + "241" ], "coveredBy": [ - "253" + "241", + "263", + "264", + "265", + "266", + "267" ], "location": { "end": { - "column": 8, - "line": 120 + "column": 33, + "line": 148 }, "start": { - "column": 37, - "line": 118 + "column": 12, + "line": 148 } } }, { - "id": "2509", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(124,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2543", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "267" + ], "coveredBy": [ - "254", - "255", - "620", - "621" + "263", + "264", + "266", + "267" ], "location": { "end": { - "column": 4, - "line": 132 + "column": 157, + "line": 148 }, "start": { - "column": 78, - "line": 124 + "column": 84, + "line": 148 } } }, { - "id": "2510", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(126,40): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'GamePlay[]'.\n Type 'undefined' is not assignable to type 'GamePlay'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(127,5): error TS2322: Type 'undefined[]' is not assignable to type 'GamePlay[]'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(128,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'GamePlay'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(129,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'GamePlay'.\n", - "status": "CompileError", + "id": "2544", + "mutatorName": "LogicalOperator", + "replacement": "inLovePlayers.length > 0 || inLovePlayers.every(player => player.isAlive)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "263" + ], "coveredBy": [ - "254", - "255", - "620", - "621" + "263", + "264", + "266", + "267" ], "location": { "end": { - "column": 95, - "line": 125 + "column": 157, + "line": 148 }, "start": { - "column": 51, - "line": 125 + "column": 84, + "line": 148 } } }, { - "id": "2511", - "mutatorName": "MethodExpression", - "replacement": "clonedUpcomingPlays", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 27\n+ Received + 27\n\n@@ -1,14 +1,14 @@\n Array [\n GamePlay {\n- \"action\": \"shoot\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-days\",\n \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"elect-sheriff\",\n@@ -20,82 +20,82 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"stuttering-judge-request\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"seer\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n+ \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n+ \"name\": \"hunter\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:593:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2545", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 4, "static": false, "killedBy": [ - "255" + "263" ], "coveredBy": [ - "254", - "255", - "620", - "621" + "263", + "264", + "266", + "267" ], "location": { "end": { - "column": 7, - "line": 131 + "column": 108, + "line": 148 }, "start": { - "column": 12, - "line": 127 + "column": 84, + "line": 148 } } }, { - "id": "2512", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(127,37): error TS2345: Argument of type '(playA: GamePlay, playB: GamePlay) => void' is not assignable to parameter of type '(a: GamePlay, b: GamePlay) => number'.\n Type 'void' is not assignable to type 'number'.\n", - "status": "CompileError", + "id": "2546", + "mutatorName": "EqualityOperator", + "replacement": "inLovePlayers.length >= 0", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "263" + ], "coveredBy": [ - "255", - "620" + "263", + "264", + "266", + "267" ], "location": { "end": { - "column": 6, - "line": 131 + "column": 108, + "line": 148 }, "start": { - "column": 55, - "line": 127 + "column": 84, + "line": 148 } } }, { - "id": "2513", - "mutatorName": "ArithmeticOperator", - "replacement": "playAPriorityIndex + playBPriorityIndex", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 27\n+ Received + 27\n\n@@ -1,14 +1,14 @@\n Array [\n GamePlay {\n- \"action\": \"shoot\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-days\",\n \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"elect-sheriff\",\n@@ -20,82 +20,82 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"previous-votes-were-in-ties\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n- \"cause\": \"stuttering-judge-request\",\n+ \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-days\",\n+ \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n+ \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"stuttering-judge-request\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"seer\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n+ \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n+ \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n+ \"name\": \"hunter\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n+ \"action\": \"vote\",\n \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n+ \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n+ \"occurrence\": \"consequential\",\n \"source\": GamePlaySource {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:593:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2547", + "mutatorName": "EqualityOperator", + "replacement": "inLovePlayers.length <= 0", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 4, "static": false, "killedBy": [ - "255" + "263" ], "coveredBy": [ - "255", - "620" + "263", + "264", + "266", + "267" ], "location": { "end": { - "column": 53, - "line": 130 + "column": 108, + "line": 148 }, "start": { - "column": 14, - "line": 130 + "column": 84, + "line": 148 } } }, { - "id": "2514", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(134,121): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2548", + "mutatorName": "MethodExpression", + "replacement": "inLovePlayers.some(player => player.isAlive)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "266" + ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "256", - "257", - "258", - "259", - "608", - "609", - "610", - "620", - "621" + "266", + "267" ], "location": { "end": { - "column": 4, - "line": 137 + "column": 157, + "line": 148 }, "start": { - "column": 129, - "line": 134 + "column": 112, + "line": 148 } } }, { - "id": "2515", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2549", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 2, "static": false, "killedBy": [ - "237" + "267" ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "256", - "257", - "258", - "259", - "608", - "609", - "610", - "620", - "621" + "266", + "267" ], "location": { "end": { - "column": 91, - "line": 136 + "column": 156, + "line": 148 }, "start": { - "column": 12, - "line": 136 + "column": 132, + "line": 148 } } }, { - "id": "2516", + "id": "2552", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a11\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a12\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a13\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a14\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a15\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a16\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"656369360238403809357a15\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -435,17 +355,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"babd91af3bb5fdbe5af8ca33\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"68bfecf33372276e84aedeaf\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"d90569cb0f71ba244ffa4ded\",\n+ \"_id\": \"7eac7a4cfb157ef924ccf4ab\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Kayley\",\n- \"position\": 1884379840249856,\n+ \"name\": \"Franz\",\n+ \"position\": 5865656664719360,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"68bfecf33372276e84aedeaf\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"2ecafbe7bc6abacfb4bacbc5\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Litzy\",\n- \"position\": 6126948935794688,\n+ \"name\": \"Rudy\",\n+ \"position\": 2352558546878464,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"d90569cb0f71ba244ffa4ded\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Kayley\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"7eac7a4cfb157ef924ccf4ab\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Franz\",\n- \"position\": 5865656664719360,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"2ecafbe7bc6abacfb4bacbc5\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Rudy\",\n- \"position\": 2352558546878464,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 4164688193519617,\n \"turn\": 4443078876200960,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 14, "static": false, "killedBy": [ - "608" + "621" ], "coveredBy": [ - "237", - "238", - "239", "240", "241", - "242", - "256", - "257", - "258", - "259", - "608", + "268", + "269", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "620", + "611", "621" ], "location": { "end": { - "column": 91, - "line": 136 + "column": 57, + "line": 152 }, "start": { - "column": 12, - "line": 136 + "column": 9, + "line": 152 } } }, { - "id": "2517", - "mutatorName": "LogicalOperator", - "replacement": "isEnabled && electedAt.turn === currentTurn || electedAt.phase === currentPhase", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2553", + "mutatorName": "EqualityOperator", + "replacement": "gamePlay.cause === GamePlayCauses.ANGEL_PRESENCE", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -9,10 +9,21 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"angel-presence\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 14, "static": false, "killedBy": [ - "237" + "240" ], "coveredBy": [ - "237", - "238", - "239", "240", "241", - "242", - "256", - "257", - "258", - "259", - "608", + "268", + "269", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "620", + "611", "621" ], "location": { "end": { - "column": 91, - "line": 136 + "column": 57, + "line": 152 }, "start": { - "column": 12, - "line": 136 + "column": 9, + "line": 152 } } }, { - "id": "2518", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4919388/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2554", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 3, "static": false, "killedBy": [ - "242" + "268" ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "256", - "257", - "258", - "259", - "608", - "609", - "610", - "620", + "268", + "269", "621" ], "location": { "end": { - "column": 55, - "line": 136 + "column": 6, + "line": 154 }, "start": { - "column": 12, - "line": 136 + "column": 59, + "line": 152 } } }, { - "id": "2519", - "mutatorName": "LogicalOperator", - "replacement": "isEnabled || electedAt.turn === currentTurn", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n- Array []\n+ Array [\n+ GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:266:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2555", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 15, + "testsCompleted": 3, "static": false, "killedBy": [ - "237" + "268" ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "256", - "257", - "258", - "259", - "608", - "609", - "610", - "620", + "268", + "269", "621" ], "location": { "end": { - "column": 55, - "line": 136 + "column": 18, + "line": 153 }, "start": { - "column": 12, - "line": 136 + "column": 14, + "line": 153 } } }, { - "id": "2520", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"elect-sheriff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"anytime\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9961538/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2559", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.ANGEL)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 5, "static": false, "killedBy": [ - "242" + "270" ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "257", - "258", - "259", - "608", + "270", + "271", "609", - "621" + "610", + "611" ], "location": { "end": { - "column": 55, - "line": 136 + "column": 59, + "line": 156 }, "start": { - "column": 25, - "line": 136 + "column": 14, + "line": 156 } } }, { - "id": "2521", - "mutatorName": "EqualityOperator", - "replacement": "electedAt.turn !== currentTurn", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb00\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb01\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"6567a1790c9e17c547a6cb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -439,17 +359,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox149386/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2560", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.ANGEL)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 5, "static": false, "killedBy": [ - "608" + "270" ], "coveredBy": [ - "237", - "238", - "239", - "240", - "241", - "242", - "257", - "258", - "259", - "608", + "270", + "271", "609", - "621" + "610", + "611" ], "location": { "end": { - "column": 55, - "line": 136 + "column": 59, + "line": 156 }, "start": { - "column": 25, - "line": 136 + "column": 15, + "line": 156 } } }, { - "id": "2522", + "id": "2561", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:634:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -9,10 +9,21 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"angel-presence\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 6, "static": false, "killedBy": [ - "258" + "240" ], "coveredBy": [ - "239", "240", "241", - "258", - "259", - "608", - "609" + "272", + "273", + "274", + "275" ], "location": { "end": { - "column": 91, - "line": 136 + "column": 72, + "line": 159 }, "start": { - "column": 59, - "line": 136 + "column": 12, + "line": 159 } } }, { - "id": "2523", - "mutatorName": "EqualityOperator", - "replacement": "electedAt.phase !== currentPhase", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 111\n+ Received + 24\n\n@@ -1,26 +1,26 @@\n Object {\n \"_id\": Any,\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"charm\",\n \"canBeSkipped\": false,\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 6,\n- \"min\": 1,\n+ \"max\": 2,\n+ \"min\": 2,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -35,16 +35,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -59,16 +59,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -83,16 +83,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -107,16 +107,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b08\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -131,16 +131,16 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"choose-as-sheriff\",\n+ \"source\": \"cupid\",\n+ \"type\": \"charm\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b09\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -154,80 +154,16 @@\n },\n },\n },\n ],\n },\n- \"occurrence\": \"anytime\",\n+ \"occurrence\": \"first-night-only\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"cupid\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Antoine\",\n- \"position\": 0,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Mathis\",\n- \"position\": 1,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Virgil\",\n- \"position\": 2,\n- \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"villager-villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"JB\",\n- \"position\": 3,\n- \"role\": Object {\n- \"current\": \"white-werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"white-werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": Any,\n+ \"_id\": \"65636944e5db4082e5a87b08\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -238,26 +174,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": Any,\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Juju\",\n- \"position\": 5,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -435,17 +355,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 1,\n \"turn\": 1,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"charm\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"cupid\",\n- },\n- },\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2562", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n- \"canBeSkipped\": undefined,\n- \"cause\": \"angel-presence\",\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-card\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 6, "static": false, "killedBy": [ - "608" + "241" ], "coveredBy": [ - "239", "240", "241", - "258", - "259", - "608", - "609" + "272", + "273", + "274", + "275" ], "location": { "end": { - "column": 91, - "line": 136 + "column": 72, + "line": 159 }, "start": { - "column": 59, - "line": 136 + "column": 12, + "line": 159 } } }, { - "id": "2524", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(139,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2563", + "mutatorName": "LogicalOperator", + "replacement": "!!angelPlayer || isPlayerAliveAndPowerful(angelPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "240", "241", - "260", - "261", - "262", - "263", - "264", - "265", - "266", - "267", - "608", - "609", - "610" + "272", + "273", + "274", + "275" ], "location": { "end": { - "column": 4, - "line": 149 + "column": 72, + "line": 159 }, "start": { - "column": 88, - "line": 139 + "column": 12, + "line": 159 } } }, { - "id": "2525", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "id": "2564", + "mutatorName": "BooleanLiteral", + "replacement": "!angelPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "240", "241", - "260", - "261", - "262", - "263", - "264", - "265", - "266", - "267", - "608", - "609", - "610" + "272", + "273", + "274", + "275" ], "location": { "end": { - "column": 38, - "line": 140 + "column": 25, + "line": 159 }, "start": { - "column": 9, - "line": 140 + "column": 12, + "line": 159 } } }, { - "id": "2526", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "id": "2565", + "mutatorName": "BooleanLiteral", + "replacement": "angelPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "240", "241", - "260", - "261", - "262", - "263", - "264", - "265", - "266", - "267", - "608", - "609", - "610" + "272", + "273", + "274", + "275" ], "location": { "end": { - "column": 38, - "line": 140 + "column": 25, + "line": 159 }, "start": { - "column": 9, - "line": 140 + "column": 13, + "line": 159 } } }, { - "id": "2527", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(145,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(146,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", - "status": "CompileError", + "id": "2569", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1171:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 13, "static": false, - "killedBy": [], + "killedBy": [ + "621" + ], "coveredBy": [ - "260", - "261", - "608", + "240", + "241", + "242", + "243", + "244", + "280", + "281", + "282", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 6, - "line": 142 + "column": 139, + "line": 168 }, "start": { "column": 40, - "line": 140 + "line": 168 } } }, { - "id": "2528", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.CUPID)", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 19\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dc\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dd\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7de\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7df\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e0\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dc\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7dd\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7de\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7df\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e0\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"65675587c11f458915f9d7e1\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -451,17 +451,10 @@\n Object {\n \"action\": \"look\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n- },\n- },\n- Object {\n- \"action\": \"meet-each-other\",\n- \"occurrence\": \"first-night-only\",\n- \"source\": Object {\n- \"name\": \"lovers\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:669:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2570", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 19\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6483\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6484\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6485\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6486\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6487\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6488\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6483\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6484\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6485\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6486\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6487\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6488\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -458,17 +458,10 @@\n Object {\n \"action\": \"meet-each-other\",\n \"occurrence\": \"first-night-only\",\n \"source\": Object {\n \"name\": \"lovers\",\n- },\n- },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"werewolves\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 13, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "260", - "261", - "608", + "240", + "241", + "242", + "243", + "244", + "280", + "281", + "282", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 59, - "line": 141 + "column": 139, + "line": 168 }, "start": { - "column": 14, - "line": 141 + "column": 40, + "line": 168 } } }, { - "id": "2529", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.CUPID)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2572", + "mutatorName": "MethodExpression", + "replacement": "getGroupOfPlayers(game, source).every(werewolf => werewolf.isAlive)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:937:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 9, "static": false, "killedBy": [ - "260" - ], - "coveredBy": [ - "260", - "261", - "608", - "609", - "610" + "282" ], - "location": { - "end": { - "column": 59, - "line": 141 - }, - "start": { - "column": 15, - "line": 141 - } - } - }, - { - "id": "2530", - "mutatorName": "BooleanLiteral", - "replacement": "cupidPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ "240", "241", - "262", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "281", + "282", + "621", + "622" ], "location": { "end": { - "column": 21, - "line": 144 + "column": 139, + "line": 168 }, "start": { - "column": 9, - "line": 144 + "column": 73, + "line": 168 } } }, { - "id": "2531", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2573", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -287,15 +287,8 @@\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n },\n },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"werewolves\",\n- },\n- },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1172:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "621" + ], "coveredBy": [ "240", "241", - "262", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "281", + "282", + "621", + "622" ], "location": { "end": { - "column": 21, - "line": 144 + "column": 138, + "line": 168 }, "start": { - "column": 9, - "line": 144 + "column": 110, + "line": 168 } } }, { - "id": "2532", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2575", + "mutatorName": "BooleanLiteral", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:937:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "279" + ], "coveredBy": [ - "240", - "241", - "262", - "263", - "264", - "265", - "266", - "267" + "279" ], "location": { "end": { - "column": 21, - "line": 144 + "column": 44, + "line": 169 }, "start": { - "column": 9, - "line": 144 + "column": 39, + "line": 169 } } }, { - "id": "2533", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(146,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2580", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.WITCH)", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 3, "static": false, - "killedBy": [], + "killedBy": [ + "283" + ], "coveredBy": [ - "240", - "262" + "283", + "284", + "611" ], "location": { "end": { - "column": 6, - "line": 146 + "column": 59, + "line": 176 }, "start": { - "column": 23, - "line": 144 + "column": 14, + "line": 176 } } }, { - "id": "2534", + "id": "2581", "mutatorName": "BooleanLiteral", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -20,10 +20,21 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"lovers\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "getPlayerDtoWithRole(game, RoleNames.WITCH)", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 3, "static": false, "killedBy": [ - "240" + "283" ], "coveredBy": [ - "240", - "262" + "283", + "284", + "611" ], "location": { "end": { - "column": 19, - "line": 145 + "column": 59, + "line": 176 }, "start": { - "column": 14, - "line": 145 + "column": 15, + "line": 176 } } }, { - "id": "2535", + "id": "2582", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1059:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "290" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 158, + "line": 178 }, "start": { - "column": 12, - "line": 148 + "column": 36, + "line": 178 } } }, { - "id": "2536", + "id": "2583", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "241" + "288" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 158, + "line": 178 }, "start": { - "column": 12, - "line": 148 + "column": 36, + "line": 178 } } }, { - "id": "2537", - "mutatorName": "LogicalOperator", - "replacement": "!inLovePlayers.length && isPlayerAliveAndPowerful(cupidPlayer, game) && inLovePlayers.length > 0 && inLovePlayers.every(player => player.isAlive)", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2584", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length >= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1059:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "241" + "290" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 158, + "line": 178 }, "start": { - "column": 12, - "line": 148 + "column": 36, + "line": 178 } } }, { - "id": "2538", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2585", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length <= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "241" + "288" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 80, - "line": 148 + "column": 158, + "line": 178 }, "start": { - "column": 12, - "line": 148 + "column": 36, + "line": 178 } } }, { - "id": "2539", - "mutatorName": "LogicalOperator", - "replacement": "!inLovePlayers.length || isPlayerAliveAndPowerful(cupidPlayer, game)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2586", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1074:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "291" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 80, - "line": 148 + "column": 160, + "line": 179 }, "start": { - "column": 12, - "line": 148 + "column": 37, + "line": 179 } } }, { - "id": "2540", - "mutatorName": "BooleanLiteral", - "replacement": "inLovePlayers.length", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -75,21 +75,10 @@\n \"name\": \"fox\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"lovers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-sign\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2587", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "241" + "288" ], "coveredBy": [ "241", - "263", - "264", - "265", - "266", - "267" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 33, - "line": 148 + "column": 160, + "line": 179 }, "start": { - "column": 12, - "line": 148 + "column": 37, + "line": 179 } } }, { - "id": "2541", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2588", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length >= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1074:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 11, "static": false, "killedBy": [ - "267" + "291" ], "coveredBy": [ - "263", - "264", - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 160, + "line": 179 }, "start": { - "column": 84, - "line": 148 + "column": 37, + "line": 179 } } }, { - "id": "2542", - "mutatorName": "LogicalOperator", - "replacement": "inLovePlayers.length > 0 || inLovePlayers.every(player => player.isAlive)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2589", + "mutatorName": "EqualityOperator", + "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length <= 0", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "288" ], "coveredBy": [ - "263", - "264", - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 160, + "line": 179 }, "start": { - "column": 84, - "line": 148 + "column": 37, + "line": 179 } } }, { - "id": "2543", + "id": "2590", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "242" ], "coveredBy": [ - "263", - "264", - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 108, - "line": 148 + "column": 154, + "line": 182 }, "start": { - "column": 84, - "line": 148 + "column": 12, + "line": 182 } } }, { - "id": "2544", - "mutatorName": "EqualityOperator", - "replacement": "inLovePlayers.length >= 0", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2591", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -185,21 +185,10 @@\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"charm\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "241" ], "coveredBy": [ - "263", - "264", - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 108, - "line": 148 + "column": 154, + "line": 182 }, "start": { - "column": 84, - "line": 148 + "column": 12, + "line": 182 } } }, { - "id": "2545", - "mutatorName": "EqualityOperator", - "replacement": "inLovePlayers.length <= 0", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2592", + "mutatorName": "LogicalOperator", + "replacement": "!!witchPlayer && isPlayerAliveAndPowerful(witchPlayer, game) || !doSkipCallIfNoTarget || !hasWitchUsedLifePotion || !hasWitchUsedDeathPotion", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 11, "static": false, "killedBy": [ - "263" + "242" ], "coveredBy": [ - "263", - "264", - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 108, - "line": 148 + "column": 154, + "line": 182 }, "start": { - "column": 84, - "line": 148 + "column": 12, + "line": 182 } } }, { - "id": "2546", - "mutatorName": "MethodExpression", - "replacement": "inLovePlayers.some(player => player.isAlive)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2593", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 11, "static": false, "killedBy": [ - "266" + "242" ], "coveredBy": [ - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 157, - "line": 148 + "column": 72, + "line": 182 }, "start": { - "column": 112, - "line": 148 + "column": 12, + "line": 182 } } }, { - "id": "2547", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:741:82\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "id": "2594", + "mutatorName": "LogicalOperator", + "replacement": "!!witchPlayer || isPlayerAliveAndPowerful(witchPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "267" - ], + "killedBy": [], "coveredBy": [ - "266", - "267" + "241", + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 156, - "line": 148 + "column": 72, + "line": 182 }, "start": { - "column": 132, - "line": 148 + "column": 12, + "line": 182 } } }, { - "id": "2548", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(151,103): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2595", + "mutatorName": "BooleanLiteral", + "replacement": "!witchPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "268", - "269", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610", - "620" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 4, - "line": 160 + "column": 25, + "line": 182 }, "start": { - "column": 111, - "line": 151 + "column": 12, + "line": 182 } } }, { - "id": "2549", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "id": "2596", + "mutatorName": "BooleanLiteral", + "replacement": "witchPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "268", - "269", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610", - "620" + "242", + "243", + "244", + "285", + "286", + "287", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 57, - "line": 152 + "column": 25, + "line": 182 }, "start": { - "column": 9, - "line": 152 + "column": 13, + "line": 182 } } }, { - "id": "2550", + "id": "2597", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 60\n+ Received + 28\n\n@@ -1,23 +1,22 @@\n Object {\n \"_id\": \"babd91af3bb5fdbe5af8ca33\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n- \"action\": \"vote\",\n+ \"action\": \"look\",\n \"canBeSkipped\": false,\n- \"cause\": \"previous-votes-were-in-ties\",\n \"eligibleTargets\": Object {\n \"boundaries\": Object {\n- \"max\": 4,\n+ \"max\": 1,\n \"min\": 1,\n },\n \"interactablePlayers\": Array [\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n \"_id\": \"68bfecf33372276e84aedeaf\",\n \"attributes\": Array [],\n@@ -36,53 +35,61 @@\n },\n },\n Object {\n \"interactions\": Array [\n Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n ],\n \"player\": Object {\n- \"_id\": \"d90569cb0f71ba244ffa4ded\",\n+ \"_id\": \"7eac7a4cfb157ef924ccf4ab\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Kayley\",\n- \"position\": 1884379840249856,\n+ \"name\": \"Franz\",\n+ \"position\": 5865656664719360,\n \"role\": Object {\n- \"current\": \"seer\",\n+ \"current\": \"villager\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"villager\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n },\n- ],\n+ Object {\n+ \"interactions\": Array [\n+ Object {\n+ \"source\": \"seer\",\n+ \"type\": \"look\",\n },\n- \"occurrence\": \"consequential\",\n- \"source\": Object {\n- \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"68bfecf33372276e84aedeaf\",\n+ ],\n+ \"player\": Object {\n+ \"_id\": \"2ecafbe7bc6abacfb4bacbc5\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Litzy\",\n- \"position\": 6126948935794688,\n+ \"name\": \"Rudy\",\n+ \"position\": 2352558546878464,\n \"role\": Object {\n \"current\": \"werewolf\",\n \"isRevealed\": false,\n \"original\": \"werewolf\",\n },\n \"side\": Object {\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n+ },\n+ },\n },\n+ ],\n },\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"seer\",\n+ \"players\": Array [\n Object {\n \"_id\": \"d90569cb0f71ba244ffa4ded\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Kayley\",\n@@ -95,42 +102,10 @@\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n- Object {\n- \"_id\": \"7eac7a4cfb157ef924ccf4ab\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Franz\",\n- \"position\": 5865656664719360,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"2ecafbe7bc6abacfb4bacbc5\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Rudy\",\n- \"position\": 2352558546878464,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n@@ -276,17 +251,10 @@\n ],\n \"status\": \"playing\",\n \"tick\": 4164688193519617,\n \"turn\": 4443078876200960,\n \"upcomingPlays\": Array [\n- Object {\n- \"action\": \"look\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"seer\",\n- },\n- },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"werewolves\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 14, + "testsCompleted": 6, "static": false, "killedBy": [ - "620" + "288" ], "coveredBy": [ - "240", "241", - "268", - "269", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610", - "620" + "243", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 57, - "line": 152 + "column": 153, + "line": 182 }, "start": { - "column": 9, - "line": 152 + "column": 77, + "line": 182 } } }, { - "id": "2551", - "mutatorName": "EqualityOperator", - "replacement": "gamePlay.cause === GamePlayCauses.ANGEL_PRESENCE", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -9,10 +9,21 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"angel-presence\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2598", + "mutatorName": "LogicalOperator", + "replacement": "(!doSkipCallIfNoTarget || !hasWitchUsedLifePotion) && !hasWitchUsedDeathPotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 14, + "testsCompleted": 6, "static": false, "killedBy": [ - "240" + "289" ], "coveredBy": [ - "240", "241", - "268", - "269", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610", - "620" + "243", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 57, - "line": 152 + "column": 153, + "line": 182 }, "start": { - "column": 9, - "line": 152 + "column": 77, + "line": 182 } } }, { - "id": "2552", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2599", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 6, "static": false, "killedBy": [ - "268" + "289" ], "coveredBy": [ - "268", - "269", - "620" + "241", + "243", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 6, - "line": 154 + "column": 125, + "line": 182 }, "start": { - "column": 59, - "line": 152 + "column": 77, + "line": 182 } } }, { - "id": "2553", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2600", + "mutatorName": "LogicalOperator", + "replacement": "!doSkipCallIfNoTarget && !hasWitchUsedLifePotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 6, "static": false, "killedBy": [ - "268" + "289" ], "coveredBy": [ - "268", - "269", - "620" + "241", + "243", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 18, - "line": 153 + "column": 125, + "line": 182 }, "start": { - "column": 14, - "line": 153 + "column": 77, + "line": 182 } } }, { - "id": "2554", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2601", + "mutatorName": "BooleanLiteral", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "288" + ], "coveredBy": [ - "240", "241", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610" + "243", + "288", + "289", + "290", + "291" ], "location": { "end": { - "column": 38, - "line": 155 + "column": 98, + "line": 182 }, "start": { - "column": 9, - "line": 155 + "column": 77, + "line": 182 } } }, { - "id": "2555", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", - "status": "CompileError", + "id": "2602", + "mutatorName": "BooleanLiteral", + "replacement": "hasWitchUsedLifePotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "288" + ], "coveredBy": [ - "240", - "241", - "270", - "271", - "272", - "273", - "274", - "275", - "608", - "609", - "610" + "288", + "290", + "291" ], "location": { "end": { - "column": 38, - "line": 155 + "column": 125, + "line": 182 }, "start": { - "column": 9, - "line": 155 + "column": 102, + "line": 182 } } }, { - "id": "2556", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(157,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", - "status": "CompileError", + "id": "2603", + "mutatorName": "BooleanLiteral", + "replacement": "hasWitchUsedDeathPotion", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "288" + ], "coveredBy": [ - "270", - "271", - "608", - "609", - "610" + "288", + "291" ], "location": { "end": { - "column": 6, - "line": 157 + "column": 153, + "line": 182 }, "start": { - "column": 40, - "line": 155 + "column": 129, + "line": 182 } } }, { - "id": "2557", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.ANGEL)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2604", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(185,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "270" - ], + "killedBy": [], "coveredBy": [ - "270", - "271", - "608", + "241", + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", "609", "610" ], "location": { "end": { - "column": 59, - "line": 156 + "column": 4, + "line": 187 }, "start": { - "column": 14, - "line": 156 + "column": 110, + "line": 185 } } }, { - "id": "2558", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.ANGEL)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:857:95\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2605", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1122:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 20, "static": false, "killedBy": [ - "270" + "295" ], "coveredBy": [ - "270", - "271", - "608", + "241", + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", "609", "610" ], "location": { "end": { - "column": 59, - "line": 156 + "column": 52, + "line": 186 }, "start": { - "column": 15, - "line": 156 + "column": 12, + "line": 186 } } }, { - "id": "2559", + "id": "2606", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -9,10 +9,21 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"vote\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": \"angel-presence\",\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"survivors\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 33\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,21 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 20, "static": false, "killedBy": [ - "240" + "241" ], "coveredBy": [ - "240", "241", - "272", - "273", - "274", - "275" + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "609", + "610" ], "location": { "end": { - "column": 72, - "line": 159 + "column": 52, + "line": 186 }, "start": { "column": 12, - "line": 159 + "line": 186 } } }, { - "id": "2560", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"vote\",\n- \"canBeSkipped\": undefined,\n- \"cause\": \"angel-presence\",\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"first-night-only\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-card\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2607", + "mutatorName": "EqualityOperator", + "replacement": "(game.turn - 1) % wakingUpInterval !== 0", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 33\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,21 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 20, "static": false, "killedBy": [ "241" ], "coveredBy": [ - "240", "241", - "272", - "273", - "274", - "275" + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "609", + "610" ], "location": { "end": { - "column": 72, - "line": 159 + "column": 52, + "line": 186 }, "start": { "column": 12, - "line": 159 + "line": 186 } } }, { - "id": "2561", - "mutatorName": "LogicalOperator", - "replacement": "!!angelPlayer || isPlayerAliveAndPowerful(angelPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2608", + "mutatorName": "ArithmeticOperator", + "replacement": "(game.turn - 1) * wakingUpInterval", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1122:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 20, "static": false, - "killedBy": [], + "killedBy": [ + "294" + ], "coveredBy": [ - "240", "241", - "272", - "273", - "274", - "275" + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "609", + "610" ], "location": { "end": { - "column": 72, - "line": 159 + "column": 46, + "line": 186 }, "start": { "column": 12, - "line": 159 + "line": 186 } } }, { - "id": "2562", - "mutatorName": "BooleanLiteral", - "replacement": "!angelPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2609", + "mutatorName": "ArithmeticOperator", + "replacement": "game.turn + 1", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1240:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 20, "static": false, - "killedBy": [], + "killedBy": [ + "306" + ], "coveredBy": [ - "240", "241", - "272", - "273", - "274", - "275" + "292", + "293", + "294", + "295", + "296", + "297", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "609", + "610" ], "location": { "end": { - "column": 25, - "line": 159 + "column": 26, + "line": 186 }, "start": { - "column": 12, - "line": 159 + "column": 13, + "line": 186 } } }, { - "id": "2563", - "mutatorName": "BooleanLiteral", - "replacement": "angelPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(159,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2610", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(189,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "272", - "273", - "274", - "275" + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", + "609", + "610" ], "location": { "end": { - "column": 25, - "line": 159 + "column": 4, + "line": 200 }, "start": { - "column": 13, - "line": 159 + "column": 95, + "line": 189 } } }, { - "id": "2564", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(162,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2611", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(193,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,65): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(197,58): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(198,106): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "242", - "243", - "244", - "276", - "277", - "278", - "279", - "280", - "281", - "282", - "608", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 4, - "line": 172 + "column": 38, + "line": 192 }, "start": { - "column": 107, - "line": 162 + "column": 9, + "line": 192 } } }, { - "id": "2565", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(164,11): error TS2739: Type '{}' is missing the following properties from type 'Record boolean>': survivors, villagers, werewolves, lovers, charmed\n", + "id": "2612", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(193,81): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,65): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(197,58): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(198,127): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "242", - "243", - "244", - "276", - "277", - "278", - "279", - "280", - "281", - "282", - "608", + "298", + "299", + "300", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 6, - "line": 170 + "column": 38, + "line": 192 }, "start": { - "column": 117, - "line": 164 + "column": 9, + "line": 192 } } }, { - "id": "2566", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,40): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", + "id": "2613", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(194,65): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(195,58): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,127): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "276", - "277", - "278", - "279", - "280", - "281", - "282", - "608", + "298", + "299", + "300", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 139, - "line": 168 + "column": 6, + "line": 194 }, "start": { - "column": 34, - "line": 168 + "column": 40, + "line": 192 } } }, { - "id": "2567", + "id": "2614", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1171:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 5, "static": false, "killedBy": [ - "620" + "298" ], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "280", - "281", - "282", - "608", + "298", + "299", + "300", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 139, - "line": 168 + "column": 112, + "line": 193 }, "start": { - "column": 40, - "line": 168 + "column": 14, + "line": 193 } } }, { - "id": "2568", + "id": "2615", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 19\n+ Received + 12\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6483\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6484\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6485\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6486\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6487\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6488\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6483\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6484\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6485\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6486\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6487\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656b2a774bb5d850ed4e6488\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -458,17 +458,10 @@\n Object {\n \"action\": \"meet-each-other\",\n \"occurrence\": \"first-night-only\",\n \"source\": Object {\n \"name\": \"lovers\",\n- },\n- },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"werewolves\",\n },\n },\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1162:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 13, + "testsCompleted": 5, "static": false, "killedBy": [ - "608" + "300" ], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "280", - "281", - "282", - "608", + "298", + "299", + "300", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 139, - "line": 168 + "column": 112, + "line": 193 }, "start": { - "column": 40, - "line": 168 + "column": 14, + "line": 193 } } }, { - "id": "2569", + "id": "2616", "mutatorName": "LogicalOperator", - "replacement": "game instanceof CreateGameDto && getGroupOfPlayers(game, source).some(werewolf => werewolf.isAlive)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,91): error TS2345: Argument of type 'CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", + "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 5, "static": false, - "killedBy": [], + "killedBy": [ + "298" + ], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "280", - "281", - "282", - "608", + "298", + "299", + "300", "609", - "610", - "620", - "621" + "610" ], "location": { "end": { - "column": 139, - "line": 168 + "column": 112, + "line": 193 }, "start": { - "column": 40, - "line": 168 + "column": 14, + "line": 193 } } }, { - "id": "2570", - "mutatorName": "MethodExpression", - "replacement": "getGroupOfPlayers(game, source).every(werewolf => werewolf.isAlive)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:937:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2617", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 4, "static": false, "killedBy": [ - "282" + "298" ], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "281", - "282", - "620", - "621" + "298", + "300", + "609", + "610" ], "location": { "end": { - "column": 139, - "line": 168 + "column": 112, + "line": 193 }, "start": { - "column": 73, - "line": 168 + "column": 58, + "line": 193 } } }, { - "id": "2571", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -287,15 +287,8 @@\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"seer\",\n },\n },\n- Object {\n- \"action\": \"eat\",\n- \"occurrence\": \"on-nights\",\n- \"source\": Object {\n- \"name\": \"werewolves\",\n- },\n- },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1172:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2618", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 4, "static": false, "killedBy": [ - "620" + "298" ], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "281", - "282", - "620", - "621" + "298", + "300", + "609", + "610" ], "location": { "end": { - "column": 138, - "line": 168 + "column": 112, + "line": 193 }, "start": { - "column": 110, - "line": 168 + "column": 59, + "line": 193 } } }, { - "id": "2572", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(169,39): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", - "status": "CompileError", + "id": "2619", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "301" + ], "coveredBy": [ - "240", "241", - "242", - "243", - "244", - "276", - "277", - "278", - "279", - "280", - "281", - "282", - "608", - "609", - "610", - "620", - "621" + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 44, - "line": 169 + "column": 59, + "line": 199 }, "start": { - "column": 33, - "line": 169 + "column": 12, + "line": 198 } } }, { - "id": "2573", - "mutatorName": "BooleanLiteral", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:937:91\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2620", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 9, "static": false, "killedBy": [ - "279" + "241" ], "coveredBy": [ - "279" + "241", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 44, - "line": 169 + "column": 59, + "line": 199 }, "start": { - "column": 39, - "line": 169 + "column": 12, + "line": 198 } } }, { - "id": "2574", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(174,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2621", + "mutatorName": "LogicalOperator", + "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn && !!whiteWerewolfPlayer && isPlayerAliveAndPowerful(whiteWerewolfPlayer, game) || !doSkipCallIfNoTarget || !!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "301" + ], "coveredBy": [ "241", - "242", - "243", - "244", - "283", - "284", - "285", - "286", - "287", - "288", - "289", - "290", - "291", - "610" + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 4, - "line": 183 + "column": 59, + "line": 199 }, "start": { - "column": 102, - "line": 174 + "column": 12, + "line": 198 } } }, { - "id": "2575", + "id": "2622", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(178,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(182,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "301" + ], "coveredBy": [ "241", - "242", - "243", - "244", - "283", - "284", - "285", - "286", - "287", - "288", - "289", - "290", - "291", - "610" + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 38, - "line": 175 + "column": 132, + "line": 198 }, "start": { - "column": 9, - "line": 175 + "column": 12, + "line": 198 } } }, { - "id": "2576", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(178,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(182,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "id": "2623", + "mutatorName": "LogicalOperator", + "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn && !!whiteWerewolfPlayer || isPlayerAliveAndPowerful(whiteWerewolfPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,106): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "242", - "243", - "244", - "283", - "284", - "285", - "286", - "287", - "288", - "289", - "290", - "291", - "610" + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 38, - "line": 175 + "column": 132, + "line": 198 }, "start": { - "column": 9, - "line": 175 + "column": 12, + "line": 198 } } }, { - "id": "2577", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(177,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(180,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "id": "2624", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,45): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "283", - "284", - "610" + "241", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 6, - "line": 177 + "column": 77, + "line": 198 }, "start": { - "column": 40, - "line": 175 + "column": 12, + "line": 198 } } }, { - "id": "2578", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.WITCH)", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2625", + "mutatorName": "LogicalOperator", + "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn || !!whiteWerewolfPlayer", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'isAlive')\n at isPlayerAliveAndPowerful (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/helpers/player/player.helper.ts:77:206)\n at GamePlayService.isWhiteWerewolfGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/providers/services/game-play/game-play.service.ts:436:954)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 9, "static": false, "killedBy": [ - "283" + "301" ], "coveredBy": [ - "283", - "284", - "610" + "241", + "301", + "302", + "303", + "304", + "305", + "306", + "307", + "308" ], "location": { "end": { - "column": 59, - "line": 176 + "column": 77, + "line": 198 }, "start": { - "column": 14, - "line": 176 + "column": 12, + "line": 198 } } }, { - "id": "2579", + "id": "2626", "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.WITCH)", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "replacement": "!whiteWerewolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,105): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "283" - ], + "killedBy": [], "coveredBy": [ - "283", - "284", - "610" + "241", + "301", + "303", + "304", + "305", + "307", + "308" ], "location": { "end": { - "column": 59, - "line": 176 + "column": 77, + "line": 198 }, "start": { - "column": 15, - "line": 176 + "column": 56, + "line": 198 } } }, { - "id": "2580", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1059:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "id": "2627", + "mutatorName": "BooleanLiteral", + "replacement": "whiteWerewolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,105): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "290" - ], + "killedBy": [], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "301", + "303", + "304", + "305", + "307", + "308" ], "location": { "end": { - "column": 158, - "line": 178 + "column": 77, + "line": 198 }, "start": { - "column": 36, - "line": 178 + "column": 57, + "line": 198 } } }, { - "id": "2581", + "id": "2628", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 4, "static": false, "killedBy": [ - "288" + "305" ], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "305", + "307", + "308" ], "location": { "end": { - "column": 158, - "line": 178 + "column": 58, + "line": 199 }, "start": { - "column": 36, - "line": 178 + "column": 8, + "line": 199 } } }, { - "id": "2582", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length >= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1059:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2629", + "mutatorName": "LogicalOperator", + "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 4, "static": false, "killedBy": [ - "290" + "241" ], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "305", + "307", + "308" ], "location": { "end": { - "column": 158, - "line": 178 + "column": 58, + "line": 199 }, "start": { - "column": 36, - "line": 178 + "column": 8, + "line": 199 } } }, { - "id": "2583", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.LIFE)).length <= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2630", + "mutatorName": "BooleanLiteral", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 4, "static": false, "killedBy": [ - "288" + "241" ], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "305", + "307", + "308" ], "location": { "end": { - "column": 158, - "line": 178 + "column": 29, + "line": 199 }, "start": { - "column": 36, - "line": 178 + "column": 8, + "line": 199 } } }, { - "id": "2584", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1074:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2631", + "mutatorName": "BooleanLiteral", + "replacement": "!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 2, "static": false, "killedBy": [ - "291" + "305" ], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "305", + "308" ], "location": { "end": { - "column": 160, - "line": 179 + "column": 58, + "line": 199 }, "start": { - "column": 37, - "line": 179 + "column": 33, + "line": 199 } } }, { - "id": "2585", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2632", + "mutatorName": "BooleanLiteral", + "replacement": "availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 2, "static": false, "killedBy": [ - "288" + "305" ], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "305", + "308" ], "location": { "end": { - "column": 160, - "line": 179 + "column": 58, + "line": 199 }, "start": { - "column": 37, - "line": 179 + "column": 34, + "line": 199 } } }, { - "id": "2586", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length >= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1074:96)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2637", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.PIED_PIPER)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 19\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab70\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab70\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -477,10 +477,17 @@\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"white-werewolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n },\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 5, "static": false, "killedBy": [ - "291" + "609" ], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "309", + "310", + "609", + "610", + "611" ], "location": { "end": { - "column": 160, - "line": 179 + "column": 64, + "line": 204 }, "start": { - "column": 37, - "line": 179 + "column": 14, + "line": 204 } } }, { - "id": "2587", - "mutatorName": "EqualityOperator", - "replacement": "(await this.gameHistoryRecordService.getGameHistoryWitchUsesSpecificPotionRecords(game._id, WitchPotions.DEATH)).length <= 0", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2638", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.PIED_PIPER)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 19\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -477,10 +477,17 @@\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"white-werewolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n },\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 5, "static": false, "killedBy": [ - "288" + "609" ], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "309", + "310", + "609", + "610", + "611" ], "location": { "end": { - "column": 160, - "line": 179 + "column": 64, + "line": 204 }, "start": { - "column": 37, - "line": 179 + "column": 15, + "line": 204 } } }, { - "id": "2588", + "id": "2639", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -267,8 +267,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 8187581502062593,\n \"turn\": 667810680274944,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1262:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 7, "static": false, "killedBy": [ - "242" + "622" ], "coveredBy": [ + "240", "241", "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "311", + "312", + "313", + "621", + "622" ], "location": { "end": { - "column": 154, - "line": 182 + "column": 80, + "line": 207 }, "start": { "column": 12, - "line": 182 + "line": 207 } } }, { - "id": "2589", + "id": "2640", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -185,21 +185,10 @@\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"charm\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -195,28 +195,6 @@\n \"source\": GamePlaySource {\n \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"charmed\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:387:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 11, + "testsCompleted": 8, "static": false, "killedBy": [ "241" ], "coveredBy": [ + "240", "241", "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "311", + "312", + "313", + "621", + "622" ], "location": { "end": { - "column": 154, - "line": 182 + "column": 80, + "line": 207 }, "start": { "column": 12, - "line": 182 + "line": 207 } } }, { - "id": "2590", - "mutatorName": "LogicalOperator", - "replacement": "!!witchPlayer && isPlayerAliveAndPowerful(witchPlayer, game) || !doSkipCallIfNoTarget || !hasWitchUsedLifePotion || !hasWitchUsedDeathPotion", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "id": "2644", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(210,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "242" - ], + "killedBy": [], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 154, - "line": 182 + "column": 4, + "line": 218 }, "start": { - "column": 12, - "line": 182 + "column": 92, + "line": 210 } } }, { - "id": "2591", + "id": "2645", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(212,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,59): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "242" - ], + "killedBy": [], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 72, - "line": 182 + "column": 38, + "line": 211 }, "start": { - "column": 12, - "line": 182 + "column": 9, + "line": 211 } } }, { - "id": "2592", - "mutatorName": "LogicalOperator", - "replacement": "!!witchPlayer || isPlayerAliveAndPowerful(witchPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,54): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2646", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(212,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,77): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "314", + "315", + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 72, - "line": 182 + "column": 38, + "line": 211 }, "start": { - "column": 12, - "line": 182 + "column": 9, + "line": 211 } } }, { - "id": "2593", - "mutatorName": "BooleanLiteral", - "replacement": "!witchPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2647", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(213,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,77): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "314", + "315" ], "location": { "end": { - "column": 25, - "line": 182 + "column": 6, + "line": 213 }, "start": { - "column": 12, - "line": 182 + "column": 40, + "line": 211 } } }, { - "id": "2594", + "id": "2648", "mutatorName": "BooleanLiteral", - "replacement": "witchPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(182,53): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.BIG_BAD_WOLF)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1361:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 2, "static": false, - "killedBy": [], + "killedBy": [ + "314" + ], "coveredBy": [ - "241", - "242", - "243", - "244", - "285", - "286", - "287", - "288", - "289", - "290", - "291" + "314", + "315" ], "location": { "end": { - "column": 25, - "line": 182 + "column": 66, + "line": 212 }, "start": { - "column": 13, - "line": 182 + "column": 14, + "line": 212 } } }, { - "id": "2595", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2649", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.BIG_BAD_WOLF)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1361:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 2, "static": false, "killedBy": [ - "288" + "314" ], "coveredBy": [ - "241", - "243", - "288", - "289", - "290", - "291" + "314", + "315" ], "location": { "end": { - "column": 153, - "line": 182 + "column": 66, + "line": 212 }, "start": { - "column": 77, - "line": 182 + "column": 15, + "line": 212 } } }, { - "id": "2596", - "mutatorName": "LogicalOperator", - "replacement": "(!doSkipCallIfNoTarget || !hasWitchUsedLifePotion) && !hasWitchUsedDeathPotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2650", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 8, "static": false, "killedBy": [ - "289" + "316" ], "coveredBy": [ "241", - "243", - "288", - "289", - "290", - "291" + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 153, - "line": 182 + "column": 138, + "line": 217 }, "start": { - "column": 77, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2597", + "id": "2651", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 8, "static": false, "killedBy": [ - "289" + "241" ], "coveredBy": [ "241", - "243", - "288", - "289", - "290", - "291" + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 125, - "line": 182 + "column": 138, + "line": 217 }, "start": { - "column": 77, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2598", + "id": "2652", "mutatorName": "LogicalOperator", - "replacement": "!doSkipCallIfNoTarget && !hasWitchUsedLifePotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "!!bigBadWolfPlayer && isPlayerAliveAndPowerful(bigBadWolfPlayer, game) || !doSkipCallIfNoTarget || !!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 8, "static": false, "killedBy": [ - "289" + "316" ], "coveredBy": [ "241", - "243", - "288", - "289", - "290", - "291" + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 125, - "line": 182 + "column": 138, + "line": 217 }, "start": { - "column": 77, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2599", - "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2653", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 9, "static": false, "killedBy": [ - "288" + "316" ], "coveredBy": [ "241", - "243", - "288", - "289", - "290", - "291" + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 98, - "line": 182 + "column": 82, + "line": 217 }, "start": { - "column": 77, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2600", - "mutatorName": "BooleanLiteral", - "replacement": "hasWitchUsedLifePotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, + "id": "2654", + "mutatorName": "LogicalOperator", + "replacement": "!!bigBadWolfPlayer || isPlayerAliveAndPowerful(bigBadWolfPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "288" - ], + "killedBy": [], "coveredBy": [ - "288", - "290", - "291" + "241", + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 125, - "line": 182 + "column": 82, + "line": 217 }, "start": { - "column": 102, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2601", + "id": "2655", "mutatorName": "BooleanLiteral", - "replacement": "hasWitchUsedDeathPotion", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1044:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, + "replacement": "!bigBadWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "288" - ], + "killedBy": [], "coveredBy": [ - "288", - "291" + "241", + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 153, - "line": 182 + "column": 30, + "line": 217 }, "start": { - "column": 129, - "line": 182 + "column": 12, + "line": 217 } } }, { - "id": "2602", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(185,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2656", + "mutatorName": "BooleanLiteral", + "replacement": "bigBadWolfPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "316", + "317", + "318", + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 4, - "line": 187 + "column": 30, + "line": 217 }, "start": { - "column": 110, - "line": 185 + "column": 13, + "line": 217 } } }, { - "id": "2603", + "id": "2657", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1122:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 20, + "testsCompleted": 5, "static": false, "killedBy": [ - "295" + "319" ], "coveredBy": [ "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 52, - "line": 186 + "column": 137, + "line": 217 }, "start": { - "column": 12, - "line": 186 + "column": 87, + "line": 217 } } }, { - "id": "2604", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 33\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,21 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2658", + "mutatorName": "LogicalOperator", + "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 20, + "testsCompleted": 5, "static": false, "killedBy": [ "241" ], "coveredBy": [ "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 52, - "line": 186 + "column": 137, + "line": 217 }, "start": { - "column": 12, - "line": 186 + "column": 87, + "line": 217 } } }, { - "id": "2605", - "mutatorName": "EqualityOperator", - "replacement": "(game.turn - 1) % wakingUpInterval !== 0", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 33\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,21 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2659", + "mutatorName": "BooleanLiteral", + "replacement": "doSkipCallIfNoTarget", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 20, + "testsCompleted": 5, "static": false, "killedBy": [ "241" ], "coveredBy": [ "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "319", + "320", + "321", + "322" ], "location": { "end": { - "column": 52, - "line": 186 + "column": 108, + "line": 217 }, "start": { - "column": 12, - "line": 186 + "column": 87, + "line": 217 } } }, { - "id": "2606", - "mutatorName": "ArithmeticOperator", - "replacement": "(game.turn - 1) * wakingUpInterval", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1122:96\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2660", + "mutatorName": "BooleanLiteral", + "replacement": "!availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 20, + "testsCompleted": 2, "static": false, "killedBy": [ - "294" + "319" ], "coveredBy": [ - "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "319", + "320" ], "location": { "end": { - "column": 46, - "line": 186 + "column": 137, + "line": 217 }, "start": { - "column": 12, - "line": 186 + "column": 112, + "line": 217 } } }, { - "id": "2607", - "mutatorName": "ArithmeticOperator", - "replacement": "game.turn + 1", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1240:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2661", + "mutatorName": "BooleanLiteral", + "replacement": "availableTargets.length", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 20, + "testsCompleted": 2, "static": false, "killedBy": [ - "306" + "319" ], "coveredBy": [ - "241", - "292", - "293", - "294", - "295", - "296", - "297", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "319", + "320" ], "location": { "end": { - "column": 26, - "line": 186 + "column": 137, + "line": 217 }, "start": { - "column": 13, - "line": 186 + "column": 113, + "line": 217 } } }, { - "id": "2608", + "id": "2662", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(189,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(222,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "323", + "324", + "325", + "326", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { "column": 4, - "line": 200 + "line": 229 }, "start": { "column": 95, - "line": 189 + "line": 220 } } }, { - "id": "2609", + "id": "2663", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(193,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,65): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(197,58): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(198,106): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(228,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "323", + "324", + "325", + "326", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { "column": 38, - "line": 192 + "line": 223 }, "start": { "column": 9, - "line": 192 + "line": 223 } } }, { - "id": "2610", + "id": "2664", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(193,81): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,65): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(197,58): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(198,127): error TS2345: Argument of type 'CreateGameDto | Game' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(228,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ "241", - "298", - "299", - "300", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308", - "608", - "609" + "323", + "324", + "325", + "326", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { "column": 38, - "line": 192 + "line": 223 }, "start": { "column": 9, - "line": 192 + "line": 223 } } }, { - "id": "2611", + "id": "2665", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(194,65): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(195,58): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(196,127): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "298", - "299", - "300", - "608", - "609" + "324", + "325", + "326" ], "location": { "end": { "column": 6, - "line": 194 + "line": 225 }, "start": { "column": 40, - "line": 192 + "line": 223 } } }, { - "id": "2612", + "id": "2666", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "status": "Timeout", "static": false, - "killedBy": [ - "298" - ], + "killedBy": [], "coveredBy": [ - "298", - "299", - "300", - "608", - "609" + "324", + "325", + "326" ], "location": { "end": { "column": 112, - "line": 193 + "line": 224 }, "start": { "column": 14, - "line": 193 + "line": 224 } } }, { - "id": "2613", + "id": "2667", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1162:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, - "static": false, - "killedBy": [ - "300" - ], - "coveredBy": [ - "298", - "299", - "300", - "608", - "609" - ], - "location": { - "end": { - "column": 112, - "line": 193 - }, - "start": { - "column": 14, - "line": 193 - } - } - }, - { - "id": "2614", - "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "298" + "326" ], "coveredBy": [ - "298", - "299", - "300", - "608", - "609" + "324", + "325", + "326" ], "location": { "end": { "column": 112, - "line": 193 + "line": 224 }, "start": { "column": 14, - "line": 193 - } - } - }, - { - "id": "2615", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, - "static": false, - "killedBy": [ - "298" - ], - "coveredBy": [ - "298", - "300", - "608", - "609" - ], - "location": { - "end": { - "column": 112, - "line": 193 - }, - "start": { - "column": 58, - "line": 193 - } - } - }, - { - "id": "2616", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.WHITE_WEREWOLF)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1136:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, - "static": false, - "killedBy": [ - "298" - ], - "coveredBy": [ - "298", - "300", - "608", - "609" - ], - "location": { - "end": { - "column": 112, - "line": 193 - }, - "start": { - "column": 59, - "line": 193 - } - } - }, - { - "id": "2617", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 9, - "static": false, - "killedBy": [ - "301" - ], - "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" - ], - "location": { - "end": { - "column": 59, - "line": 199 - }, - "start": { - "column": 12, - "line": 198 - } - } - }, - { - "id": "2618", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 9, - "static": false, - "killedBy": [ - "241" - ], - "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" - ], - "location": { - "end": { - "column": 59, - "line": 199 - }, - "start": { - "column": 12, - "line": 198 + "line": 224 } } }, { - "id": "2619", + "id": "2668", "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn && !!whiteWerewolfPlayer && isPlayerAliveAndPowerful(whiteWerewolfPlayer, game) || !doSkipCallIfNoTarget || !!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 9, - "static": false, - "killedBy": [ - "301" - ], - "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" - ], - "location": { - "end": { - "column": 59, - "line": 199 - }, - "start": { - "column": 12, - "line": 198 - } - } - }, - { - "id": "2620", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "shouldThreeBrothersBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, - "static": false, - "killedBy": [ - "301" - ], - "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" + "testsCompleted": 3, + "static": false, + "killedBy": [ + "325" + ], + "coveredBy": [ + "324", + "325", + "326" ], "location": { "end": { - "column": 132, - "line": 198 + "column": 112, + "line": 224 }, "start": { - "column": 12, - "line": 198 + "column": 14, + "line": 224 } } }, { - "id": "2621", - "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn && !!whiteWerewolfPlayer || isPlayerAliveAndPowerful(whiteWerewolfPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,106): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2669", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "326" + ], "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" + "326" ], "location": { "end": { - "column": 132, - "line": 198 + "column": 112, + "line": 224 }, "start": { - "column": 12, - "line": 198 + "column": 58, + "line": 224 } } }, { - "id": "2622", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,45): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "id": "2670", + "mutatorName": "BooleanLiteral", + "replacement": "getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], + "killedBy": [ + "326" + ], "coveredBy": [ - "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" + "326" ], "location": { "end": { - "column": 77, - "line": 198 + "column": 112, + "line": 224 }, "start": { - "column": 12, - "line": 198 + "column": 59, + "line": 224 } } }, { - "id": "2623", - "mutatorName": "LogicalOperator", - "replacement": "shouldWhiteWerewolfBeCalledOnCurrentTurn || !!whiteWerewolfPlayer", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'isAlive')\n at isPlayerAliveAndPowerful (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/helpers/player/player.helper.ts:77:206)\n at GamePlayService.isWhiteWerewolfGamePlaySuitableForCurrentPhase (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/src/modules/game/providers/services/game-play/game-play.service.ts:436:954)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1174:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2671", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 9, "static": false, "killedBy": [ - "301" + "327" ], "coveredBy": [ "241", - "301", - "302", - "303", - "304", - "305", - "306", - "307", - "308" + "323", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 77, - "line": 198 + "column": 147, + "line": 228 }, "start": { "column": 12, - "line": 198 + "line": 228 } } }, { - "id": "2624", - "mutatorName": "BooleanLiteral", - "replacement": "!whiteWerewolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,105): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2672", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "241" + ], "coveredBy": [ "241", - "301", - "303", - "304", - "305", - "307", - "308" + "323", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 77, - "line": 198 + "column": 147, + "line": 228 }, "start": { - "column": 56, - "line": 198 + "column": 12, + "line": 228 } } }, { - "id": "2625", - "mutatorName": "BooleanLiteral", - "replacement": "whiteWerewolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(198,105): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2673", + "mutatorName": "LogicalOperator", + "replacement": "shouldThreeBrothersBeCalledOnCurrentTurn || threeBrothersPlayers.filter(brother => brother.isAlive).length >= minimumBrotherCountToCall", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 9, "static": false, - "killedBy": [], + "killedBy": [ + "328" + ], "coveredBy": [ "241", - "301", - "303", - "304", - "305", - "307", - "308" + "323", + "327", + "328", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 77, - "line": 198 + "column": 147, + "line": 228 }, "start": { - "column": 57, - "line": 198 + "column": 12, + "line": 228 } } }, { - "id": "2626", + "id": "2674", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 6, "static": false, "killedBy": [ - "305" + "331" ], "coveredBy": [ "241", - "305", - "307", - "308" + "323", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 58, - "line": 199 + "column": 147, + "line": 228 }, "start": { - "column": 8, - "line": 199 + "column": 56, + "line": 228 } } }, { - "id": "2627", - "mutatorName": "LogicalOperator", - "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2675", + "mutatorName": "EqualityOperator", + "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length > minimumBrotherCountToCall", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 6, "static": false, "killedBy": [ - "241" + "330" ], "coveredBy": [ "241", - "305", - "307", - "308" + "323", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 58, - "line": 199 + "column": 147, + "line": 228 }, "start": { - "column": 8, - "line": 199 + "column": 56, + "line": 228 } } }, { - "id": "2628", - "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -169,21 +169,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"big-bad-wolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2676", + "mutatorName": "EqualityOperator", + "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 4, + "testsCompleted": 6, "static": false, "killedBy": [ "241" ], "coveredBy": [ "241", - "305", - "307", - "308" + "323", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 29, - "line": 199 + "column": 147, + "line": 228 }, "start": { - "column": 8, - "line": 199 + "column": 56, + "line": 228 } } }, { - "id": "2629", - "mutatorName": "BooleanLiteral", - "replacement": "!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2677", + "mutatorName": "MethodExpression", + "replacement": "threeBrothersPlayers", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 6, "static": false, "killedBy": [ - "305" + "331" ], "coveredBy": [ - "305", - "308" + "241", + "323", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 58, - "line": 199 + "column": 111, + "line": 228 }, "start": { - "column": 33, - "line": 199 + "column": 56, + "line": 228 } } }, { - "id": "2630", - "mutatorName": "BooleanLiteral", - "replacement": "availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1227:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2678", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 6, "static": false, "killedBy": [ - "305" + "241" ], "coveredBy": [ - "305", - "308" + "241", + "323", + "329", + "330", + "331", + "332" ], "location": { "end": { - "column": 58, - "line": 199 + "column": 110, + "line": 228 }, "start": { - "column": 34, - "line": 199 + "column": 84, + "line": 228 } } }, { - "id": "2631", + "id": "2679", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(202,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(233,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "242", - "309", - "310", - "311", - "312", - "313", - "608", - "609", - "610", - "621" + "333", + "334", + "335", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { "column": 4, - "line": 208 + "line": 239 }, "start": { - "column": 91, - "line": 202 + "column": 92, + "line": 231 } } }, { - "id": "2632", + "id": "2680", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(206,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(207,58): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,78): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(239,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "242", - "309", - "310", - "311", - "312", - "313", - "608", - "609", - "610", - "621" + "333", + "334", + "335", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { "column": 38, - "line": 203 + "line": 234 }, "start": { "column": 9, - "line": 203 + "line": 234 } } }, { - "id": "2633", + "id": "2681", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(206,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(207,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,78): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(239,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "240", "241", - "242", - "309", - "310", - "311", - "312", - "313", - "608", - "609", - "610", - "621" + "333", + "334", + "335", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { "column": 38, - "line": 203 + "line": 234 }, "start": { "column": 9, - "line": 203 + "line": 234 } } }, { - "id": "2634", + "id": "2682", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(205,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "309", - "310", - "608", - "609", - "610" + "333", + "334", + "335" ], "location": { "end": { "column": 6, - "line": 205 + "line": 236 }, "start": { "column": 40, - "line": 203 + "line": 234 } } }, { - "id": "2635", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.PIED_PIPER)", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 19\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab70\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6b\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6c\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6d\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6e\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab6f\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c34350978d941c783ab70\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -477,10 +477,17 @@\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"white-werewolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n },\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2683", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "608" + "333" ], "coveredBy": [ - "309", - "310", - "608", - "609", - "610" + "333", + "334", + "335" ], "location": { "end": { - "column": 64, - "line": 204 + "column": 106, + "line": 235 }, "start": { "column": 14, - "line": 204 + "line": 235 } } }, { - "id": "2636", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.PIED_PIPER)", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 12\n+ Received + 19\n\n@@ -16,11 +16,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -40,11 +40,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -64,11 +64,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -88,11 +88,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -112,11 +112,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -136,11 +136,11 @@\n \"source\": \"survivors\",\n \"type\": \"choose-as-sheriff\",\n },\n ],\n \"player\": Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -159,11 +159,11 @@\n \"occurrence\": \"anytime\",\n \"source\": Object {\n \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb02\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Antoine\",\n \"position\": 0,\n \"role\": Object {\n@@ -175,11 +175,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb03\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Mathis\",\n \"position\": 1,\n \"role\": Object {\n@@ -191,11 +191,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb04\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Virgil\",\n \"position\": 2,\n \"role\": Object {\n@@ -207,11 +207,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb05\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"JB\",\n \"position\": 3,\n \"role\": Object {\n@@ -223,11 +223,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb06\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Doudou\",\n \"position\": 4,\n \"role\": Object {\n@@ -239,11 +239,11 @@\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n Object {\n- \"_id\": Any,\n+ \"_id\": \"656c342bac610073dd09fb07\",\n \"attributes\": Array [],\n \"isAlive\": true,\n \"name\": \"Juju\",\n \"position\": 5,\n \"role\": Object {\n@@ -477,10 +477,17 @@\n Object {\n \"action\": \"eat\",\n \"occurrence\": \"on-nights\",\n \"source\": Object {\n \"name\": \"white-werewolf\",\n+ },\n+ },\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n },\n },\n ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:741:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2684", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 5, + "testsCompleted": 3, "static": false, "killedBy": [ - "608" + "335" ], "coveredBy": [ - "309", - "310", - "608", - "609", - "610" + "333", + "334", + "335" ], "location": { "end": { - "column": 64, - "line": 204 + "column": 106, + "line": 235 }, "start": { - "column": 15, - "line": 204 + "column": 14, + "line": 235 } } }, { - "id": "2637", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -267,8 +267,16 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 8187581502062593,\n \"turn\": 667810680274944,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ Object {\n+ \"action\": \"meet-each-other\",\n+ \"occurrence\": \"on-nights\",\n+ \"source\": Object {\n+ \"name\": \"charmed\",\n+ },\n+ },\n+ ],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox6935727/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1262:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2685", + "mutatorName": "LogicalOperator", + "replacement": "shouldTwoSistersBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 3, "static": false, "killedBy": [ - "621" + "334" ], "coveredBy": [ - "240", - "241", - "242", - "311", - "312", - "313", - "621" + "333", + "334", + "335" ], "location": { "end": { - "column": 80, - "line": 207 + "column": 106, + "line": 235 }, "start": { - "column": 12, - "line": 207 + "column": 14, + "line": 235 } } }, { - "id": "2638", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 22\n+ Received + 0\n\n@@ -195,28 +195,6 @@\n \"source\": GamePlaySource {\n \"name\": \"witch\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"charmed\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3999819/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:387:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2686", + "mutatorName": "BooleanLiteral", + "replacement": "!getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 1, "static": false, "killedBy": [ - "241" - ], - "coveredBy": [ - "240", - "241", - "242", - "311", - "312", - "313", - "621" - ], - "location": { - "end": { - "column": 80, - "line": 207 - }, - "start": { - "column": 12, - "line": 207 - } - } - }, - { - "id": "2639", - "mutatorName": "LogicalOperator", - "replacement": "!!piedPiperPlayer || isPlayerAliveAndPowerful(piedPiperPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "240", - "241", - "242", - "311", - "312", - "313", - "621" + "335" ], - "location": { - "end": { - "column": 80, - "line": 207 - }, - "start": { - "column": 12, - "line": 207 - } - } - }, - { - "id": "2640", - "mutatorName": "BooleanLiteral", - "replacement": "!piedPiperPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "240", - "241", - "242", - "311", - "312", - "313", - "621" + "335" ], "location": { "end": { - "column": 29, - "line": 207 + "column": 106, + "line": 235 }, "start": { - "column": 12, - "line": 207 + "column": 55, + "line": 235 } } }, { - "id": "2641", + "id": "2687", "mutatorName": "BooleanLiteral", - "replacement": "piedPiperPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "replacement": "getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 1, "static": false, - "killedBy": [], - "coveredBy": [ - "240", - "241", - "242", - "311", - "312", - "313", - "621" + "killedBy": [ + "335" ], - "location": { - "end": { - "column": 29, - "line": 207 - }, - "start": { - "column": 13, - "line": 207 - } - } - }, - { - "id": "2642", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(210,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "241", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "335" ], "location": { "end": { - "column": 4, - "line": 218 + "column": 106, + "line": 235 }, "start": { - "column": 92, - "line": 210 + "column": 56, + "line": 235 } } }, { - "id": "2643", + "id": "2688", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(212,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,59): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "336" + ], "coveredBy": [ "241", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { - "column": 38, - "line": 211 + "column": 134, + "line": 238 }, "start": { - "column": 9, - "line": 211 + "column": 12, + "line": 238 } } }, { - "id": "2644", + "id": "2689", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(212,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,77): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", - "status": "CompileError", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "241" + ], "coveredBy": [ "241", - "314", - "315", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { - "column": 38, - "line": 211 + "column": 134, + "line": 238 }, "start": { - "column": 9, - "line": 211 + "column": 12, + "line": 238 } } }, { - "id": "2645", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(213,62): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(215,55): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(216,77): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(217,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", - "status": "CompileError", + "id": "2690", + "mutatorName": "LogicalOperator", + "replacement": "shouldTwoSistersBeCalledOnCurrentTurn && twoSistersPlayers.length > 0 || twoSistersPlayers.every(sister => sister.isAlive)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 6, "static": false, - "killedBy": [], + "killedBy": [ + "336" + ], "coveredBy": [ - "314", - "315" + "241", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { - "column": 6, - "line": 213 + "column": 134, + "line": 238 }, "start": { - "column": 40, - "line": 211 + "column": 12, + "line": 238 } } }, { - "id": "2646", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.BIG_BAD_WOLF)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1361:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2691", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 6, "static": false, "killedBy": [ - "314" + "336" ], "coveredBy": [ - "314", - "315" + "241", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { - "column": 66, - "line": 212 + "column": 81, + "line": 238 }, "start": { - "column": 14, - "line": 212 + "column": 12, + "line": 238 } } }, { - "id": "2647", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.BIG_BAD_WOLF)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1361:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2692", + "mutatorName": "LogicalOperator", + "replacement": "shouldTwoSistersBeCalledOnCurrentTurn || twoSistersPlayers.length > 0", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 6, "static": false, "killedBy": [ - "314" + "336" ], "coveredBy": [ - "314", - "315" + "241", + "336", + "337", + "338", + "339", + "340" ], "location": { "end": { - "column": 66, - "line": 212 + "column": 81, + "line": 238 }, "start": { - "column": 15, - "line": 212 + "column": 12, + "line": 238 } } }, { - "id": "2648", + "id": "2693", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 5, "static": false, "killedBy": [ - "316" + "336" ], "coveredBy": [ "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "336", + "338", + "339", + "340" ], "location": { "end": { - "column": 138, - "line": 217 + "column": 81, + "line": 238 }, "start": { - "column": 12, - "line": 217 + "column": 53, + "line": 238 } } }, { - "id": "2649", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2694", + "mutatorName": "EqualityOperator", + "replacement": "twoSistersPlayers.length >= 0", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 5, "static": false, "killedBy": [ - "241" + "336" ], "coveredBy": [ "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "336", + "338", + "339", + "340" ], "location": { "end": { - "column": 138, - "line": 217 + "column": 81, + "line": 238 }, "start": { - "column": 12, - "line": 217 + "column": 53, + "line": 238 } } }, { - "id": "2650", - "mutatorName": "LogicalOperator", - "replacement": "!!bigBadWolfPlayer && isPlayerAliveAndPowerful(bigBadWolfPlayer, game) || !doSkipCallIfNoTarget || !!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2695", + "mutatorName": "EqualityOperator", + "replacement": "twoSistersPlayers.length <= 0", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 8, + "testsCompleted": 5, "static": false, "killedBy": [ - "316" + "241" ], "coveredBy": [ "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "336", + "338", + "339", + "340" ], "location": { "end": { - "column": 138, - "line": 217 + "column": 81, + "line": 238 }, "start": { - "column": 12, - "line": 217 + "column": 53, + "line": 238 } } }, { - "id": "2651", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1387:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2696", + "mutatorName": "MethodExpression", + "replacement": "twoSistersPlayers.some(sister => sister.isAlive)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 4, "static": false, "killedBy": [ - "316" + "339" ], "coveredBy": [ "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "338", + "339", + "340" ], "location": { "end": { - "column": 82, - "line": 217 + "column": 134, + "line": 238 }, "start": { - "column": 12, - "line": 217 + "column": 85, + "line": 238 } } }, { - "id": "2652", - "mutatorName": "LogicalOperator", - "replacement": "!!bigBadWolfPlayer || isPlayerAliveAndPowerful(bigBadWolfPlayer, game)", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2697", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 4, "static": false, - "killedBy": [], + "killedBy": [ + "241" + ], "coveredBy": [ "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "338", + "339", + "340" ], "location": { "end": { - "column": 82, - "line": 217 + "column": 133, + "line": 238 }, "start": { - "column": 12, - "line": 217 + "column": 109, + "line": 238 } } }, { - "id": "2653", + "id": "2703", "mutatorName": "BooleanLiteral", - "replacement": "!bigBadWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 154\n\n@@ -9,17 +9,127 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"choose-card\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"thief\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-side\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"dog-wolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"cupid\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"sniff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"fox\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-sign\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"two-sisters\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"three-brothers\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-model\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"wild-child\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"mark\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"raven\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"protect\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"guard\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n@@ -27,9 +137,53 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"white-werewolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"big-bad-wolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 8, "static": false, - "killedBy": [], + "killedBy": [ + "240" + ], "coveredBy": [ - "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "240", + "242", + "347", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 30, - "line": 217 + "column": 19, + "line": 245 }, "start": { - "column": 12, - "line": 217 + "column": 14, + "line": 245 } } }, { - "id": "2654", - "mutatorName": "BooleanLiteral", - "replacement": "bigBadWolfPlayer", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(217,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", - "status": "CompileError", + "id": "2704", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 24, "static": false, - "killedBy": [], + "killedBy": [ + "243" + ], "coveredBy": [ + "240", "241", - "316", - "317", - "318", - "319", - "320", - "321", - "322" + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 30, - "line": 217 + "column": 6, + "line": 256 }, "start": { - "column": 13, - "line": 217 + "column": 95, + "line": 247 } } }, { - "id": "2655", + "id": "2712", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 5, "static": false, "killedBy": [ - "319" + "350" ], "coveredBy": [ - "241", - "319", - "320", - "321", - "322" + "243", + "244", + "348", + "349", + "350" ], "location": { "end": { - "column": 137, - "line": 217 + "column": 112, + "line": 254 }, "start": { - "column": 87, - "line": 217 + "column": 33, + "line": 254 } } }, { - "id": "2656", - "mutatorName": "LogicalOperator", - "replacement": "!doSkipCallIfNoTarget && !!availableTargets.length", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2713", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 5, "static": false, "killedBy": [ - "241" + "243" ], "coveredBy": [ - "241", - "319", - "320", - "321", - "322" + "243", + "244", + "348", + "349", + "350" ], "location": { "end": { - "column": 137, - "line": 217 + "column": 112, + "line": 254 }, "start": { - "column": 87, - "line": 217 + "column": 33, + "line": 254 } } }, { - "id": "2657", - "mutatorName": "BooleanLiteral", - "replacement": "doSkipCallIfNoTarget", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -174,21 +174,10 @@\n \"name\": \"white-werewolf\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2714", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player, (game as Game))", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(256,91): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], + "killedBy": [], "coveredBy": [ - "241", - "319", - "320", - "321", - "322" + "243", + "244", + "348", + "349", + "350" ], "location": { "end": { - "column": 108, - "line": 217 + "column": 112, + "line": 254 }, "start": { - "column": 87, - "line": 217 + "column": 33, + "line": 254 } } }, { - "id": "2658", - "mutatorName": "BooleanLiteral", - "replacement": "!availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2716", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 3, "static": false, "killedBy": [ - "319" + "353" ], "coveredBy": [ - "319", - "320" + "351", + "352", + "353" ], "location": { "end": { - "column": 137, - "line": 217 + "column": 115, + "line": 255 }, "start": { - "column": 112, - "line": 217 + "column": 36, + "line": 255 } } }, { - "id": "2659", - "mutatorName": "BooleanLiteral", - "replacement": "availableTargets.length", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1428:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2717", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 2, + "testsCompleted": 3, "static": false, "killedBy": [ - "319" + "351" ], "coveredBy": [ - "319", - "320" + "351", + "352", + "353" ], "location": { "end": { - "column": 137, - "line": 217 + "column": 115, + "line": 255 }, "start": { - "column": 113, - "line": 217 + "column": 36, + "line": 255 } } }, { - "id": "2660", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(222,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2718", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player, (game as Game))", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(257,94): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "241", - "323", - "324", - "325", - "326", - "327", - "328", - "329", - "330", - "331", - "332" + "351", + "352", + "353" ], "location": { "end": { - "column": 4, - "line": 229 + "column": 115, + "line": 255 }, "start": { - "column": 95, - "line": 220 + "column": 36, + "line": 255 } } }, { - "id": "2661", + "id": "2720", "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(228,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 24, "static": false, - "killedBy": [], + "killedBy": [ + "243" + ], "coveredBy": [ + "240", "241", - "323", - "324", - "325", - "326", - "327", - "328", - "329", - "330", - "331", - "332" + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 38, - "line": 223 + "column": 50, + "line": 257 }, "start": { "column": 9, - "line": 223 + "line": 257 } } }, { - "id": "2662", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,81): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(228,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", + "id": "2721", + "mutatorName": "EqualityOperator", + "replacement": "specificRoleMethods[source] === undefined", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 24, "static": false, - "killedBy": [], + "killedBy": [ + "240" + ], "coveredBy": [ + "240", "241", - "323", - "324", - "325", - "326", - "327", - "328", - "329", - "330", - "331", - "332" + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 38, - "line": 223 + "column": 50, + "line": 257 }, "start": { "column": 9, - "line": 223 + "line": 257 } } }, { - "id": "2663", + "id": "2722", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(226,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 19, "static": false, - "killedBy": [], + "killedBy": [ + "243" + ], "coveredBy": [ - "324", - "325", - "326" + "241", + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "609", + "610", + "611" ], "location": { "end": { "column": 6, - "line": 225 + "line": 259 }, "start": { - "column": 40, - "line": 223 + "column": 52, + "line": 257 } } }, { - "id": "2664", + "id": "2723", "mutatorName": "ConditionalExpression", "replacement": "true", - "status": "Timeout", - "static": false, - "killedBy": [], - "coveredBy": [ - "324", - "325", - "326" - ], - "location": { - "end": { - "column": 112, - "line": 224 - }, - "start": { - "column": 14, - "line": 224 - } - } - }, - { - "id": "2665", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 19, "static": false, "killedBy": [ - "326" + "242" ], "coveredBy": [ - "324", - "325", - "326" + "241", + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "609", + "610", + "611" ], "location": { "end": { - "column": 112, - "line": 224 + "column": 60, + "line": 258 }, "start": { "column": 14, - "line": 224 + "line": 258 } } }, { - "id": "2666", - "mutatorName": "LogicalOperator", - "replacement": "shouldThreeBrothersBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2724", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 19, "static": false, "killedBy": [ - "325" + "241" ], "coveredBy": [ - "324", - "325", - "326" + "241", + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "609", + "610", + "611" ], "location": { "end": { - "column": 112, - "line": 224 + "column": 60, + "line": 258 }, "start": { "column": 14, - "line": 224 + "line": 258 } } }, { - "id": "2667", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2725", + "mutatorName": "EqualityOperator", + "replacement": "(await specificRoleMethods[source]?.()) !== true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 19, "static": false, "killedBy": [ - "326" + "241" ], "coveredBy": [ - "326" + "241", + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "609", + "610", + "611" ], "location": { "end": { - "column": 112, - "line": 224 + "column": 60, + "line": 258 }, "start": { - "column": 58, - "line": 224 + "column": 14, + "line": 258 } } }, { - "id": "2668", + "id": "2727", "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.THREE_BROTHERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 19, "static": false, "killedBy": [ - "326" + "241" ], "coveredBy": [ - "326" + "241", + "242", + "243", + "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "609", + "610", + "611" ], "location": { "end": { - "column": 112, - "line": 224 + "column": 60, + "line": 258 }, "start": { - "column": 59, - "line": 224 + "column": 56, + "line": 258 } } }, { - "id": "2669", + "id": "2728", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"look\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"seer\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 12, "static": false, "killedBy": [ - "327" + "242" ], "coveredBy": [ + "240", "241", - "323", - "327", - "328", - "329", - "330", - "331", - "332" + "242", + "243", + "244", + "354", + "355", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 99, + "line": 260 }, "start": { "column": 12, - "line": 228 + "line": 260 } } }, { - "id": "2670", + "id": "2729", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 9, + "testsCompleted": 12, "static": false, "killedBy": [ - "241" + "240" ], "coveredBy": [ + "240", "241", - "323", - "327", - "328", - "329", - "330", - "331", - "332" + "242", + "243", + "244", + "354", + "355", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 99, + "line": 260 }, "start": { "column": 12, - "line": 228 + "line": 260 } } }, { - "id": "2671", - "mutatorName": "LogicalOperator", - "replacement": "shouldThreeBrothersBeCalledOnCurrentTurn || threeBrothersPlayers.filter(brother => brother.isAlive).length >= minimumBrotherCountToCall", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 9, + "id": "2731", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(265,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "328" - ], + "killedBy": [], "coveredBy": [ - "241", - "323", - "327", - "328", - "329", - "330", - "331", - "332" + "356", + "357", + "358", + "359" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 4, + "line": 272 }, "start": { - "column": 12, - "line": 228 + "column": 89, + "line": 263 } } }, { - "id": "2672", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2732", + "mutatorName": "BooleanLiteral", + "replacement": "game.options.roles.sheriff.isEnabled", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "331" + "356" ], "coveredBy": [ - "241", - "323", - "329", - "330", - "331", - "332" + "356", + "357", + "358", + "359" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 46, + "line": 264 }, "start": { - "column": 56, - "line": 228 + "column": 9, + "line": 264 } } }, { - "id": "2673", - "mutatorName": "EqualityOperator", - "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length > minimumBrotherCountToCall", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 6, + "id": "2733", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", + "status": "CompileError", "static": false, - "killedBy": [ - "330" - ], + "killedBy": [], "coveredBy": [ - "241", - "323", - "329", - "330", - "331", - "332" + "356", + "357", + "358", + "359" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 46, + "line": 264 }, "start": { - "column": 56, - "line": 228 + "column": 9, + "line": 264 } } }, { - "id": "2674", - "mutatorName": "EqualityOperator", - "replacement": "threeBrothersPlayers.filter(brother => brother.isAlive).length < minimumBrotherCountToCall", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2734", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 4, "static": false, "killedBy": [ - "241" + "356" ], "coveredBy": [ - "241", - "323", - "329", - "330", - "331", - "332" + "356", + "357", + "358", + "359" ], "location": { "end": { - "column": 147, - "line": 228 + "column": 46, + "line": 264 }, "start": { - "column": 56, - "line": 228 + "column": 9, + "line": 264 } } }, { - "id": "2675", - "mutatorName": "MethodExpression", - "replacement": "threeBrothersPlayers", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8087777/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1653:89\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2735", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 1, "static": false, "killedBy": [ - "331" + "356" ], "coveredBy": [ - "241", - "323", - "329", - "330", - "331", - "332" + "356" ], "location": { "end": { - "column": 111, - "line": 228 + "column": 6, + "line": 266 }, "start": { - "column": 56, - "line": 228 + "column": 48, + "line": 264 } } }, { - "id": "2676", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -108,21 +108,10 @@\n \"name\": \"two-sisters\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2736", + "mutatorName": "BooleanLiteral", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 1, "static": false, "killedBy": [ - "241" - ], - "coveredBy": [ - "241", - "323", - "329", - "330", - "331", - "332" + "356" ], - "location": { - "end": { - "column": 110, - "line": 228 - }, - "start": { - "column": 84, - "line": 228 - } - } - }, - { - "id": "2677", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(233,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], "coveredBy": [ - "241", - "333", - "334", - "335", - "336", - "337", - "338", - "339", - "340" + "356" ], "location": { "end": { - "column": 4, - "line": 239 + "column": 19, + "line": 265 }, "start": { - "column": 92, - "line": 231 + "column": 14, + "line": 265 } } }, { - "id": "2678", + "id": "2737", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,78): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(239,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "241", - "333", - "334", - "335", - "336", - "337", - "338", - "339", - "340" + "357", + "358", + "359" ], "location": { "end": { "column": 38, - "line": 234 + "line": 267 }, "start": { "column": 9, - "line": 234 + "line": 267 } } }, { - "id": "2679", + "id": "2738", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,78): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(239,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "241", - "333", - "334", - "335", - "336", - "337", - "338", - "339", - "340" + "357", + "358", + "359" ], "location": { "end": { "column": 38, - "line": 234 + "line": 267 }, "start": { "column": 9, - "line": 234 + "line": 267 } } }, { - "id": "2680", + "id": "2739", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(237,57): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(270,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "333", - "334", - "335" + "357" ], "location": { "end": { "column": 6, - "line": 236 + "line": 269 }, "start": { "column": 40, - "line": 234 + "line": 267 } } }, { - "id": "2681", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2740", + "mutatorName": "BooleanLiteral", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 1, "static": false, "killedBy": [ - "333" + "357" ], "coveredBy": [ - "333", - "334", - "335" + "357" ], "location": { "end": { - "column": 106, - "line": 235 + "column": 18, + "line": 268 }, "start": { "column": 14, - "line": 235 + "line": 268 } } }, { - "id": "2682", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2741", + "mutatorName": "BooleanLiteral", + "replacement": "!sheriffPlayer", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "335" + "358" ], "coveredBy": [ - "333", - "334", - "335" + "358", + "359" ], "location": { "end": { - "column": 106, - "line": 235 + "column": 27, + "line": 271 }, "start": { - "column": 14, - "line": 235 + "column": 12, + "line": 271 } } }, { - "id": "2683", - "mutatorName": "LogicalOperator", - "replacement": "shouldTwoSistersBeCalledOnCurrentTurn || !!getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2742", + "mutatorName": "BooleanLiteral", + "replacement": "sheriffPlayer", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 3, + "testsCompleted": 2, "static": false, "killedBy": [ - "334" + "358" ], "coveredBy": [ - "333", - "334", - "335" + "358", + "359" ], "location": { "end": { - "column": 106, - "line": 235 + "column": 27, + "line": 271 }, "start": { - "column": 14, - "line": 235 + "column": 13, + "line": 271 } } }, { - "id": "2684", - "mutatorName": "BooleanLiteral", - "replacement": "!getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2744", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 13, "static": false, "killedBy": [ - "335" + "240" ], "coveredBy": [ - "335" + "240", + "241", + "242", + "243", + "244", + "360", + "361", + "362", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 106, - "line": 235 + "column": 47, + "line": 275 }, "start": { - "column": 55, - "line": 235 + "column": 9, + "line": 275 } } }, { - "id": "2685", - "mutatorName": "BooleanLiteral", - "replacement": "getPlayerDtoWithRole(game, RoleNames.TWO_SISTERS)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2745", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 1, + "testsCompleted": 13, "static": false, "killedBy": [ - "335" + "240" ], "coveredBy": [ - "335" + "240", + "241", + "242", + "243", + "244", + "360", + "361", + "362", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 106, - "line": 235 + "column": 47, + "line": 275 }, "start": { - "column": 56, - "line": 235 + "column": 9, + "line": 275 } } }, { - "id": "2686", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2746", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "336" + "240" ], "coveredBy": [ + "240", "241", - "336", - "337", - "338", - "339", - "340" + "242", + "243", + "244", + "361", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 134, - "line": 238 + "column": 6, + "line": 277 }, "start": { - "column": 12, - "line": 238 + "column": 49, + "line": 275 } } }, { - "id": "2687", + "id": "2747", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "true", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2066:78)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 12, "static": false, "killedBy": [ - "241" + "360" ], "coveredBy": [ + "240", "241", - "336", - "337", - "338", - "339", - "340" + "242", + "243", + "244", + "360", + "362", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 134, - "line": 238 + "column": 55, + "line": 277 }, "start": { - "column": 12, - "line": 238 + "column": 16, + "line": 277 } } }, { - "id": "2688", - "mutatorName": "LogicalOperator", - "replacement": "shouldTwoSistersBeCalledOnCurrentTurn && twoSistersPlayers.length > 0 || twoSistersPlayers.every(sister => sister.isAlive)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2748", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 12, "static": false, "killedBy": [ - "336" + "240" ], "coveredBy": [ + "240", "241", - "336", - "337", - "338", - "339", - "340" + "242", + "243", + "244", + "360", + "362", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 134, - "line": 238 + "column": 55, + "line": 277 }, "start": { - "column": 12, - "line": 238 + "column": 16, + "line": 277 } } }, { - "id": "2689", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2749", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 6, + "testsCompleted": 11, "static": false, "killedBy": [ - "336" + "240" ], "coveredBy": [ + "240", "241", - "336", - "337", - "338", - "339", - "340" + "242", + "243", + "244", + "362", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 81, - "line": 238 + "column": 6, + "line": 279 }, "start": { - "column": 12, - "line": 238 + "column": 57, + "line": 277 } } }, { - "id": "2690", - "mutatorName": "LogicalOperator", - "replacement": "shouldTwoSistersBeCalledOnCurrentTurn || twoSistersPlayers.length > 0", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 6, + "id": "2454", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(52,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "336" - ], "coveredBy": [ - "241", - "336", - "337", - "338", - "339", - "340" + "233", + "234", + "235", + "236", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 81, - "line": 238 + "column": 4, + "line": 58 }, "start": { - "column": 12, - "line": 238 + "column": 96, + "line": 52 } } }, { - "id": "2691", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2463", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(71,67): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "336" - ], "coveredBy": [ + "240", "241", - "336", - "338", - "339", - "340" + "242", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 81, - "line": 238 + "column": 4, + "line": 82 }, "start": { - "column": 53, - "line": 238 + "column": 87, + "line": 71 } } }, { - "id": "2692", - "mutatorName": "EqualityOperator", - "replacement": "twoSistersPlayers.length >= 0", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2516", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(134,121): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "336" - ], "coveredBy": [ + "237", + "238", + "239", + "240", "241", - "336", - "338", - "339", - "340" + "242", + "256", + "257", + "258", + "259", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 81, - "line": 238 + "column": 4, + "line": 137 }, "start": { - "column": 53, - "line": 238 + "column": 129, + "line": 134 } } }, { - "id": "2693", - "mutatorName": "EqualityOperator", - "replacement": "twoSistersPlayers.length <= 0", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2526", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(139,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], "coveredBy": [ + "240", "241", - "336", - "338", - "339", - "340" + "260", + "261", + "262", + "263", + "264", + "265", + "266", + "267", + "609", + "610", + "611" ], "location": { "end": { - "column": 81, - "line": 238 + "column": 4, + "line": 149 }, "start": { - "column": 53, - "line": 238 + "column": 88, + "line": 139 } } }, { - "id": "2694", - "mutatorName": "MethodExpression", - "replacement": "twoSistersPlayers.some(sister => sister.isAlive)", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:1781:86\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, + "id": "2527", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "339" - ], "coveredBy": [ + "240", "241", - "338", - "339", - "340" + "260", + "261", + "262", + "263", + "264", + "265", + "266", + "267", + "609", + "610", + "611" ], "location": { "end": { - "column": 134, - "line": 238 + "column": 38, + "line": 140 }, "start": { - "column": 85, - "line": 238 + "column": 9, + "line": 140 } } }, { - "id": "2695", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -103,21 +103,10 @@\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n \"name\": \"three-brothers\",\n \"players\": undefined,\n },\n },\n GamePlay {\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, + "id": "2528", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(143,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(147,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(148,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], "coveredBy": [ + "240", "241", - "338", - "339", - "340" + "260", + "261", + "262", + "263", + "264", + "265", + "266", + "267", + "609", + "610", + "611" ], "location": { "end": { - "column": 133, - "line": 238 + "column": 38, + "line": 140 }, "start": { - "column": 109, - "line": 238 + "column": 9, + "line": 140 } } }, { - "id": "2696", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(241,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2468", + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(75,11): error TS2322: Type 'GamePlay[] | string[]' is not assignable to type 'GamePlay[]'.\n Type 'string[]' is not assignable to type 'GamePlay[]'.\n Type 'string' is not assignable to type 'GamePlay'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "240", - "241", "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "347", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", - "609", - "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 4, - "line": 261 + "column": 112, + "line": 75 }, "start": { - "column": 121, - "line": 241 + "column": 110, + "line": 75 } } }, { - "id": "2697", - "mutatorName": "BooleanLiteral", - "replacement": "player", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,33): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,36): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,12): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "id": "2529", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(141,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(145,61): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(146,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "347", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "260", + "261", "609", "610", - "620", - "621" + "611" ], "location": { "end": { - "column": 16, - "line": 244 + "column": 6, + "line": 142 }, "start": { - "column": 9, - "line": 244 + "column": 40, + "line": 140 } } }, { - "id": "2698", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | CreateGamePlayerDto | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "id": "2550", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(151,103): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", - "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "347", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "268", + "269", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "620", + "611", "621" ], "location": { "end": { - "column": 16, - "line": 244 + "column": 4, + "line": 160 }, "start": { - "column": 9, - "line": 244 + "column": 111, + "line": 151 } } }, { - "id": "2699", + "id": "2551", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", - "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "347", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "268", + "269", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "620", + "611", "621" ], "location": { "end": { - "column": 16, - "line": 244 + "column": 57, + "line": 152 }, "start": { "column": 9, - "line": 244 + "line": 152 } } }, { - "id": "2700", + "id": "2558", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(252,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(253,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(258,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(157,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "240", - "242", - "347", - "608", + "270", + "271", "609", "610", - "621" + "611" ], "location": { "end": { "column": 6, - "line": 246 + "line": 157 }, "start": { - "column": 18, - "line": 244 + "column": 40, + "line": 155 } } }, { - "id": "2701", - "mutatorName": "BooleanLiteral", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 154\n\n@@ -9,17 +9,127 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n+ \"action\": \"choose-card\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"thief\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-side\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"dog-wolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"cupid\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"look\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"sniff\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"fox\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-sign\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"stuttering-judge\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"two-sisters\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"meet-each-other\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"three-brothers\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"choose-model\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"first-night-only\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"wild-child\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"mark\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"raven\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"protect\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"guard\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"eat\",\n@@ -27,9 +137,53 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"white-werewolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"eat\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"big-bad-wolf\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n+ \"action\": \"charm\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 8, + "id": "2557", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", - "242", - "347", - "608", + "241", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "621" + "611" ], "location": { "end": { - "column": 19, - "line": 245 + "column": 38, + "line": 155 }, "start": { - "column": 14, - "line": 245 + "column": 9, + "line": 155 } } }, { - "id": "2702", - "mutatorName": "ObjectLiteral", + "id": "2566", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 24, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(162,99): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "243" - ], "coveredBy": [ "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "276", + "277", + "278", + "279", + "280", + "281", + "282", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 6, - "line": 256 + "column": 4, + "line": 172 }, "start": { - "column": 95, - "line": 247 + "column": 107, + "line": 162 } } }, { - "id": "2703", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(248,32): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2567", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(164,11): error TS2739: Type '{}' is missing the following properties from type 'Record boolean>': survivors, villagers, werewolves, lovers, charmed\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "276", + "277", + "278", + "279", + "280", + "281", + "282", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 92, - "line": 248 + "column": 6, + "line": 170 }, "start": { - "column": 32, - "line": 248 + "column": 117, + "line": 164 } } }, { - "id": "2704", + "id": "2568", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(249,35): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,40): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "276", + "277", + "278", + "279", + "280", + "281", + "282", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 98, - "line": 249 + "column": 139, + "line": 168 }, "start": { - "column": 35, - "line": 249 + "column": 34, + "line": 168 } } }, { - "id": "2705", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(250,33): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2571", + "mutatorName": "LogicalOperator", + "replacement": "game instanceof CreateGameDto && getGroupOfPlayers(game, source).some(werewolf => werewolf.isAlive)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(168,91): error TS2345: Argument of type 'CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "280", + "281", + "282", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 93, - "line": 250 + "column": 139, + "line": 168 }, "start": { - "column": 33, - "line": 250 + "column": 40, + "line": 168 } } }, { - "id": "2706", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(251,31): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2556", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(156,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(158,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(159,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", - "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "270", + "271", + "272", + "273", + "274", + "275", "609", "610", - "620", - "621" + "611" ], "location": { "end": { - "column": 90, - "line": 251 + "column": 38, + "line": 155 }, "start": { - "column": 31, - "line": 251 + "column": 9, + "line": 155 } } }, { - "id": "2707", + "id": "2574", "mutatorName": "ArrowFunction", "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(252,35): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(169,39): error TS2322: Type 'undefined' is not assignable to type 'boolean'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "276", + "277", + "278", + "279", + "280", + "281", + "282", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 98, - "line": 252 + "column": 44, + "line": 169 }, "start": { - "column": 35, - "line": 252 + "column": 33, + "line": 169 } } }, { - "id": "2708", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(253,26): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2577", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(178,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(182,54): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", - "609", - "610", - "620", - "621" + "283", + "284", + "285", + "286", + "287", + "288", + "289", + "290", + "291", + "611" ], "location": { "end": { - "column": 86, - "line": 253 + "column": 38, + "line": 175 }, "start": { - "column": 26, - "line": 253 + "column": 9, + "line": 175 } } }, { - "id": "2709", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,27): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2576", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(174,85): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "240", "241", "242", "243", "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", - "609", - "610", - "620", - "621" + "283", + "284", + "285", + "286", + "287", + "288", + "289", + "290", + "291", + "611" ], "location": { "end": { - "column": 112, - "line": 254 + "column": 4, + "line": 183 }, "start": { - "column": 27, - "line": 254 + "column": 102, + "line": 174 } } }, { - "id": "2710", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "id": "2579", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(177,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(180,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "350" - ], "coveredBy": [ - "243", - "244", - "348", - "349", - "350" + "283", + "284", + "611" ], "location": { "end": { - "column": 112, - "line": 254 + "column": 6, + "line": 177 }, "start": { - "column": 33, - "line": 254 + "column": 40, + "line": 175 } } }, { - "id": "2711", + "id": "2578", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 5, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(176,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(178,123): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(179,124): error TS2339: Property '_id' does not exist on type 'Game | CreateGameDto'.\n Property '_id' does not exist on type 'CreateGameDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(181,50): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(182,67): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "243" - ], "coveredBy": [ + "241", + "242", "243", "244", - "348", - "349", - "350" + "283", + "284", + "285", + "286", + "287", + "288", + "289", + "290", + "291", + "611" ], "location": { "end": { - "column": 112, - "line": 254 + "column": 38, + "line": 175 }, "start": { - "column": 33, - "line": 254 + "column": 9, + "line": 175 } } }, { - "id": "2712", - "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player, (game as Game))", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(256,91): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "id": "2633", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(202,83): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "243", - "244", - "348", - "349", - "350" + "240", + "241", + "242", + "309", + "310", + "311", + "312", + "313", + "609", + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 112, - "line": 254 + "column": 4, + "line": 208 }, "start": { - "column": 33, - "line": 254 + "column": 91, + "line": 202 } } }, { - "id": "2713", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(255,30): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "id": "2634", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(206,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(207,58): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "354", - "355", - "608", + "309", + "310", + "311", + "312", + "313", "609", "610", - "620", - "621" + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 38, + "line": 203 + }, + "start": { + "column": 9, + "line": 203 + } + } + }, + { + "id": "2635", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,37): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'CreateGameDto'.\n Type 'Game' is not assignable to type 'CreateGameDto'.\n Types of property 'players' are incompatible.\n Type 'Player[]' is not assignable to type 'CreateGamePlayerDto[]'.\n Type 'Player' is not assignable to type 'CreateGamePlayerDto'.\n Types of property 'role' are incompatible.\n Property 'name' is missing in type 'PlayerRole' but required in type 'CreateGamePlayerRoleDto'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(206,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(207,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "240", + "241", + "242", + "309", + "310", + "311", + "312", + "313", + "609", + "610", + "611", + "621", + "622" + ], + "location": { + "end": { + "column": 38, + "line": 203 + }, + "start": { + "column": 9, + "line": 203 + } + } + }, + { + "id": "2641", + "mutatorName": "LogicalOperator", + "replacement": "!!piedPiperPlayer || isPlayerAliveAndPowerful(piedPiperPlayer, game)", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "240", + "241", + "242", + "311", + "312", + "313", + "621", + "622" ], "location": { "end": { - "column": 115, - "line": 255 + "column": 80, + "line": 207 }, "start": { - "column": 30, - "line": 255 + "column": 12, + "line": 207 } } }, { - "id": "2714", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "id": "2636", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(204,54): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\nsrc/modules/game/providers/services/game-play/game-play.service.ts(205,75): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is not assignable to type 'Game'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "353" - ], "coveredBy": [ - "351", - "352", - "353" + "309", + "310", + "609", + "610", + "611" ], "location": { "end": { - "column": 115, - "line": 255 + "column": 6, + "line": 205 }, "start": { - "column": 36, - "line": 255 + "column": 40, + "line": 203 } } }, { - "id": "2715", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2003:105\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 3, + "id": "2642", + "mutatorName": "BooleanLiteral", + "replacement": "!piedPiperPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "351" - ], "coveredBy": [ - "351", - "352", - "353" + "240", + "241", + "242", + "311", + "312", + "313", + "621", + "622" ], "location": { "end": { - "column": 115, - "line": 255 + "column": 29, + "line": 207 }, "start": { - "column": 36, - "line": 255 + "column": 12, + "line": 207 } } }, { - "id": "2716", - "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerPowerful(player, (game as Game))", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(257,94): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "id": "2643", + "mutatorName": "BooleanLiteral", + "replacement": "piedPiperPlayer", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(207,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "351", - "352", - "353" + "240", + "241", + "242", + "311", + "312", + "313", + "621", + "622" ], "location": { "end": { - "column": 115, - "line": 255 + "column": 29, + "line": 207 }, "start": { - "column": 36, - "line": 255 + "column": 13, + "line": 207 } } }, { - "id": "2717", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | CreateGamePlayerDto | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "id": "2699", + "mutatorName": "BooleanLiteral", + "replacement": "player", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,33): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,36): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,12): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", @@ -96008,6 +96305,7 @@ "344", "345", "346", + "347", "348", "349", "350", @@ -96016,34 +96314,30 @@ "353", "354", "355", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 50, - "line": 257 + "column": 16, + "line": 244 }, "start": { "column": 9, - "line": 257 + "line": 244 } } }, { - "id": "2718", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 24, + "id": "2698", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(241,104): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "243" - ], "coveredBy": [ "240", "241", @@ -96056,6 +96350,7 @@ "344", "345", "346", + "347", "348", "349", "350", @@ -96064,34 +96359,30 @@ "353", "354", "355", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 50, - "line": 257 + "column": 4, + "line": 261 }, "start": { - "column": 9, - "line": 257 + "column": 121, + "line": 241 } } }, { - "id": "2719", - "mutatorName": "EqualityOperator", - "replacement": "specificRoleMethods[source] === undefined", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 24, + "id": "2701", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", @@ -96104,6 +96395,7 @@ "344", "345", "346", + "347", "348", "349", "350", @@ -96112,35 +96404,32 @@ "353", "354", "355", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 50, - "line": 257 + "column": 16, + "line": 244 }, "start": { "column": 9, - "line": 257 + "line": 244 } } }, { - "id": "2720", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -163,21 +163,10 @@\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"use-potions\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:411:85)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 19, + "id": "2705", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(248,32): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "243" - ], "coveredBy": [ + "240", "241", "242", "243", @@ -96157,76 +96446,62 @@ "351", "352", "353", - "608", + "354", + "355", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 6, - "line": 259 + "column": 92, + "line": 248 }, "start": { - "column": 52, - "line": 257 + "column": 32, + "line": 248 } } }, { - "id": "2721", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -8,6 +8,17 @@\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n \"players\": undefined,\n },\n },\n+ GamePlay {\n+ \"action\": \"use-potions\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"witch\",\n+ \"players\": undefined,\n+ },\n+ },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 19, + "id": "2702", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(252,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(253,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(258,78): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "242" - ], "coveredBy": [ - "241", + "240", "242", - "243", - "244", - "341", - "342", - "343", - "344", - "345", - "346", - "348", - "349", - "350", - "351", - "352", - "353", - "608", + "347", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 60, - "line": 258 + "column": 6, + "line": 246 }, "start": { - "column": 14, - "line": 258 + "column": 18, + "line": 244 } } }, { - "id": "2722", + "id": "2700", "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 19, + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,91): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(255,94): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | CreateGamePlayerDto | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], "coveredBy": [ + "240", "241", "242", "243", @@ -96237,39 +96512,41 @@ "344", "345", "346", + "347", "348", "349", "350", "351", "352", "353", - "608", + "354", + "355", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 60, - "line": 258 + "column": 16, + "line": 244 }, "start": { - "column": 14, - "line": 258 + "column": 9, + "line": 244 } } }, { - "id": "2723", - "mutatorName": "EqualityOperator", - "replacement": "(await specificRoleMethods[source]?.()) !== true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 19, + "id": "2706", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(249,35): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], "coveredBy": [ + "240", "241", "242", "243", @@ -96286,30 +96563,34 @@ "351", "352", "353", - "608", + "354", + "355", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 60, - "line": 258 + "column": 98, + "line": 249 }, "start": { - "column": 14, - "line": 258 + "column": 35, + "line": 249 } } }, { - "id": "2724", - "mutatorName": "OptionalChaining", - "replacement": "specificRoleMethods[source]()", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(258,20): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "id": "2707", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(250,33): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ + "240", "241", "242", "243", @@ -96326,33 +96607,34 @@ "351", "352", "353", - "608", + "354", + "355", "609", - "610" + "610", + "611", + "621", + "622" ], "location": { "end": { - "column": 51, - "line": 258 + "column": 93, + "line": 250 }, "start": { - "column": 20, - "line": 258 + "column": 33, + "line": 250 } } }, { - "id": "2725", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 66\n+ Received + 0\n\n@@ -97,32 +97,10 @@\n \"name\": \"stuttering-judge\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"two-sisters\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"meet-each-other\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"three-brothers\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"choose-model\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"first-night-only\",\n@@ -159,54 +137,10 @@\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n \"source\": GamePlaySource {\n \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"white-werewolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"big-bad-wolf\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"use-potions\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"witch\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n- \"action\": \"charm\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"pied-piper\",\n \"players\": undefined,\n },\n },\n GamePlay {\n \"action\": \"meet-each-other\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 19, + "id": "2708", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(251,31): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "241" - ], "coveredBy": [ + "240", "241", "242", "243", @@ -96369,619 +96651,279 @@ "351", "352", "353", - "608", - "609", - "610" - ], - "location": { - "end": { - "column": 60, - "line": 258 - }, - "start": { - "column": 56, - "line": 258 - } - } - }, - { - "id": "2726", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 11\n\n@@ -1,7 +1,18 @@\n Array [\n GamePlay {\n+ \"action\": \"look\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"on-nights\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"seer\",\n+ \"players\": undefined,\n+ },\n+ },\n+ GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, - "static": false, - "killedBy": [ - "242" - ], - "coveredBy": [ - "240", - "241", - "242", - "243", - "244", "354", "355", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 99, - "line": 260 + "column": 90, + "line": 251 }, "start": { - "column": 12, - "line": 260 + "column": 31, + "line": 251 } } }, { - "id": "2727", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, + "id": "2710", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(253,26): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", "242", "243", "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", "354", "355", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 99, - "line": 260 + "column": 86, + "line": 253 }, "start": { - "column": 12, - "line": 260 + "column": 26, + "line": 253 } } }, { - "id": "2728", - "mutatorName": "LogicalOperator", - "replacement": "player instanceof CreateGamePlayerDto && isPlayerAliveAndPowerful(player, (game as Game))", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "id": "2711", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(254,27): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", "354", "355", - "608", "609", "610", - "620", - "621" - ], - "location": { - "end": { - "column": 99, - "line": 260 - }, - "start": { - "column": 12, - "line": 260 - } - } - }, - { - "id": "2729", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(265,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "356", - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 4, - "line": 272 - }, - "start": { - "column": 89, - "line": 263 - } - } - }, - { - "id": "2730", - "mutatorName": "BooleanLiteral", - "replacement": "game.options.roles.sheriff.isEnabled", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, - "static": false, - "killedBy": [ - "356" - ], - "coveredBy": [ - "356", - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 46, - "line": 264 - }, - "start": { - "column": 9, - "line": 264 - } - } - }, - { - "id": "2731", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "356", - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 46, - "line": 264 - }, - "start": { - "column": 9, - "line": 264 - } - } - }, - { - "id": "2732", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 4, - "static": false, - "killedBy": [ - "356" - ], - "coveredBy": [ - "356", - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 46, - "line": 264 - }, - "start": { - "column": 9, - "line": 264 - } - } - }, - { - "id": "2733", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, - "static": false, - "killedBy": [ - "356" - ], - "coveredBy": [ - "356" - ], - "location": { - "end": { - "column": 6, - "line": 266 - }, - "start": { - "column": 48, - "line": 264 - } - } - }, - { - "id": "2734", - "mutatorName": "BooleanLiteral", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, - "static": false, - "killedBy": [ - "356" - ], - "coveredBy": [ - "356" - ], - "location": { - "end": { - "column": 19, - "line": 265 - }, - "start": { - "column": 14, - "line": 265 - } - } - }, - { - "id": "2735", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 38, - "line": 267 - }, - "start": { - "column": 9, - "line": 267 - } - } - }, - { - "id": "2736", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(272,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "357", - "358", - "359" - ], - "location": { - "end": { - "column": 38, - "line": 267 - }, - "start": { - "column": 9, - "line": 267 - } - } - }, - { - "id": "2737", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(270,60): error TS2345: Argument of type 'Game | CreateGameDto' is not assignable to parameter of type 'Game'.\n Type 'CreateGameDto' is missing the following properties from type 'Game': _id, tick, status, createdAt, updatedAt\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "357" - ], - "location": { - "end": { - "column": 6, - "line": 269 - }, - "start": { - "column": 40, - "line": 267 - } - } - }, - { - "id": "2738", - "mutatorName": "BooleanLiteral", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 1, - "static": false, - "killedBy": [ - "357" - ], - "coveredBy": [ - "357" - ], - "location": { - "end": { - "column": 18, - "line": 268 - }, - "start": { - "column": 14, - "line": 268 - } - } - }, - { - "id": "2739", - "mutatorName": "BooleanLiteral", - "replacement": "!sheriffPlayer", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "358" - ], - "coveredBy": [ - "358", - "359" + "611", + "621", + "622" ], "location": { "end": { - "column": 27, - "line": 271 + "column": 112, + "line": 254 }, "start": { - "column": 12, - "line": 271 - } - } - }, - { - "id": "2740", - "mutatorName": "BooleanLiteral", - "replacement": "sheriffPlayer", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2050:83\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 2, - "static": false, - "killedBy": [ - "358" - ], - "coveredBy": [ - "358", - "359" - ], - "location": { - "end": { "column": 27, - "line": 271 - }, - "start": { - "column": 13, - "line": 271 + "line": 254 } } }, { - "id": "2741", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(274,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2715", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(255,30): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ "240", "241", "242", "243", "244", - "360", - "361", - "362", - "608", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 4, - "line": 281 + "column": 115, + "line": 255 }, "start": { - "column": 117, - "line": 274 + "column": 30, + "line": 255 } } }, { - "id": "2742", + "id": "2719", "mutatorName": "ConditionalExpression", "replacement": "true", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 13, - "static": false, - "killedBy": [ - "240" - ], - "coveredBy": [ - "240", - "241", - "242", - "243", - "244", - "360", - "361", - "362", - "608", - "609", - "610", - "620", - "621" - ], - "location": { - "end": { - "column": 47, - "line": 275 - }, - "start": { - "column": 9, - "line": 275 - } - } - }, - { - "id": "2743", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 13, + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'Player | CreateGamePlayerDto | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", "242", "243", "244", - "360", - "361", - "362", - "608", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 47, - "line": 275 + "column": 50, + "line": 257 }, "start": { "column": 9, - "line": 275 + "line": 257 } } }, { - "id": "2744", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -9,21 +9,10 @@\n \"name\": \"survivors\",\n \"players\": undefined,\n },\n },\n GamePlay {\n- \"action\": \"look\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"seer\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"eat\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"on-nights\",\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "id": "2730", + "mutatorName": "LogicalOperator", + "replacement": "player instanceof CreateGamePlayerDto && isPlayerAliveAndPowerful(player, (game as Game))", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(260,78): error TS2345: Argument of type 'CreateGamePlayerDto' is not assignable to parameter of type 'Player'.\n Type 'CreateGamePlayerDto' is missing the following properties from type 'Player': _id, attributes, isAlive\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", "242", "243", "244", - "361", - "608", + "354", + "355", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 6, - "line": 277 + "column": 99, + "line": 260 }, "start": { - "column": 49, - "line": 275 + "column": 12, + "line": 260 } } }, { - "id": "2745", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:2066:78)", - "status": "Killed", - "testsCompleted": 12, + "id": "2726", + "mutatorName": "OptionalChaining", + "replacement": "specificRoleMethods[source]()", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(258,20): error TS2722: Cannot invoke an object which is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "360" - ], "coveredBy": [ - "240", "241", "242", "243", "244", - "360", - "362", - "608", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", "609", "610", - "620", - "621" + "611" ], "location": { "end": { - "column": 55, - "line": 277 + "column": 51, + "line": 258 }, "start": { - "column": 16, - "line": 277 + "column": 20, + "line": 258 } } }, { - "id": "2746", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, + "id": "2743", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(274,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", @@ -96989,56 +96931,66 @@ "243", "244", "360", + "361", "362", - "608", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 55, - "line": 277 + "column": 4, + "line": 281 }, "start": { - "column": 16, - "line": 277 + "column": 117, + "line": 274 } } }, { - "id": "2747", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).resolves.toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -19,17 +19,6 @@\n \"source\": GamePlaySource {\n \"name\": \"seer\",\n \"players\": undefined,\n },\n },\n- GamePlay {\n- \"action\": \"eat\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"on-nights\",\n- \"source\": GamePlaySource {\n- \"name\": \"werewolves\",\n- \"players\": undefined,\n- },\n- },\n ]\n at Object.toStrictEqual (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play.service.spec.ts:391:76\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "id": "2709", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "src/modules/game/providers/services/game-play/game-play.service.ts(252,35): error TS2322: Type '() => undefined' is not assignable to type '() => boolean | Promise'.\n Type 'undefined' is not assignable to type 'boolean | Promise'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "240" - ], "coveredBy": [ "240", "241", "242", "243", "244", - "362", - "608", + "341", + "342", + "343", + "344", + "345", + "346", + "348", + "349", + "350", + "351", + "352", + "353", + "354", + "355", "609", "610", - "620", - "621" + "611", + "621", + "622" ], "location": { "end": { - "column": 6, - "line": 279 + "column": 98, + "line": 252 }, "start": { - "column": 57, - "line": 277 + "column": 35, + "line": 252 } } } @@ -97049,7 +97001,7 @@ "language": "typescript", "mutants": [ { - "id": "2748", + "id": "2750", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(14,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -97057,11 +97009,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97075,7 +97027,7 @@ } }, { - "id": "2749", + "id": "2751", "mutatorName": "ArithmeticOperator", "replacement": "getGameRandomCompositionDto.players.length + werewolfRolesCount", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:55:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -97083,14 +97035,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "904" + "905" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97104,7 +97056,7 @@ } }, { - "id": "2750", + "id": "2752", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(22,48): error TS2339: Property 'name' does not exist on type 'never'.\n", @@ -97112,11 +97064,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97130,7 +97082,7 @@ } }, { - "id": "2751", + "id": "2753", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(23,101): error TS2322: Type 'undefined' is not assignable to type 'GetGameRandomCompositionPlayerResponseDto'.\n", @@ -97138,11 +97090,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97156,7 +97108,7 @@ } }, { - "id": "2752", + "id": "2754", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of undefined (reading 'current')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:264:14\n at Array.every ()\n at Object.toSatisfyAll (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-extended/dist/matchers/toSatisfyAll.js:13:23)\n at __EXTERNAL_MATCHER_TRAP__ (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:325:30)\n at Object.throwingMatcher [as toSatisfyAll] (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:326:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:263:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -97164,14 +97116,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97185,7 +97137,7 @@ } }, { - "id": "2753", + "id": "2755", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:53:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -97193,14 +97145,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", - "906" + "906", + "907" ], "location": { "end": { @@ -97215,18 +97167,14 @@ }, { "id": "2756", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:65:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(30,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "907" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97236,33 +97184,30 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 58, - "line": 33 + "column": 4, + "line": 51 }, "start": { - "column": 30, - "line": 33 + "column": 108, + "line": 30 } } }, { "id": "2757", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:72:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, + "mutatorName": "ArrayDeclaration", + "replacement": "[\"Stryker was here\"]", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(31,34): error TS2322: Type 'string' is not assignable to type 'Role'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "908" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97272,33 +97217,33 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 58, - "line": 33 + "column": 35, + "line": 31 }, "start": { - "column": 30, - "line": 33 + "column": 33, + "line": 31 } } }, { "id": "2758", - "mutatorName": "EqualityOperator", - "replacement": "side !== RoleSides.VILLAGERS", + "mutatorName": "ConditionalExpression", + "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:65:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 12, "static": false, "killedBy": [ - "907" + "908" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97308,7 +97253,8 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { @@ -97322,19 +97268,18 @@ } }, { - "id": "2760", - "mutatorName": "EqualityOperator", - "replacement": "i <= rolesToPickCount", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:53:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2759", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:72:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 12, "static": false, "killedBy": [ - "903" + "909" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97344,33 +97289,33 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 41, - "line": 35 + "column": 58, + "line": 33 }, "start": { - "column": 21, - "line": 35 + "column": 30, + "line": 33 } } }, { - "id": "2761", + "id": "2760", "mutatorName": "EqualityOperator", - "replacement": "i >= rolesToPickCount", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:50:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "replacement": "side !== RoleSides.VILLAGERS", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:65:70)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 12, "static": false, "killedBy": [ - "903" + "908" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97380,33 +97325,30 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 41, - "line": 35 + "column": 58, + "line": 33 }, "start": { - "column": 21, - "line": 35 + "column": 30, + "line": 33 } } }, { - "id": "2764", - "mutatorName": "ArithmeticOperator", - "replacement": "rolesToPickCount + i", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 108\nReceived array: [{\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 12, + "id": "2761", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "910" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97416,33 +97358,33 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 56, - "line": 36 + "column": 41, + "line": 35 }, "start": { - "column": 36, - "line": 36 + "column": 21, + "line": 35 } } }, { - "id": "2765", - "mutatorName": "MethodExpression", - "replacement": "availableSidedRoles", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2762", + "mutatorName": "EqualityOperator", + "replacement": "i <= rolesToPickCount", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:53:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 12, "static": false, "killedBy": [ - "903" + "904" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -97452,617 +97394,631 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 157, - "line": 37 + "column": 41, + "line": 35 }, "start": { - "column": 31, - "line": 37 + "column": 21, + "line": 35 } } }, { - "id": "2767", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2763", + "mutatorName": "EqualityOperator", + "replacement": "i >= rolesToPickCount", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:50:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 10, + "testsCompleted": 12, "static": false, "killedBy": [ "904" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 156, - "line": 37 + "column": 41, + "line": 35 }, "start": { - "column": 66, - "line": 37 + "column": 21, + "line": 35 } } }, { - "id": "2769", - "mutatorName": "LogicalOperator", - "replacement": "role.maxInGame || role.minInGame === undefined || role.minInGame <= leftRolesToPickCount", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 10, + "id": "2764", + "mutatorName": "AssignmentOperator", + "replacement": "i -= randomRolesToPickCount", + "statusReason": "Hit limit reached (39512/39500)", + "status": "Timeout", "static": false, - "killedBy": [ - "904" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 156, - "line": 37 + "column": 70, + "line": 35 }, "start": { - "column": 66, - "line": 37 + "column": 43, + "line": 35 } } }, { - "id": "2770", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 101\nReceived array: [{\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2765", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", - "testsCompleted": 10, + "testsCompleted": 12, "static": false, "killedBy": [ - "910" + "577" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 155, - "line": 37 + "column": 6, + "line": 49 }, "start": { - "column": 85, - "line": 37 + "column": 72, + "line": 35 } } }, { - "id": "2774", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2766", + "mutatorName": "ArithmeticOperator", + "replacement": "rolesToPickCount + i", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 108\nReceived array: [{\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 12, "static": false, "killedBy": [ "911" ], "coveredBy": [ - "576", + "577", "904", "905", "906", + "907", + "908", + "909", "910", "911", - "912" + "912", + "913", + "914" ], "location": { "end": { - "column": 155, - "line": 37 + "column": 56, + "line": 36 }, "start": { - "column": 117, - "line": 37 + "column": 36, + "line": 36 } } }, { - "id": "2775", - "mutatorName": "EqualityOperator", - "replacement": "role.minInGame < leftRolesToPickCount", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2767", + "mutatorName": "MethodExpression", + "replacement": "availableSidedRoles", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 12, "static": false, "killedBy": [ - "911" + "904" ], "coveredBy": [ - "576", + "577", "904", "905", "906", + "907", + "908", + "909", "910", "911", - "912" + "912", + "913", + "914" ], "location": { "end": { - "column": 155, + "column": 157, "line": 37 }, "start": { - "column": 117, + "column": 31, "line": 37 } } }, { - "id": "2776", - "mutatorName": "EqualityOperator", - "replacement": "role.minInGame > leftRolesToPickCount", - "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 99\nReceived array: [{\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2768", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 7, + "testsCompleted": 12, "static": false, "killedBy": [ "910" ], "coveredBy": [ - "576", + "577", "904", "905", "906", + "907", + "908", + "909", "910", "911", - "912" + "912", + "913", + "914" ], "location": { "end": { - "column": 155, + "column": 156, "line": 37 }, "start": { - "column": 117, + "column": 58, "line": 37 } } }, { - "id": "2781", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:50:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2769", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 10, "static": false, "killedBy": [ - "903" + "905" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 8, - "line": 48 + "column": 156, + "line": 37 }, "start": { - "column": 14, - "line": 42 + "column": 66, + "line": 37 } } }, { - "id": "2784", - "mutatorName": "EqualityOperator", - "replacement": "j <= randomRolesToPickCount", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2770", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 10, "static": false, "killedBy": [ - "903" + "910" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 51, - "line": 44 + "column": 156, + "line": 37 }, "start": { - "column": 25, - "line": 44 + "column": 66, + "line": 37 } } }, { - "id": "2785", - "mutatorName": "EqualityOperator", - "replacement": "j >= randomRolesToPickCount", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2771", + "mutatorName": "LogicalOperator", + "replacement": "role.maxInGame || role.minInGame === undefined || role.minInGame <= leftRolesToPickCount", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 10, "static": false, "killedBy": [ - "576" + "905" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 51, - "line": 44 + "column": 156, + "line": 37 }, "start": { - "column": 25, - "line": 44 + "column": 66, + "line": 37 } } }, { - "id": "2787", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "2772", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 101\nReceived array: [{\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 10, "static": false, "killedBy": [ - "576" + "911" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 10, - "line": 47 + "column": 155, + "line": 37 }, "start": { - "column": 58, - "line": 44 + "column": 85, + "line": 37 } } }, { - "id": "2788", - "mutatorName": "UpdateOperator", - "replacement": "randomRole.maxInGame++", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 10, + "id": "2773", + "mutatorName": "LogicalOperator", + "replacement": "role.minInGame === undefined && role.minInGame <= leftRolesToPickCount", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "904" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 33, - "line": 45 + "column": 155, + "line": 37 }, "start": { - "column": 11, - "line": 45 + "column": 85, + "line": 37 } } }, { - "id": "2789", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(53,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "2774", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,94): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "914", - "915", - "916", - "917", - "918", - "919" + "907", + "910", + "911", + "912", + "913", + "914" ], "location": { "end": { - "column": 4, - "line": 56 + "column": 113, + "line": 37 }, "start": { - "column": 71, - "line": 53 + "column": 85, + "line": 37 } } }, { - "id": "2790", - "mutatorName": "ArithmeticOperator", - "replacement": "playerCount * werewolvesRatio", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:54:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 11, + "id": "2775", + "mutatorName": "EqualityOperator", + "replacement": "role.minInGame !== undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "903" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "914", - "915", - "916", - "917", - "918", - "919" + "907", + "910", + "911", + "912", + "913", + "914" ], "location": { "end": { - "column": 51, - "line": 55 + "column": 113, + "line": 37 }, "start": { - "column": 22, - "line": 55 + "column": 85, + "line": 37 } } }, { - "id": "2755", - "mutatorName": "ArrayDeclaration", - "replacement": "[\"Stryker was here\"]", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(31,34): error TS2322: Type 'string' is not assignable to type 'Role'.\n", - "status": "CompileError", + "id": "2776", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 7, "static": false, + "killedBy": [ + "912" + ], "coveredBy": [ - "576", - "903", - "904", + "577", "905", "906", "907", - "908", - "909", - "910", "911", "912", "913" ], "location": { "end": { - "column": 35, - "line": 31 + "column": 155, + "line": 37 }, "start": { - "column": 33, - "line": 31 + "column": 117, + "line": 37 } } }, { - "id": "2754", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(30,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2777", + "mutatorName": "EqualityOperator", + "replacement": "role.minInGame < leftRolesToPickCount", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 0, \"minInGame\": 3, \"name\": \"three-brothers\", \"origin\": \"characters\", \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:220:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 7, "static": false, + "killedBy": [ + "912" + ], "coveredBy": [ - "576", - "903", - "904", + "577", "905", "906", "907", - "908", - "909", - "910", "911", "912", "913" ], "location": { "end": { - "column": 4, - "line": 51 + "column": 155, + "line": 37 }, "start": { - "column": 108, - "line": 30 + "column": 117, + "line": 37 } } }, { - "id": "2759", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", - "status": "CompileError", + "id": "2778", + "mutatorName": "EqualityOperator", + "replacement": "role.minInGame > leftRolesToPickCount", + "statusReason": "Error: expect(received).toHaveLength(expected)\n\nExpected length: 90\nReceived length: 99\nReceived array: [{\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"maxInGame\": -98, \"minInGame\": 99, \"name\": \"fox\", \"origin\": \"characters\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, …]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:202:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 7, "static": false, + "killedBy": [ + "911" + ], "coveredBy": [ - "576", - "903", - "904", + "577", "905", "906", "907", - "908", - "909", - "910", "911", "912", "913" ], "location": { "end": { - "column": 41, - "line": 35 + "column": 155, + "line": 37 }, "start": { - "column": 21, - "line": 35 + "column": 117, + "line": 37 } } }, { - "id": "2771", - "mutatorName": "LogicalOperator", - "replacement": "role.minInGame === undefined && role.minInGame <= leftRolesToPickCount", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "id": "2779", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 155, - "line": 37 + "column": 35, + "line": 39 }, "start": { - "column": 85, - "line": 37 + "column": 11, + "line": 39 } } }, { - "id": "2772", + "id": "2780", "mutatorName": "ConditionalExpression", "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,94): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 113, - "line": 37 + "column": 35, + "line": 39 }, "start": { - "column": 85, - "line": 37 + "column": 11, + "line": 39 } } }, { - "id": "2777", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", + "id": "2781", + "mutatorName": "EqualityOperator", + "replacement": "randomRole !== undefined", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Role'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -98072,7 +98028,8 @@ "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { @@ -98086,117 +98043,120 @@ } }, { - "id": "2773", - "mutatorName": "EqualityOperator", - "replacement": "role.minInGame !== undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(37,117): error TS18048: 'role.minInGame' is possibly 'undefined'.\n", - "status": "CompileError", + "id": "2782", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:51:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 7, "static": false, + "killedBy": [ + "905" + ], "coveredBy": [ - "576", - "903", - "904", "905", "906", + "907", + "908", "909", "910", - "911", - "912", - "913" + "911" ], "location": { "end": { - "column": 113, - "line": 37 + "column": 8, + "line": 42 }, "start": { - "column": 85, - "line": 37 + "column": 37, + "line": 39 } } }, { - "id": "2779", - "mutatorName": "EqualityOperator", - "replacement": "randomRole !== undefined", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Role'.\n", - "status": "CompileError", + "id": "2783", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:50:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 10, "static": false, + "killedBy": [ + "904" + ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 35, - "line": 39 + "column": 8, + "line": 48 }, "start": { - "column": 11, - "line": 39 + "column": 14, + "line": 42 } } }, { - "id": "2778", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,34): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", + "id": "2784", + "mutatorName": "LogicalOperator", + "replacement": "randomRole.minInGame && 1", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,9): error TS2322: Type 'number | undefined' is not assignable to type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 35, - "line": 39 + "column": 59, + "line": 43 }, "start": { - "column": 11, - "line": 39 + "column": 34, + "line": 43 } } }, { - "id": "2783", + "id": "2785", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(45,11): error TS18048: 'randomRole' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-random-composition.service.ts(46,28): error TS2345: Argument of type 'Role | undefined' is not assignable to parameter of type 'Role'.\n Type 'undefined' is not assignable to type 'Role'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { @@ -98210,263 +98170,269 @@ } }, { - "id": "2782", - "mutatorName": "LogicalOperator", - "replacement": "randomRole.minInGame && 1", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(43,9): error TS2322: Type 'number | undefined' is not assignable to type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", - "status": "CompileError", + "id": "2786", + "mutatorName": "EqualityOperator", + "replacement": "j <= randomRolesToPickCount", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 10, "static": false, + "killedBy": [ + "904" + ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 59, - "line": 43 + "column": 51, + "line": 44 }, "start": { - "column": 34, - "line": 43 + "column": 25, + "line": 44 } } }, { - "id": "2791", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(58,112): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "2787", + "mutatorName": "EqualityOperator", + "replacement": "j >= randomRolesToPickCount", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 10, "static": false, + "killedBy": [ + "577" + ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "920", - "921", - "922", - "923", - "924", - "925", - "926" + "907", + "910", + "911", + "912", + "913", + "914" ], "location": { "end": { - "column": 4, - "line": 76 + "column": 51, + "line": 44 }, "start": { - "column": 119, - "line": 58 + "column": 25, + "line": 44 } } }, { - "id": "2762", - "mutatorName": "AssignmentOperator", - "replacement": "i -= randomRolesToPickCount", - "statusReason": "Hit limit reached (39512/39500)", + "id": "2788", + "mutatorName": "UpdateOperator", + "replacement": "j--", + "statusReason": "Hit limit reached (18110/18100)", "status": "Timeout", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 70, - "line": 35 + "column": 56, + "line": 44 }, "start": { - "column": 43, - "line": 35 + "column": 53, + "line": 44 } } }, { - "id": "2763", + "id": "2789", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", + "testsCompleted": 10, "static": false, - "testsCompleted": 12, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 6, - "line": 49 + "column": 10, + "line": 47 }, "start": { - "column": 72, - "line": 35 + "column": 58, + "line": 44 } } }, { - "id": "2766", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2790", + "mutatorName": "UpdateOperator", + "replacement": "randomRole.maxInGame++", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:56:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", + "testsCompleted": 10, "static": false, - "testsCompleted": 12, "killedBy": [ - "909" + "905" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", - "913" + "913", + "914" ], "location": { "end": { - "column": 156, - "line": 37 + "column": 33, + "line": 45 }, "start": { - "column": 58, - "line": 37 + "column": 11, + "line": 45 } } }, { - "id": "2768", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", + "id": "2791", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(53,64): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "testsCompleted": 10, - "killedBy": [ - "909" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", - "910", - "911", - "912", - "913" + "907", + "915", + "916", + "917", + "918", + "919", + "920" ], "location": { "end": { - "column": 156, - "line": 37 + "column": 4, + "line": 56 }, "start": { - "column": 66, - "line": 37 + "column": 71, + "line": 53 } } }, { - "id": "2780", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "TypeError: Cannot read properties of undefined (reading 'name')\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/src/modules/game/providers/services/game-random-composition.service.ts:72:44\n at Array.map ()\n at GameRandomCompositionService.getGameRandomComposition (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/src/modules/game/providers/services/game-random-composition.service.ts:69:50)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:51:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "2792", + "mutatorName": "ArithmeticOperator", + "replacement": "playerCount * werewolvesRatio", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:54:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", + "testsCompleted": 11, "static": false, - "testsCompleted": 7, "killedBy": [ "904" ], "coveredBy": [ + "577", "904", "905", "906", "907", - "908", - "909", - "910" + "915", + "916", + "917", + "918", + "919", + "920" ], "location": { "end": { - "column": 8, - "line": 42 + "column": 51, + "line": 55 }, "start": { - "column": 37, - "line": 39 + "column": 22, + "line": 55 } } }, { - "id": "2786", - "mutatorName": "UpdateOperator", - "replacement": "j--", - "statusReason": "Hit limit reached (18110/18100)", - "status": "Timeout", + "id": "2793", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game-random-composition.service.ts(58,112): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", - "910", - "911", - "912", - "913" + "907", + "921", + "922", + "923", + "924", + "925", + "926", + "927" ], "location": { - "end": { - "column": 56, - "line": 44 + "end": { + "column": 4, + "line": 76 }, "start": { - "column": 53, - "line": 44 + "column": 119, + "line": 58 } } } @@ -98477,7 +98443,7 @@ "language": "typescript", "mutants": [ { - "id": "2792", + "id": "2794", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(18,34): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -98485,9 +98451,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "787", + "622", "788", "789", "790", @@ -98496,7 +98461,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98510,7 +98476,7 @@ } }, { - "id": "2793", + "id": "2795", "mutatorName": "BooleanLiteral", "replacement": "currentPlay", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -98518,12 +98484,11 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "787", + "622", "788", "789", "790", @@ -98532,7 +98497,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98546,7 +98512,7 @@ } }, { - "id": "2794", + "id": "2796", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -98554,12 +98520,11 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "787", + "622", "788", "789", "790", @@ -98568,7 +98533,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98582,7 +98548,7 @@ } }, { - "id": "2795", + "id": "2797", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in isGameOver\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:48:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98590,12 +98556,11 @@ "testsCompleted": 12, "static": false, "killedBy": [ - "787" + "788" ], "coveredBy": [ - "620", "621", - "787", + "622", "788", "789", "790", @@ -98604,7 +98569,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98618,7 +98584,7 @@ } }, { - "id": "2796", + "id": "2798", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in isGameOver\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:48:59)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98626,10 +98592,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "787" + "788" ], "coveredBy": [ - "787" + "788" ], "location": { "end": { @@ -98643,7 +98609,7 @@ } }, { - "id": "2797", + "id": "2799", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"isGameOver\", {\"gameId\": \"3601e7e31385e6fcfd168ca1\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:49:91)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98651,10 +98617,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "787" + "788" ], "coveredBy": [ - "787" + "788" ], "location": { "end": { @@ -98668,7 +98634,7 @@ } }, { - "id": "2798", + "id": "2800", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(21,70): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; }'.\n Property 'gameId' is missing in type '{}' but required in type '{ gameId: ObjectId; }'.\n", @@ -98676,7 +98642,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "787" + "788" ], "location": { "end": { @@ -98690,7 +98656,7 @@ } }, { - "id": "2799", + "id": "2801", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 1\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"66eac0e45f367c312faf681e\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"f235c202abcbe7ab83fb0be5\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Catharine\",\n- \"position\": 3714187442257920,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"aad981bb997edadc66dbaffc\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Jeramy\",\n- \"position\": 3080067315924992,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"f235c202abcbe7ab83fb0be5\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Catharine\",\n- \"position\": 3714187442257920,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"aad981bb997edadc66dbaffc\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Jeramy\",\n- \"position\": 3080067315924992,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"a0d3dfb58d40a06d83bf2569\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Kristoffer\",\n- \"position\": 1349220854398976,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"5ffade9e74eed5ffec4c2c1b\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Dahlia\",\n- \"position\": 8260406248210432,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 365198428864513,\n \"turn\": 1174015771148288,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -98698,12 +98664,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -98711,7 +98676,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98725,7 +98691,7 @@ } }, { - "id": "2800", + "id": "2802", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:64:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98733,12 +98699,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "788" + "789" ], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -98746,7 +98711,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98760,7 +98726,7 @@ } }, { - "id": "2801", + "id": "2803", "mutatorName": "LogicalOperator", "replacement": "areAllPlayersDead(game) && !isHunterShootPlayIncoming && !isSurvivorsBuryDeadBodiesPlayIncoming && !!gameVictoryData", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:64:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98768,12 +98734,11 @@ "testsCompleted": 11, "static": false, "killedBy": [ - "788" + "789" ], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -98781,7 +98746,8 @@ "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98795,7 +98761,7 @@ } }, { - "id": "2802", + "id": "2804", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98803,19 +98769,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98829,7 +98795,7 @@ } }, { - "id": "2803", + "id": "2805", "mutatorName": "LogicalOperator", "replacement": "!isHunterShootPlayIncoming && !isSurvivorsBuryDeadBodiesPlayIncoming || !!gameVictoryData", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:79:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98837,19 +98803,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98863,7 +98829,7 @@ } }, { - "id": "2804", + "id": "2806", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -98871,19 +98837,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98897,7 +98863,7 @@ } }, { - "id": "2805", + "id": "2807", "mutatorName": "LogicalOperator", "replacement": "!isHunterShootPlayIncoming || !isSurvivorsBuryDeadBodiesPlayIncoming", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:79:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98905,19 +98871,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98931,7 +98897,7 @@ } }, { - "id": "2806", + "id": "2808", "mutatorName": "BooleanLiteral", "replacement": "isHunterShootPlayIncoming", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:79:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98939,19 +98905,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "789" + "790" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98965,7 +98931,7 @@ } }, { - "id": "2807", + "id": "2809", "mutatorName": "BooleanLiteral", "replacement": "isSurvivorsBuryDeadBodiesPlayIncoming", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -98973,17 +98939,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "791", + "622", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -98997,7 +98963,7 @@ } }, { - "id": "2808", + "id": "2810", "mutatorName": "BooleanLiteral", "replacement": "!gameVictoryData", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 1\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"bbaecfadbcaeeb6cfb8446dc\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"d2da7edfefa9ca4f0ddf2814\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Willa\",\n- \"position\": 4228120982847488,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"ed127f4f1506541e5c6f8d66\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Ahmad\",\n- \"position\": 4027946891214848,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"d2da7edfefa9ca4f0ddf2814\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Willa\",\n- \"position\": 4228120982847488,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"ed127f4f1506541e5c6f8d66\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Ahmad\",\n- \"position\": 4027946891214848,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"5e85c41a4aa6a37cbcd97a40\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Rosalyn\",\n- \"position\": 3987856445931520,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"6edbc5e77db055f3e8f8b795\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Sherman\",\n- \"position\": 7737229386448896,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 8480333108346881,\n \"turn\": 2194619764834304,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99005,17 +98971,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "791", + "622", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -99029,7 +98995,7 @@ } }, { - "id": "2809", + "id": "2811", "mutatorName": "BooleanLiteral", "replacement": "gameVictoryData", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99037,17 +99003,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "791", + "622", "792", "793", "794", "795", - "796" + "796", + "797" ], "location": { "end": { @@ -99061,7 +99027,7 @@ } }, { - "id": "2810", + "id": "2812", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(29,47): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -99069,9 +99035,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -99088,7 +99053,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99102,7 +99068,7 @@ } }, { - "id": "2811", + "id": "2813", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 4\n\n@@ -1,139 +1,16 @@\n Object {\n \"_id\": \"489c7dee6ed3bd0ba3adfbc6\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"ca9d27cd448356c751fdea16\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Maxine\",\n- \"position\": 4032875791908864,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"8ccacdaa7eba7c5ca6b606e2\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Edison\",\n- \"position\": 4444912932093952,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"ca9d27cd448356c751fdea16\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Maxine\",\n- \"position\": 4032875791908864,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n },\n },\n- Object {\n- \"_id\": \"8ccacdaa7eba7c5ca6b606e2\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Edison\",\n- \"position\": 4444912932093952,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"ba60ba3bc68a936559feee69\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Roy\",\n- \"position\": 8044934584074240,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"7c2dfe7aefa9eabd5b32d20e\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Lisandro\",\n- \"position\": 5423166904074240,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n- },\n- },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n \"roles\": Object {\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 6166698107338753,\n \"turn\": 1185003985698816,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -292,6 +169,9 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"none\",\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99110,12 +99076,11 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -99132,7 +99097,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99146,7 +99112,7 @@ } }, { - "id": "2812", + "id": "2814", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 20\n\n GameVictory {\n- \"type\": \"none\",\n- \"winners\": undefined,\n+ \"type\": \"werewolves\",\n+ \"winners\": Array [\n+ Player {\n+ \"_id\": \"fec2c0dcae2b3facbc6ad1ed\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Susie\",\n+ \"position\": 8942035885096960,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:215:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99154,12 +99120,11 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "797" + "798" ], "coveredBy": [ - "620", "621", - "788", + "622", "789", "790", "791", @@ -99176,7 +99141,8 @@ "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99190,7 +99156,7 @@ } }, { - "id": "2813", + "id": "2815", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 20\n\n GameVictory {\n- \"type\": \"none\",\n- \"winners\": undefined,\n+ \"type\": \"werewolves\",\n+ \"winners\": Array [\n+ Player {\n+ \"_id\": \"c5bab3cb8fb2edb5efbd7fcb\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Coby\",\n+ \"position\": 1197199350300672,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:215:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99198,11 +99164,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "797" + "798" ], "coveredBy": [ - "788", - "797" + "789", + "798" ], "location": { "end": { @@ -99216,7 +99182,7 @@ } }, { - "id": "2814", + "id": "2816", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99224,12 +99190,11 @@ "testsCompleted": 18, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99237,14 +99202,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99258,7 +99224,7 @@ } }, { - "id": "2815", + "id": "2817", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(34,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99266,9 +99232,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99276,14 +99241,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99297,7 +99263,7 @@ } }, { - "id": "2816", + "id": "2818", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(35,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99305,9 +99271,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99315,14 +99280,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99336,7 +99302,7 @@ } }, { - "id": "2817", + "id": "2819", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(36,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99344,9 +99310,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99354,14 +99319,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99375,7 +99341,7 @@ } }, { - "id": "2818", + "id": "2820", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(37,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99383,9 +99349,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99393,14 +99358,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99414,7 +99380,7 @@ } }, { - "id": "2819", + "id": "2821", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(38,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99422,9 +99388,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99432,14 +99397,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99453,7 +99419,7 @@ } }, { - "id": "2820", + "id": "2822", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(39,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99461,9 +99427,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99471,14 +99436,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99492,7 +99458,7 @@ } }, { - "id": "2821", + "id": "2823", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(40,7): error TS2739: Type '{}' is missing the following properties from type '{ winCondition: (game: Game) => boolean; victoryFactoryMethod: (game: Game) => GameVictory; }': winCondition, victoryFactoryMethod\n", @@ -99500,9 +99466,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99510,14 +99475,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99531,7 +99497,7 @@ } }, { - "id": "2822", + "id": "2824", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99539,12 +99505,11 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99552,14 +99517,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99573,7 +99539,7 @@ } }, { - "id": "2823", + "id": "2825", "mutatorName": "OptionalChaining", "replacement": "victoryCondition.victoryFactoryMethod", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(43,12): error TS18048: 'victoryCondition' is possibly 'undefined'.\n", @@ -99581,9 +99547,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -99591,14 +99556,15 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", "802", "803", "804", - "805" + "805", + "806" ], "location": { "end": { @@ -99612,7 +99578,7 @@ } }, { - "id": "2824", + "id": "2826", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(45,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -99620,19 +99586,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99646,7 +99612,7 @@ } }, { - "id": "2825", + "id": "2827", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 38\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"abbdf61dbb99a36cb3eb3577\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"a046cfcba8b326a927b2d819\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Houston\",\n- \"position\": 403331266641920,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"7b8aab61fd1b9a6cc5cdce74\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Granville\",\n- \"position\": 4670994220318720,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"a046cfcba8b326a927b2d819\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Houston\",\n- \"position\": 403331266641920,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"7b8aab61fd1b9a6cc5cdce74\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Granville\",\n- \"position\": 4670994220318720,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"22381e86dd3b154d12f19fa6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Emily\",\n- \"position\": 5247897325010944,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"e5b4df6be5def962e1bdf58a\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Rodger\",\n- \"position\": 4023972626694144,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 3108046995718145,\n \"turn\": 2043690524606464,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -292,6 +169,43 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"werewolves\",\n+ \"winners\": Array [\n+ Object {\n+ \"_id\": \"a046cfcba8b326a927b2d819\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Houston\",\n+ \"position\": 403331266641920,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"e5b4df6be5def962e1bdf58a\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Rodger\",\n+ \"position\": 4023972626694144,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99654,22 +99620,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99683,7 +99649,7 @@ } }, { - "id": "2826", + "id": "2828", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99691,22 +99657,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99720,7 +99686,7 @@ } }, { - "id": "2827", + "id": "2829", "mutatorName": "LogicalOperator", "replacement": "werewolvesSidedPlayers.length > 0 || !game.players.some(({\n side,\n isAlive\n}) => side.current === RoleSides.VILLAGERS && isAlive)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 16\n\n GameVictory {\n- \"type\": \"villagers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n- \"_id\": \"1db7640acfdaeab81e22e1bb\",\n+ \"_id\": \"2c3de66ea32fa9dd9f89d74d\",\n \"attributes\": Array [],\n \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Betty\",\n- \"position\": 1365521989632000,\n+ \"isAlive\": false,\n+ \"name\": \"Bradly\",\n+ \"position\": 6942759623589888,\n \"role\": PlayerRole {\n- \"current\": \"villager\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"villager\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n- \"_id\": \"ca5cfb14e10db31ceeb10ace\",\n+ \"_id\": \"fae3ba355c7e94151cbd970c\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n- \"name\": \"Isidro\",\n- \"position\": 4146176708313088,\n+ \"name\": \"Dortha\",\n+ \"position\": 3242279275855872,\n \"role\": PlayerRole {\n- \"current\": \"seer\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n ],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:294:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99728,22 +99694,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "804" + "805" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99757,7 +99723,7 @@ } }, { - "id": "2828", + "id": "2830", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:356:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99765,22 +99731,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "806" + "807" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99794,7 +99760,7 @@ } }, { - "id": "2829", + "id": "2831", "mutatorName": "EqualityOperator", "replacement": "werewolvesSidedPlayers.length >= 0", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:356:61\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99802,22 +99768,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "806" + "807" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99831,7 +99797,7 @@ } }, { - "id": "2830", + "id": "2832", "mutatorName": "EqualityOperator", "replacement": "werewolvesSidedPlayers.length <= 0", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99839,22 +99805,22 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", "806", "807", "808", - "809" + "809", + "810" ], "location": { "end": { @@ -99868,7 +99834,7 @@ } }, { - "id": "2831", + "id": "2833", "mutatorName": "BooleanLiteral", "replacement": "game.players.some(({\n side,\n isAlive\n}) => side.current === RoleSides.VILLAGERS && isAlive)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 38\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"07d5ebd4209fa72ccb0e1bf8\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"e9aba363fe5ac204bffc4ef6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Jessika\",\n- \"position\": 5500504192843776,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"3ef2af41e6aacd0ee3203fad\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Greta\",\n- \"position\": 7963702177300480,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"e9aba363fe5ac204bffc4ef6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Jessika\",\n- \"position\": 5500504192843776,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"3ef2af41e6aacd0ee3203fad\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Greta\",\n- \"position\": 7963702177300480,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"ededacac124babe87ca666ac\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Maeve\",\n- \"position\": 1718605412564992,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"e4bed8f6cfbaf185bc86fb82\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Carson\",\n- \"position\": 4919419847311360,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 8524945386635265,\n \"turn\": 7730524206399488,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -292,6 +169,43 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"werewolves\",\n+ \"winners\": Array [\n+ Object {\n+ \"_id\": \"e9aba363fe5ac204bffc4ef6\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Jessika\",\n+ \"position\": 5500504192843776,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"e4bed8f6cfbaf185bc86fb82\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Carson\",\n+ \"position\": 4919419847311360,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99876,20 +99842,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -99903,7 +99869,7 @@ } }, { - "id": "2832", + "id": "2834", "mutatorName": "MethodExpression", "replacement": "game.players.every(({\n side,\n isAlive\n}) => side.current === RoleSides.VILLAGERS && isAlive)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 16\n\n GameVictory {\n- \"type\": \"villagers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n- \"_id\": \"869ae5eedabfeb514f9c81d2\",\n+ \"_id\": \"e282f55afae2b4adfbef5f9a\",\n \"attributes\": Array [],\n \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Maurine\",\n- \"position\": 1698706151702528,\n+ \"isAlive\": false,\n+ \"name\": \"Winfield\",\n+ \"position\": 6422567235616768,\n \"role\": PlayerRole {\n- \"current\": \"villager\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"villager\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n- \"_id\": \"e35acc4d5b840148b883afdf\",\n+ \"_id\": \"8befa4552aea0feae79d2dba\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n- \"name\": \"Richard\",\n- \"position\": 8245633125187584,\n+ \"name\": \"Jesus\",\n+ \"position\": 3311980760793088,\n \"role\": PlayerRole {\n- \"current\": \"seer\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n ],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:294:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -99911,20 +99877,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "804" + "805" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -99938,7 +99904,7 @@ } }, { - "id": "2833", + "id": "2835", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 38\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"c3e7db87f4ad4bb3a0fecadd\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"f4afb43fd8c13ee57ba08d2f\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Trinity\",\n- \"position\": 7990215029293056,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"b711c71865faed47ec6a4fcd\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Benjamin\",\n- \"position\": 4785575219429376,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"f4afb43fd8c13ee57ba08d2f\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Trinity\",\n- \"position\": 7990215029293056,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"b711c71865faed47ec6a4fcd\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Benjamin\",\n- \"position\": 4785575219429376,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"a6974ded875d005b590a88da\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Ezequiel\",\n- \"position\": 8156370838749184,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"c98dc4dea3efd564c15bbdcb\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Yasmine\",\n- \"position\": 463610459455488,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": true,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 8060553880666113,\n \"turn\": 6082077818617856,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -292,6 +169,43 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"werewolves\",\n+ \"winners\": Array [\n+ Object {\n+ \"_id\": \"f4afb43fd8c13ee57ba08d2f\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Trinity\",\n+ \"position\": 7990215029293056,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"c98dc4dea3efd564c15bbdcb\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Yasmine\",\n+ \"position\": 463610459455488,\n+ \"role\": Object {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n+ ],\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99946,20 +99912,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -99973,7 +99939,7 @@ } }, { - "id": "2834", + "id": "2836", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1182:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -99981,20 +99947,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "621" + "622" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -100008,7 +99974,7 @@ } }, { - "id": "2835", + "id": "2837", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 16\n\n GameVictory {\n- \"type\": \"villagers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n- \"_id\": \"47eee60395b7cf8ceafb8a71\",\n+ \"_id\": \"cfa7ac67021df91bbc06eb9b\",\n \"attributes\": Array [],\n \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Carissa\",\n- \"position\": 2036531801882624,\n+ \"isAlive\": false,\n+ \"name\": \"Green\",\n+ \"position\": 6837922181414912,\n \"role\": PlayerRole {\n- \"current\": \"villager\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"villager\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n Player {\n- \"_id\": \"4d418a6a4bceecad4eb54207\",\n+ \"_id\": \"7badebfbd1beca0b7f1e44de\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n- \"name\": \"Will\",\n- \"position\": 4178648928092160,\n+ \"name\": \"Ansley\",\n+ \"position\": 4724839952678912,\n \"role\": PlayerRole {\n- \"current\": \"seer\",\n+ \"current\": \"werewolf\",\n \"isRevealed\": false,\n- \"original\": \"seer\",\n+ \"original\": \"werewolf\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n },\n },\n ],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:294:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100016,20 +99982,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "804" + "805" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -100043,7 +100009,7 @@ } }, { - "id": "2836", + "id": "2838", "mutatorName": "LogicalOperator", "replacement": "side.current === RoleSides.VILLAGERS || isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100051,20 +100017,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -100078,7 +100044,7 @@ } }, { - "id": "2837", + "id": "2839", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -100086,20 +100052,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -100113,7 +100079,7 @@ } }, { - "id": "2838", + "id": "2840", "mutatorName": "EqualityOperator", "replacement": "side.current !== RoleSides.VILLAGERS", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:111:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100121,20 +100087,20 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "791" + "792" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "808", - "809" + "806", + "809", + "810" ], "location": { "end": { @@ -100148,7 +100114,7 @@ } }, { - "id": "2839", + "id": "2841", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(50,39): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -100156,15 +100122,15 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100178,7 +100144,7 @@ } }, { - "id": "2840", + "id": "2842", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -100186,18 +100152,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100211,7 +100177,7 @@ } }, { - "id": "2841", + "id": "2843", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100219,18 +100185,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100244,7 +100210,7 @@ } }, { - "id": "2842", + "id": "2844", "mutatorName": "LogicalOperator", "replacement": "villagersSidedPlayers.length > 0 || !game.players.some(({\n side,\n isAlive\n}) => side.current === RoleSides.WEREWOLVES && isAlive)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 38\n\n@@ -1,137 +1,14 @@\n Object {\n \"_id\": \"bb147bb56be1e5bff387309c\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"dcceb91ce7193c1bb39f5fc6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Malcolm\",\n- \"position\": 2144811610013696,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"d4ffeed462809c0ecacca8bf\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Hank\",\n- \"position\": 6684503032463360,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"dcceb91ce7193c1bb39f5fc6\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Malcolm\",\n- \"position\": 2144811610013696,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Object {\n- \"_id\": \"d4ffeed462809c0ecacca8bf\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Hank\",\n- \"position\": 6684503032463360,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"aabcbf7dccdc7be990a8574b\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Calista\",\n- \"position\": 6163127592812544,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"ba7b1e7dafc51e9bbbb630ee\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Domenick\",\n- \"position\": 7327696101048320,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n },\n },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n@@ -272,11 +149,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 6629479711506433,\n \"turn\": 2542725159190528,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -292,6 +169,43 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"villagers\",\n+ \"winners\": Array [\n+ Object {\n+ \"_id\": \"d4ffeed462809c0ecacca8bf\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Hank\",\n+ \"position\": 6684503032463360,\n+ \"role\": Object {\n+ \"current\": \"seer\",\n+ \"isRevealed\": false,\n+ \"original\": \"seer\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ Object {\n+ \"_id\": \"aabcbf7dccdc7be990a8574b\",\n+ \"attributes\": Array [],\n+ \"isAlive\": true,\n+ \"name\": \"Calista\",\n+ \"position\": 6163127592812544,\n+ \"role\": Object {\n+ \"current\": \"villager\",\n+ \"isRevealed\": false,\n+ \"original\": \"villager\",\n+ },\n+ \"side\": Object {\n+ \"current\": \"villagers\",\n+ \"original\": \"villagers\",\n+ },\n+ },\n+ ],\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1096:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -100252,18 +100218,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100277,7 +100243,7 @@ } }, { - "id": "2843", + "id": "2845", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:403:60)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100285,18 +100251,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "810" + "811" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100310,7 +100276,7 @@ } }, { - "id": "2844", + "id": "2846", "mutatorName": "EqualityOperator", "replacement": "villagersSidedPlayers.length >= 0", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:403:60)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100318,18 +100284,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "810" + "811" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100343,7 +100309,7 @@ } }, { - "id": "2845", + "id": "2847", "mutatorName": "EqualityOperator", "replacement": "villagersSidedPlayers.length <= 0", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100351,18 +100317,18 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "810", + "806", "811", "812", - "813" + "813", + "814" ], "location": { "end": { @@ -100376,7 +100342,7 @@ } }, { - "id": "2846", + "id": "2848", "mutatorName": "BooleanLiteral", "replacement": "game.players.some(({\n side,\n isAlive\n}) => side.current === RoleSides.WEREWOLVES && isAlive)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100384,16 +100350,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100407,7 +100373,7 @@ } }, { - "id": "2847", + "id": "2849", "mutatorName": "MethodExpression", "replacement": "game.players.every(({\n side,\n isAlive\n}) => side.current === RoleSides.WEREWOLVES && isAlive)", "statusReason": "Error: expect(received).toBeUndefined()\n\nReceived: {\"type\": \"villagers\", \"winners\": [{\"_id\": \"c0b77bcfbe3ba83dddeac22e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Katrine\", \"position\": 1425945965625344, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"villager\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"d1c51eb29be2494ef6b9df2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Maximillian\", \"position\": 1710288348905472, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:306:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100415,16 +100381,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "805" + "806" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100438,7 +100404,7 @@ } }, { - "id": "2848", + "id": "2850", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBeUndefined()\n\nReceived: {\"type\": \"villagers\", \"winners\": [{\"_id\": \"e3efe602dc1adf5adfbca3fb\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Reva\", \"position\": 1728077239418880, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"villager\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"b5f0cdcd3c0dee86cdbb8edc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ebony\", \"position\": 6682853588860928, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:306:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100446,16 +100412,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "805" + "806" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100469,7 +100435,7 @@ } }, { - "id": "2849", + "id": "2851", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100477,16 +100443,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100500,7 +100466,7 @@ } }, { - "id": "2850", + "id": "2852", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBeUndefined()\n\nReceived: {\"type\": \"villagers\", \"winners\": [{\"_id\": \"bbc1b80cdaf5f95eae4ab89f\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eula\", \"position\": 551156837253120, \"role\": {\"current\": \"villager\", \"isRevealed\": false, \"original\": \"villager\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"41aa37e7f3e6dcd0c708d36e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Selena\", \"position\": 6080086992224256, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:306:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100508,16 +100474,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "805" + "806" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100531,7 +100497,7 @@ } }, { - "id": "2851", + "id": "2853", "mutatorName": "LogicalOperator", "replacement": "side.current === RoleSides.WEREWOLVES || isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -100539,16 +100505,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100562,7 +100528,7 @@ } }, { - "id": "2852", + "id": "2854", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100570,16 +100536,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100593,7 +100559,7 @@ } }, { - "id": "2853", + "id": "2855", "mutatorName": "EqualityOperator", "replacement": "side.current !== RoleSides.WEREWOLVES", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:129:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100601,16 +100567,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "792" + "793" ], "coveredBy": [ - "620", "621", - "792", - "804", + "622", + "793", "805", - "812", - "813" + "806", + "813", + "814" ], "location": { "end": { @@ -100624,7 +100590,7 @@ } }, { - "id": "2854", + "id": "2856", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(56,36): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -100632,26 +100598,26 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100665,7 +100631,7 @@ } }, { - "id": "2855", + "id": "2857", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 20\n+ Received + 2\n\n GameVictory {\n- \"type\": \"pied-piper\",\n- \"winners\": Array [\n- Player {\n- \"_id\": \"776bd3e27cd2f3e27ed8ad0e\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Johanna\",\n- \"position\": 7473308213706752,\n- \"role\": PlayerRole {\n- \"current\": \"pied-piper\",\n- \"isRevealed\": false,\n- \"original\": \"pied-piper\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"villagers\",\n- },\n- },\n- ],\n+ \"type\": \"lovers\",\n+ \"winners\": Array [],\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:256:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100673,29 +100639,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "800" + "801" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100709,7 +100675,7 @@ } }, { - "id": "2856", + "id": "2858", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"e45ecdd2e6f4f0dff2abb62a\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100717,29 +100683,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100753,7 +100719,7 @@ } }, { - "id": "2857", + "id": "2859", "mutatorName": "LogicalOperator", "replacement": "lovers.length > 0 || game.players.every(player => {\n const isPlayerInLove = doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.IN_LOVE, game);\n return isPlayerInLove && player.isAlive || !isPlayerInLove && !player.isAlive;\n})", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100761,29 +100727,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "814" + "815" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100797,7 +100763,7 @@ } }, { - "id": "2858", + "id": "2860", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100805,29 +100771,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "814" + "815" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100841,7 +100807,7 @@ } }, { - "id": "2859", + "id": "2861", "mutatorName": "EqualityOperator", "replacement": "lovers.length >= 0", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100849,29 +100815,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "814" + "815" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100885,7 +100851,7 @@ } }, { - "id": "2860", + "id": "2862", "mutatorName": "EqualityOperator", "replacement": "lovers.length <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"acafcba9be46cd334c3bfa92\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100893,29 +100859,29 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "814", + "806", "815", "816", - "817" + "817", + "818" ], "location": { "end": { @@ -100929,7 +100895,7 @@ } }, { - "id": "2861", + "id": "2863", "mutatorName": "MethodExpression", "replacement": "game.players.some(player => {\n const isPlayerInLove = doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.IN_LOVE, game);\n return isPlayerInLove && player.isAlive || !isPlayerInLove && !player.isAlive;\n})", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100937,13 +100903,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "816" + "817" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -100957,7 +100923,7 @@ } }, { - "id": "2862", + "id": "2864", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"38cf43eec6bed7a6c38e8fbd\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100965,13 +100931,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -100985,7 +100951,7 @@ } }, { - "id": "2863", + "id": "2865", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -100993,13 +100959,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "816" + "817" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101013,7 +100979,7 @@ } }, { - "id": "2864", + "id": "2866", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"2f3e7eb9edc20c604c681dfc\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101021,13 +100987,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101041,7 +101007,7 @@ } }, { - "id": "2865", + "id": "2867", "mutatorName": "LogicalOperator", "replacement": "isPlayerInLove && player.isAlive && !isPlayerInLove && !player.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"737612afe51bd86825996bd3\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101049,13 +101015,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101069,7 +101035,7 @@ } }, { - "id": "2866", + "id": "2868", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"47fea9d936bfcddcdaed1c0d\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101077,13 +101043,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101097,7 +101063,7 @@ } }, { - "id": "2867", + "id": "2869", "mutatorName": "LogicalOperator", "replacement": "isPlayerInLove || player.isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101105,13 +101071,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "816" + "817" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101125,7 +101091,7 @@ } }, { - "id": "2868", + "id": "2870", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"7f1ddbf97b9bedaa23ad35be\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101133,13 +101099,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101153,7 +101119,7 @@ } }, { - "id": "2869", + "id": "2871", "mutatorName": "LogicalOperator", "replacement": "!isPlayerInLove || !player.isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:489:57\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101161,13 +101127,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "816" + "817" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101181,7 +101147,7 @@ } }, { - "id": "2870", + "id": "2872", "mutatorName": "BooleanLiteral", "replacement": "isPlayerInLove", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"51951cad5e8ca9c2775fecc1\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101189,13 +101155,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101209,7 +101175,7 @@ } }, { - "id": "2871", + "id": "2873", "mutatorName": "BooleanLiteral", "replacement": "player.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -1,7 +1,7 @@\n GameVictory {\n- \"type\": \"lovers\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n Player {\n \"_id\": \"4d4bd13bd6eac38c9a42b4b0\",\n \"attributes\": Array [\n PlayerAttribute {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101217,13 +101183,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "793", - "799", - "816", - "817" + "794", + "800", + "817", + "818" ], "location": { "end": { @@ -101237,7 +101203,7 @@ } }, { - "id": "2872", + "id": "2874", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(64,45): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -101245,23 +101211,23 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101275,7 +101241,7 @@ } }, { - "id": "2873", + "id": "2875", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 37\n+ Received + 2\n\n GameVictory {\n- \"type\": \"werewolves\",\n- \"winners\": Array [\n- Player {\n- \"_id\": \"c9df6cfacd03acdcd161b1ad\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Amie\",\n- \"position\": 2794944903249920,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n- \"_id\": \"f4ebc3b7a1d86a1e14ab594c\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"isAlive\": false,\n- \"name\": \"Margarita\",\n- \"position\": 3349073325195264,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n+ \"type\": \"white-werewolf\",\n+ \"winners\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101283,26 +101249,26 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "803" + "804" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101316,7 +101282,7 @@ } }, { - "id": "2874", + "id": "2876", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"67dab649003a7177ab1070ed\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Marty\",\n+ \"position\": 2005070744911872,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"5fc14cfd9894fa2dbc6427ab\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101324,26 +101290,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101357,7 +101323,7 @@ } }, { - "id": "2875", + "id": "2877", "mutatorName": "LogicalOperator", "replacement": "!!whiteWerewolfPlayer || game.players.every(({\n role,\n isAlive\n}) => role.current === RoleNames.WHITE_WEREWOLF && isAlive || role.current !== RoleNames.WHITE_WEREWOLF && !isAlive)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101365,26 +101331,26 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "818" + "819" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101398,7 +101364,7 @@ } }, { - "id": "2876", + "id": "2878", "mutatorName": "BooleanLiteral", "replacement": "!whiteWerewolfPlayer", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"4da5faefc0f5e4b3bab11efb\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Ewell\",\n+ \"position\": 3187822081081344,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"bbdbe41e9bdc9ac9ad089f81\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101406,26 +101372,26 @@ "testsCompleted": 17, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101439,7 +101405,7 @@ } }, { - "id": "2877", + "id": "2879", "mutatorName": "BooleanLiteral", "replacement": "whiteWerewolfPlayer", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -101447,26 +101413,26 @@ "testsCompleted": 16, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", - "801", + "793", + "795", "802", "803", "804", "805", - "818", + "806", "819", "820", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101480,7 +101446,7 @@ } }, { - "id": "2878", + "id": "2880", "mutatorName": "MethodExpression", "replacement": "game.players.some(({\n role,\n isAlive\n}) => role.current === RoleNames.WHITE_WEREWOLF && isAlive || role.current !== RoleNames.WHITE_WEREWOLF && !isAlive)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101488,14 +101454,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "820" + "821" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101509,7 +101475,7 @@ } }, { - "id": "2879", + "id": "2881", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"bff4001dd0d821f41e77fb6b\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Nova\",\n+ \"position\": 7230999440130048,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"a47789bf5c268c17a1b2ba64\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101517,14 +101483,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101538,7 +101504,7 @@ } }, { - "id": "2880", + "id": "2882", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101546,14 +101512,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "820" + "821" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101567,7 +101533,7 @@ } }, { - "id": "2881", + "id": "2883", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"34fb12fd1033fce0def6f4e8\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"William\",\n+ \"position\": 6184360331968512,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"ef4aade37a5586faf54bf33a\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101575,14 +101541,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101596,7 +101562,7 @@ } }, { - "id": "2882", + "id": "2884", "mutatorName": "LogicalOperator", "replacement": "role.current === RoleNames.WHITE_WEREWOLF && isAlive && role.current !== RoleNames.WHITE_WEREWOLF && !isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"ffd26813ade855c7c3dfc507\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Abdullah\",\n+ \"position\": 8342940388687872,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"8aa297ffbaebdf0ec032d4b0\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101604,14 +101570,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101625,7 +101591,7 @@ } }, { - "id": "2883", + "id": "2885", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"b59d53631ca6f031eca9d2dd\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Maudie\",\n+ \"position\": 6733662548656128,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"b7f2fd5af9e0ef0e53fa8700\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101633,14 +101599,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101654,7 +101620,7 @@ } }, { - "id": "2884", + "id": "2886", "mutatorName": "LogicalOperator", "replacement": "role.current === RoleNames.WHITE_WEREWOLF || isAlive", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(67,63): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.WEREWOLF | RoleNames.BIG_BAD_WOLF | RoleNames.ACCURSED_WOLF_FATHER | RoleNames.VILLAGER | RoleNames.VILLAGER_VILLAGER | RoleNames.SEER | RoleNames.CUPID | RoleNames.WITCH | ... 18 more ... | RoleNames.PREJUDICED_MANIPULATOR' and 'RoleNames.WHITE_WEREWOLF' have no overlap.\n", @@ -101662,11 +101628,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101680,7 +101646,7 @@ } }, { - "id": "2885", + "id": "2887", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101688,14 +101654,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "820" + "821" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101709,7 +101675,7 @@ } }, { - "id": "2886", + "id": "2888", "mutatorName": "EqualityOperator", "replacement": "role.current !== RoleNames.WHITE_WEREWOLF", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"b413e3a433f5cabc9acbbba2\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Johanna\",\n+ \"position\": 6272435328385024,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"84643c2d6a1c951a2f5f80e7\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101717,14 +101683,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101738,7 +101704,7 @@ } }, { - "id": "2887", + "id": "2889", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"5d82ea73dbc8ab6b1d9c8bf6\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Colleen\",\n+ \"position\": 577531392557056,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"14ffbbfab65a268d8b60e27f\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101746,14 +101712,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101767,7 +101733,7 @@ } }, { - "id": "2888", + "id": "2890", "mutatorName": "LogicalOperator", "replacement": "role.current !== RoleNames.WHITE_WEREWOLF || !isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101775,14 +101741,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "820" + "821" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101796,7 +101762,7 @@ } }, { - "id": "2889", + "id": "2891", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:548:66\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101804,14 +101770,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "821" + "822" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101825,7 +101791,7 @@ } }, { - "id": "2890", + "id": "2892", "mutatorName": "EqualityOperator", "replacement": "role.current === RoleNames.WHITE_WEREWOLF", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"dfc1aefdef2c3f5292c6de4b\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Mozell\",\n+ \"position\": 2313637104451584,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"aacfaeff7c3185d39c91705e\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101833,14 +101799,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101854,7 +101820,7 @@ } }, { - "id": "2891", + "id": "2893", "mutatorName": "BooleanLiteral", "replacement": "isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 19\n\n@@ -1,8 +1,26 @@\n GameVictory {\n- \"type\": \"white-werewolf\",\n+ \"type\": \"werewolves\",\n \"winners\": Array [\n+ Player {\n+ \"_id\": \"a71cb2c8dcb7ca0a5ab1c3bb\",\n+ \"attributes\": Array [],\n+ \"death\": undefined,\n+ \"group\": undefined,\n+ \"isAlive\": false,\n+ \"name\": \"Dereck\",\n+ \"position\": 5070819206103040,\n+ \"role\": PlayerRole {\n+ \"current\": \"werewolf\",\n+ \"isRevealed\": false,\n+ \"original\": \"werewolf\",\n+ },\n+ \"side\": PlayerSide {\n+ \"current\": \"werewolves\",\n+ \"original\": \"werewolves\",\n+ },\n+ },\n Player {\n \"_id\": \"bd7cae0c7ffda1c37eebef44\",\n \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:268:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101862,14 +101828,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "801" + "802" ], "coveredBy": [ - "794", - "801", - "820", + "795", + "802", "821", - "822" + "822", + "823" ], "location": { "end": { @@ -101883,7 +101849,7 @@ } }, { - "id": "2892", + "id": "2894", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(70,41): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -101891,28 +101857,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -101926,7 +101892,7 @@ } }, { - "id": "2893", + "id": "2895", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 124\n+ Received + 4\n\n@@ -1,139 +1,16 @@\n Object {\n \"_id\": \"8e59f5fe051c8adf827bdaaa\",\n \"createdAt\": Any,\n \"currentPlay\": Object {\n \"action\": \"vote\",\n- \"canBeSkipped\": false,\n \"cause\": \"previous-votes-were-in-ties\",\n- \"eligibleTargets\": Object {\n- \"boundaries\": Object {\n- \"max\": 4,\n- \"min\": 1,\n- },\n- \"interactablePlayers\": Array [\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"fa22a90fcdc62eb24eef28aa\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Griffin\",\n- \"position\": 8596562454249472,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- },\n- Object {\n- \"interactions\": Array [\n- Object {\n- \"source\": \"survivors\",\n- \"type\": \"vote\",\n- },\n- ],\n- \"player\": Object {\n- \"_id\": \"bc3c3acc5c4efbab0c11a4fa\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Wava\",\n- \"position\": 2017808718233600,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- },\n- ],\n- },\n \"occurrence\": \"consequential\",\n \"source\": Object {\n \"name\": \"survivors\",\n- \"players\": Array [\n- Object {\n- \"_id\": \"fa22a90fcdc62eb24eef28aa\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Griffin\",\n- \"position\": 8596562454249472,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n },\n },\n- Object {\n- \"_id\": \"bc3c3acc5c4efbab0c11a4fa\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Wava\",\n- \"position\": 2017808718233600,\n- \"role\": Object {\n- \"current\": \"seer\",\n- \"isRevealed\": false,\n- \"original\": \"seer\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"db63f2023d030e8d84da0fcf\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Piper\",\n- \"position\": 2358159358296064,\n- \"role\": Object {\n- \"current\": \"villager\",\n- \"isRevealed\": false,\n- \"original\": \"villager\",\n- },\n- \"side\": Object {\n- \"current\": \"villagers\",\n- \"original\": \"villagers\",\n- },\n- },\n- Object {\n- \"_id\": \"42ead4e9c866cadcb676e9cb\",\n- \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Leopoldo\",\n- \"position\": 1828631603052544,\n- \"role\": Object {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": Object {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n- },\n- },\n \"options\": Object {\n \"composition\": Object {\n \"isHidden\": false,\n },\n \"roles\": Object {\n@@ -276,11 +153,11 @@\n \"current\": \"werewolves\",\n \"original\": \"werewolves\",\n },\n },\n ],\n- \"status\": \"playing\",\n+ \"status\": \"over\",\n \"tick\": 1679847755612161,\n \"turn\": 1205261763084288,\n \"upcomingPlays\": Array [\n Object {\n \"action\": \"look\",\n@@ -296,6 +173,9 @@\n \"name\": \"werewolves\",\n },\n },\n ],\n \"updatedAt\": Any,\n+ \"victory\": Object {\n+ \"type\": \"pied-piper\",\n+ },\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1172:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -101934,31 +101900,31 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -101972,7 +101938,7 @@ } }, { - "id": "2894", + "id": "2896", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:180:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -101980,31 +101946,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102018,7 +101984,7 @@ } }, { - "id": "2895", + "id": "2897", "mutatorName": "LogicalOperator", "replacement": "!!piedPiperPlayer && isPlayerAliveAndPowerful(piedPiperPlayer, game) && !leftToCharmPlayers.length || !isPowerlessIfInfected || piedPiperPlayer.side.current === RoleSides.VILLAGERS", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(74,140): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102026,28 +101992,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102061,7 +102027,7 @@ } }, { - "id": "2896", + "id": "2898", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102069,28 +102035,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102104,7 +102070,7 @@ } }, { - "id": "2897", + "id": "2899", "mutatorName": "LogicalOperator", "replacement": "!!piedPiperPlayer && isPlayerAliveAndPowerful(piedPiperPlayer, game) || !leftToCharmPlayers.length", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102112,28 +102078,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102147,7 +102113,7 @@ } }, { - "id": "2898", + "id": "2900", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102155,28 +102121,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102190,7 +102156,7 @@ } }, { - "id": "2899", + "id": "2901", "mutatorName": "LogicalOperator", "replacement": "!!piedPiperPlayer || isPlayerAliveAndPowerful(piedPiperPlayer, game)", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(74,58): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102198,28 +102164,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102233,7 +102199,7 @@ } }, { - "id": "2900", + "id": "2902", "mutatorName": "BooleanLiteral", "replacement": "!piedPiperPlayer", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(74,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102241,28 +102207,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102276,7 +102242,7 @@ } }, { - "id": "2901", + "id": "2903", "mutatorName": "BooleanLiteral", "replacement": "piedPiperPlayer", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(74,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(75,34): error TS18048: 'piedPiperPlayer' is possibly 'undefined'.\n", @@ -102284,28 +102250,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "794", + "793", "795", - "800", + "796", "801", "802", "803", "804", "805", - "823", + "806", "824", "825", "826", "827", "828", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102319,7 +102285,7 @@ } }, { - "id": "2902", + "id": "2904", "mutatorName": "BooleanLiteral", "replacement": "leftToCharmPlayers.length", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(73,5): error TS2322: Type 'number | boolean' is not assignable to type 'boolean'.\n Type 'number' is not assignable to type 'boolean'.\n", @@ -102327,11 +102293,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "795", - "800", - "828", + "796", + "801", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102345,7 +102311,7 @@ } }, { - "id": "2903", + "id": "2905", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:649:62\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102353,14 +102319,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "828" + "829" ], "coveredBy": [ - "795", - "800", - "828", + "796", + "801", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102374,7 +102340,7 @@ } }, { - "id": "2904", + "id": "2906", "mutatorName": "LogicalOperator", "replacement": "!isPowerlessIfInfected && piedPiperPlayer.side.current === RoleSides.VILLAGERS", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:180:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102382,14 +102348,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "795", - "800", - "828", + "796", + "801", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102403,7 +102369,7 @@ } }, { - "id": "2905", + "id": "2907", "mutatorName": "BooleanLiteral", "replacement": "isPowerlessIfInfected", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:180:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102411,14 +102377,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "795" + "796" ], "coveredBy": [ - "795", - "800", - "828", + "796", + "801", "829", - "830" + "830", + "831" ], "location": { "end": { @@ -102432,7 +102398,7 @@ } }, { - "id": "2906", + "id": "2908", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:649:62\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102440,11 +102406,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "830" + "831" ], "coveredBy": [ - "828", - "830" + "829", + "831" ], "location": { "end": { @@ -102458,7 +102424,7 @@ } }, { - "id": "2907", + "id": "2909", "mutatorName": "EqualityOperator", "replacement": "piedPiperPlayer.side.current !== RoleSides.VILLAGERS", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:649:62\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102466,11 +102432,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "828" + "829" ], "coveredBy": [ - "828", - "830" + "829", + "831" ], "location": { "end": { @@ -102484,7 +102450,7 @@ } }, { - "id": "2908", + "id": "2910", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(78,37): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -102492,9 +102458,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102502,7 +102467,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102510,7 +102475,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102520,7 +102485,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102534,7 +102500,7 @@ } }, { - "id": "2909", + "id": "2911", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102542,9 +102508,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102552,7 +102517,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102560,7 +102525,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102570,7 +102535,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102584,7 +102550,7 @@ } }, { - "id": "2910", + "id": "2912", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102592,9 +102558,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102602,7 +102567,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102610,7 +102575,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102620,7 +102585,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102634,7 +102600,7 @@ } }, { - "id": "2911", + "id": "2913", "mutatorName": "LogicalOperator", "replacement": "(!angelPlayer?.death || angelPlayer.isAlive || !isPlayerPowerful(angelPlayer, game)) && turn > 1", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102642,9 +102608,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102652,7 +102617,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102660,7 +102625,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102670,7 +102635,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102684,7 +102650,7 @@ } }, { - "id": "2912", + "id": "2914", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102692,9 +102658,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102702,7 +102667,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102710,7 +102675,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102720,7 +102685,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102734,7 +102700,7 @@ } }, { - "id": "2913", + "id": "2915", "mutatorName": "LogicalOperator", "replacement": "(!angelPlayer?.death || angelPlayer.isAlive) && !isPlayerPowerful(angelPlayer, game)", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(81,75): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102742,9 +102708,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102752,7 +102717,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102760,7 +102725,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102770,7 +102735,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102784,7 +102750,7 @@ } }, { - "id": "2914", + "id": "2916", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(81,36): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102792,9 +102758,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102802,7 +102767,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102810,7 +102775,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102820,7 +102785,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102834,7 +102800,7 @@ } }, { - "id": "2915", + "id": "2917", "mutatorName": "LogicalOperator", "replacement": "!angelPlayer?.death && angelPlayer.isAlive", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(81,32): error TS18048: 'angelPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(81,73): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102842,9 +102808,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102852,7 +102817,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102860,7 +102825,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102870,7 +102835,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102884,7 +102850,7 @@ } }, { - "id": "2916", + "id": "2918", "mutatorName": "BooleanLiteral", "replacement": "angelPlayer?.death", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(81,31): error TS18048: 'angelPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(81,72): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102892,9 +102858,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102902,7 +102867,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102910,7 +102875,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102920,7 +102885,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102934,7 +102900,7 @@ } }, { - "id": "2917", + "id": "2919", "mutatorName": "OptionalChaining", "replacement": "angelPlayer.death", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(81,10): error TS18048: 'angelPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(81,31): error TS18048: 'angelPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(81,72): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(84,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -102942,9 +102908,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", @@ -102952,7 +102917,7 @@ "794", "795", "796", - "798", + "797", "799", "800", "801", @@ -102960,7 +102925,7 @@ "803", "804", "805", - "831", + "806", "832", "833", "834", @@ -102970,7 +102935,8 @@ "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -102984,7 +102950,7 @@ } }, { - "id": "2918", + "id": "2920", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(angelPlayer, game)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -102992,17 +102958,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "836", + "797", + "799", "837", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103016,7 +102982,7 @@ } }, { - "id": "2919", + "id": "2921", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103024,17 +102990,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "836" + "837" ], "coveredBy": [ - "796", - "798", - "836", + "797", + "799", "837", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103048,7 +103014,7 @@ } }, { - "id": "2920", + "id": "2922", "mutatorName": "EqualityOperator", "replacement": "turn >= 1", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103056,17 +103022,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "836", + "797", + "799", "837", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103080,7 +103046,7 @@ } }, { - "id": "2921", + "id": "2923", "mutatorName": "EqualityOperator", "replacement": "turn <= 1", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103088,17 +103054,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "836", + "797", + "799", "837", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103112,7 +103078,7 @@ } }, { - "id": "2922", + "id": "2924", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(82,13): error TS2339: Property 'cause' does not exist on type 'PlayerDeath | undefined'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(82,35): error TS18048: 'angelPlayer' is possibly 'undefined'.\n", @@ -103120,28 +103086,28 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "831", + "806", "832", "833", "834", "835", - "836" + "836", + "837" ], "location": { "end": { @@ -103155,7 +103121,7 @@ } }, { - "id": "2923", + "id": "2925", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 53\n+ Received + 2\n\n GameVictory {\n- \"type\": \"lovers\",\n- \"winners\": Array [\n- Player {\n- \"_id\": \"df282bcc7c7929d5f6bad7ec\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"in-love\",\n- \"remainingPhases\": undefined,\n- \"source\": \"cupid\",\n- },\n- ],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Domenica\",\n- \"position\": 3480493328695296,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n- \"_id\": \"d45aafec082a8ec27e2e8cc7\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"in-love\",\n- \"remainingPhases\": undefined,\n- \"source\": \"cupid\",\n- },\n- ],\n- \"death\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Deven\",\n- \"position\": 8321528525488128,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n+ \"type\": \"angel\",\n+ \"winners\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:242:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103163,31 +103129,31 @@ "testsCompleted": 21, "static": false, "killedBy": [ - "799" + "800" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", "793", "794", "795", - "799", + "796", "800", "801", "802", "803", "804", "805", - "831", + "806", "832", "833", "834", "835", - "836" + "836", + "837" ], "location": { "end": { @@ -103201,7 +103167,7 @@ } }, { - "id": "2924", + "id": "2926", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103209,16 +103175,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "837" + "838" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103232,7 +103198,7 @@ } }, { - "id": "2925", + "id": "2927", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103240,16 +103206,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103263,7 +103229,7 @@ } }, { - "id": "2926", + "id": "2928", "mutatorName": "LogicalOperator", "replacement": "deathCause === PlayerDeathCauses.EATEN && deathCause === PlayerDeathCauses.VOTE && phase === GamePhases.NIGHT", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(85,54): error TS2367: This comparison appears to be unintentional because the types 'PlayerDeathCauses.EATEN' and 'PlayerDeathCauses.VOTE' have no overlap.\n", @@ -103271,13 +103237,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103291,7 +103257,7 @@ } }, { - "id": "2927", + "id": "2929", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103299,16 +103265,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "840" + "841" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103322,7 +103288,7 @@ } }, { - "id": "2928", + "id": "2930", "mutatorName": "EqualityOperator", "replacement": "deathCause !== PlayerDeathCauses.EATEN", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(85,54): error TS2367: This comparison appears to be unintentional because the types 'PlayerDeathCauses.EATEN' and 'PlayerDeathCauses.VOTE' have no overlap.\n", @@ -103330,13 +103296,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", "840", - "841" + "841", + "842" ], "location": { "end": { @@ -103350,7 +103316,7 @@ } }, { - "id": "2929", + "id": "2931", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103358,15 +103324,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", - "841" + "840", + "842" ], "location": { "end": { @@ -103380,7 +103346,7 @@ } }, { - "id": "2930", + "id": "2932", "mutatorName": "LogicalOperator", "replacement": "deathCause === PlayerDeathCauses.VOTE || phase === GamePhases.NIGHT", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103388,15 +103354,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "838" + "839" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", - "841" + "840", + "842" ], "location": { "end": { @@ -103410,7 +103376,7 @@ } }, { - "id": "2931", + "id": "2933", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103418,15 +103384,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "837" + "838" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", - "841" + "840", + "842" ], "location": { "end": { @@ -103440,7 +103406,7 @@ } }, { - "id": "2932", + "id": "2934", "mutatorName": "EqualityOperator", "replacement": "deathCause !== PlayerDeathCauses.VOTE", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103448,15 +103414,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "837", + "797", + "799", "838", "839", - "841" + "840", + "842" ], "location": { "end": { @@ -103470,7 +103436,7 @@ } }, { - "id": "2933", + "id": "2935", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:806:58\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103478,13 +103444,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "839" + "840" ], "coveredBy": [ - "796", - "798", - "839", - "841" + "797", + "799", + "840", + "842" ], "location": { "end": { @@ -103498,7 +103464,7 @@ } }, { - "id": "2934", + "id": "2936", "mutatorName": "EqualityOperator", "replacement": "phase !== GamePhases.NIGHT", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:198:53)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103506,13 +103472,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "796" + "797" ], "coveredBy": [ - "796", - "798", - "839", - "841" + "797", + "799", + "840", + "842" ], "location": { "end": { @@ -103526,7 +103492,7 @@ } }, { - "id": "2935", + "id": "2937", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(88,53): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -103534,22 +103500,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "802", + "793", "803", "804", "805", - "842", + "806", "843", "844", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103563,7 +103529,7 @@ } }, { - "id": "2936", + "id": "2938", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(93,97): error TS18048: 'prejudicedManipulatorPlayer' is possibly 'undefined'.\n", @@ -103571,22 +103537,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "802", + "793", "803", "804", "805", - "842", + "806", "843", "844", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103600,7 +103566,7 @@ } }, { - "id": "2937", + "id": "2939", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(93,97): error TS18048: 'prejudicedManipulatorPlayer' is possibly 'undefined'.\n", @@ -103608,22 +103574,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "802", + "793", "803", "804", "805", - "842", + "806", "843", "844", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103637,7 +103603,7 @@ } }, { - "id": "2938", + "id": "2940", "mutatorName": "LogicalOperator", "replacement": "!prejudicedManipulatorPlayer && !isPlayerAliveAndPowerful(prejudicedManipulatorPlayer, game)", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(90,67): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(93,97): error TS18048: 'prejudicedManipulatorPlayer' is possibly 'undefined'.\n", @@ -103645,22 +103611,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "802", + "793", "803", "804", "805", - "842", + "806", "843", "844", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103674,7 +103640,7 @@ } }, { - "id": "2939", + "id": "2941", "mutatorName": "BooleanLiteral", "replacement": "prejudicedManipulatorPlayer", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(90,66): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/game-victory/game-victory.service.ts(93,97): error TS18048: 'prejudicedManipulatorPlayer' is possibly 'undefined'.\n", @@ -103682,22 +103648,22 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "802", + "793", "803", "804", "805", - "842", + "806", "843", "844", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103711,7 +103677,7 @@ } }, { - "id": "2940", + "id": "2942", "mutatorName": "BooleanLiteral", "replacement": "isPlayerAliveAndPowerful(prejudicedManipulatorPlayer, game)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"aab13f5ddeabdf1dc66b6379\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Mark\", \"position\": 8672096014041088, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103719,14 +103685,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "844", + "803", "845", "846", - "847" + "847", + "848" ], "location": { "end": { @@ -103740,7 +103706,7 @@ } }, { - "id": "2941", + "id": "2943", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game-victory/game-victory.service.ts(91,97): error TS18048: 'prejudicedManipulatorPlayer' is possibly 'undefined'.\n", @@ -103748,19 +103714,19 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "842", + "806", "843", "844", - "845" + "845", + "846" ], "location": { "end": { @@ -103774,7 +103740,7 @@ } }, { - "id": "2942", + "id": "2944", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 39\n+ Received + 2\n\n GameVictory {\n- \"type\": \"werewolves\",\n- \"winners\": Array [\n- Player {\n- \"_id\": \"92c3be7ade02e5cba3f4eec0\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"group\": undefined,\n- \"isAlive\": true,\n- \"name\": \"Zack\",\n- \"position\": 4117447315554304,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- Player {\n- \"_id\": \"e4c5d899287796fcd4b5f62f\",\n- \"attributes\": Array [],\n- \"death\": undefined,\n- \"group\": undefined,\n- \"isAlive\": false,\n- \"name\": \"Felipe\",\n- \"position\": 3353096912633856,\n- \"role\": PlayerRole {\n- \"current\": \"werewolf\",\n- \"isRevealed\": false,\n- \"original\": \"werewolf\",\n- },\n- \"side\": PlayerSide {\n- \"current\": \"werewolves\",\n- \"original\": \"werewolves\",\n- },\n- },\n- ],\n+ \"type\": \"prejudiced-manipulator\",\n+ \"winners\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:294:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103782,22 +103748,22 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "803" + "804" ], "coveredBy": [ - "620", "621", - "789", + "622", "790", "791", "792", - "803", + "793", "804", "805", - "842", + "806", "843", "844", - "845" + "845", + "846" ], "location": { "end": { @@ -103811,7 +103777,7 @@ } }, { - "id": "2943", + "id": "2945", "mutatorName": "MethodExpression", "replacement": "game.players", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"8f4640d3d3f23be9faf24ec6\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Arthur\", \"position\": 4611056030711808, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103819,12 +103785,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103838,7 +103804,7 @@ } }, { - "id": "2944", + "id": "2946", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:882:74\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103846,12 +103812,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "846" + "847" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103865,7 +103831,7 @@ } }, { - "id": "2945", + "id": "2947", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"dc1d2c5154a7bbeb9f9f018d\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Ibrahim\", \"position\": 73469677010944, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103873,12 +103839,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103892,7 +103858,7 @@ } }, { - "id": "2946", + "id": "2948", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:882:74\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103900,12 +103866,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "846" + "847" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103919,7 +103885,7 @@ } }, { - "id": "2947", + "id": "2949", "mutatorName": "EqualityOperator", "replacement": "group === prejudicedManipulatorPlayer.group", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"7844b373a968de37b7d244cc\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Hilbert\", \"position\": 4984831647678464, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103927,12 +103893,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103946,7 +103912,7 @@ } }, { - "id": "2948", + "id": "2950", "mutatorName": "MethodExpression", "replacement": "playersNotInPrejudicedManipulatorGroup.some(({\n isAlive\n}) => !isAlive)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:882:74\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103954,12 +103920,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "846" + "847" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -103973,7 +103939,7 @@ } }, { - "id": "2949", + "id": "2951", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"96f6f8a59252d5a77bdb9bcf\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Iliana\", \"position\": 587403114840064, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -103981,12 +103947,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -104000,7 +103966,7 @@ } }, { - "id": "2950", + "id": "2952", "mutatorName": "BooleanLiteral", "replacement": "isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"type\": \"prejudiced-manipulator\", \"winners\": [{\"_id\": \"181efab118df803af5fbcd1d\", \"attributes\": [], \"death\": undefined, \"group\": \"boy\", \"isAlive\": true, \"name\": \"Kaleb\", \"position\": 3494382357446656, \"role\": {\"current\": \"prejudiced-manipulator\", \"isRevealed\": false, \"original\": \"prejudiced-manipulator\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}]}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts:281:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104008,12 +103974,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "802" + "803" ], "coveredBy": [ - "802", - "846", - "847" + "803", + "847", + "848" ], "location": { "end": { @@ -104033,7 +103999,7 @@ "language": "typescript", "mutants": [ { - "id": "2951", + "id": "2953", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(41,28): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -104041,9 +104007,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "566", "567", - "848" + "568", + "849" ], "location": { "end": { @@ -104057,35 +104023,7 @@ } }, { - "id": "2952", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(45,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "608", - "609", - "610", - "849", - "850", - "851", - "852" - ], - "location": { - "end": { - "column": 4, - "line": 60 - }, - "start": { - "column": 63, - "line": 45 - } - } - }, - { - "id": "2953", + "id": "2955", "mutatorName": "BooleanLiteral", "replacement": "upcomingPlays.length", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104093,16 +104031,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "608", "609", "610", - "849", + "611", "850", "851", - "852" + "852", + "853" ], "location": { "end": { @@ -104116,7 +104054,7 @@ } }, { - "id": "2954", + "id": "2956", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104124,16 +104062,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "608", "609", "610", - "849", + "611", "850", "851", - "852" + "852", + "853" ], "location": { "end": { @@ -104147,7 +104085,7 @@ } }, { - "id": "2955", + "id": "2957", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"6dda9de5f13df0feedebf6e9\", \"createdAt\": 2023-11-26T03:45:47.433Z, \"currentPlay\": {\"action\": \"sniff\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"villager\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3974679400284160}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 2235310010269696, \"turn\": 3141344956514304, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T09:03:22.606Z}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104155,16 +104093,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "849" + "850" ], "coveredBy": [ - "608", "609", "610", - "849", + "611", "850", "851", - "852" + "852", + "853" ], "location": { "end": { @@ -104178,7 +104116,7 @@ } }, { - "id": "2956", + "id": "2958", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"d201e18f18d7ccccaa98bd6d\", \"createdAt\": 2023-11-26T01:37:35.397Z, \"currentPlay\": {\"action\": \"eat\", \"canBeSkipped\": undefined, \"cause\": undefined, \"eligibleTargets\": undefined, \"occurrence\": \"first-night-only\", \"source\": {\"name\": \"vile-father-of-wolves\", \"players\": undefined}}, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8306316533563392}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"canceled\", \"tick\": 7509792350273536, \"turn\": 2021738583949312, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T22:37:26.567Z}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:189:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104186,10 +104124,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "849" + "850" ], "coveredBy": [ - "849" + "850" ], "location": { "end": { @@ -104203,7 +104141,7 @@ } }, { - "id": "2957", + "id": "2959", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Unexpected exception in createGame\"\nReceived message: \"Unexpected exception in \"\n\n 91 | } else {\n 92 | stryCov_9fa48(\"3261\");\n > 93 | return new UnexpectedException(scope, UnexpectedExceptionReasons.CANT_GENERATE_GAME_PLAYS);\n | ^\n 94 | }\n 95 | }\n 96 | function createNoCurrentGamePlayUnexpectedException(scope: string, interpolations: {\n\n at createCantGenerateGamePlaysUnexpectedException (src/shared/exception/helpers/unexpected-exception.factory.ts:93:12)\n at GameService.createGame (src/modules/game/providers/services/game.service.ts:94:63)\n at async Object. (tests/unit/specs/modules/game/providers/services/game.service.spec.ts:189:7)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:189:68)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104211,10 +104149,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "849" + "850" ], "coveredBy": [ - "849" + "850" ], "location": { "end": { @@ -104228,7 +104166,7 @@ } }, { - "id": "2958", + "id": "2960", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 201\nReceived: 500\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:668:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104236,15 +104174,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "608" + "609" ], "coveredBy": [ - "608", "609", "610", - "850", + "611", "851", - "852" + "852", + "853" ], "location": { "end": { @@ -104258,7 +104196,7 @@ } }, { - "id": "2959", + "id": "2961", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(62,40): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -104266,10 +104204,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "613", "614", - "853", - "854" + "615", + "854", + "855" ], "location": { "end": { @@ -104283,7 +104221,7 @@ } }, { - "id": "2960", + "id": "2962", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -87,11 +87,11 @@\n \"canBeSkipped\": true,\n },\n },\n \"phase\": \"day\",\n \"players\": Array [],\n- \"status\": \"canceled\",\n+ \"status\": \"playing\",\n \"tick\": 7956256654360576,\n \"turn\": 6916359747272704,\n \"upcomingPlays\": Array [],\n \"updatedAt\": Any,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:894:37)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104291,11 +104229,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "614" + "615" ], "coveredBy": [ - "614", - "854" + "615", + "855" ], "location": { "end": { @@ -104309,7 +104247,7 @@ } }, { - "id": "2961", + "id": "2963", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(67,76): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -104317,11 +104255,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "618", "619", "620", "621", - "855", + "622", "856", "857", "858", @@ -104332,7 +104269,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104346,7 +104284,7 @@ } }, { - "id": "2962", + "id": "2964", "mutatorName": "UpdateOperator", "replacement": "clonedGame.tick--", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104354,12 +104292,11 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "856", + "622", "857", "858", "859", @@ -104369,7 +104306,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104383,7 +104321,7 @@ } }, { - "id": "2963", + "id": "2965", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1095:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -104391,12 +104329,11 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "620" + "621" ], "coveredBy": [ - "620", "621", - "856", + "622", "857", "858", "859", @@ -104406,7 +104343,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104420,7 +104358,7 @@ } }, { - "id": "2964", + "id": "2966", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:311:59)", @@ -104428,12 +104366,11 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "860" + "861" ], "coveredBy": [ - "620", "621", - "856", + "622", "857", "858", "859", @@ -104443,7 +104380,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104457,7 +104395,7 @@ } }, { - "id": "2965", + "id": "2967", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:311:59)", @@ -104465,10 +104403,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "860" + "861" ], "coveredBy": [ - "860" + "861" ], "location": { "end": { @@ -104482,7 +104420,7 @@ } }, { - "id": "2966", + "id": "2968", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:356:60)", @@ -104490,12 +104428,11 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "865" + "866" ], "coveredBy": [ - "620", "621", - "856", + "622", "857", "858", "859", @@ -104505,7 +104442,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104519,7 +104457,7 @@ } }, { - "id": "2967", + "id": "2969", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:349:47)", @@ -104527,12 +104465,11 @@ "testsCompleted": 13, "static": false, "killedBy": [ - "864" + "865" ], "coveredBy": [ - "620", "621", - "856", + "622", "857", "858", "859", @@ -104542,7 +104479,8 @@ "863", "864", "865", - "866" + "866", + "867" ], "location": { "end": { @@ -104556,7 +104494,7 @@ } }, { - "id": "2968", + "id": "2970", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:349:47)", @@ -104564,11 +104502,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "864" + "865" ], "coveredBy": [ - "864", - "866" + "865", + "867" ], "location": { "end": { @@ -104582,7 +104520,7 @@ } }, { - "id": "2969", + "id": "2971", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"c2ff912d929bcb3d3a4640b8\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T19:48:22.582Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2144949101395968}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 3269741447741440, \"turn\": 5790764120408064, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T19:32:52.615Z, \"victory\": undefined}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:233:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104590,16 +104528,15 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "853" + "854" ], "coveredBy": [ - "613", "614", - "618", + "615", "619", "620", "621", - "853", + "622", "854", "855", "856", @@ -104614,7 +104551,8 @@ "865", "866", "867", - "868" + "868", + "869" ], "location": { "end": { @@ -104628,7 +104566,7 @@ } }, { - "id": "2970", + "id": "2972", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "BadResourceMutationException: Bad mutation for Game with id \"38006aeffbf8ddbbc161219b\"\n at GameService.validateGameIsPlaying (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/src/modules/game/providers/services/game.service.ts:165:17)\n at GameService.cancelGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/src/modules/game/providers/services/game.service.ts:114:12)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:237:27)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104636,16 +104574,15 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "854" + "855" ], "coveredBy": [ - "613", "614", - "618", + "615", "619", "620", "621", - "853", + "622", "854", "855", "856", @@ -104660,7 +104597,8 @@ "865", "866", "867", - "868" + "868", + "869" ], "location": { "end": { @@ -104674,7 +104612,7 @@ } }, { - "id": "2971", + "id": "2973", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"a10bf107fb0effb373ede3fb\", \"additionalCards\": undefined, \"createdAt\": 2023-11-26T08:02:52.068Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8066411182161920}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 5459127962697728, \"turn\": 6197287317405696, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T22:16:05.104Z, \"victory\": undefined}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:233:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104682,16 +104620,15 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "853" + "854" ], "coveredBy": [ - "613", "614", - "618", + "615", "619", "620", "621", - "853", + "622", "854", "855", "856", @@ -104706,7 +104643,8 @@ "865", "866", "867", - "868" + "868", + "869" ], "location": { "end": { @@ -104720,7 +104658,7 @@ } }, { - "id": "2972", + "id": "2974", "mutatorName": "EqualityOperator", "replacement": "game.status === GameStatuses.PLAYING", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"b67a0b18231a7ecfda9f3b1f\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T16:13:25.804Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1548501120974848}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 4719461961564160, \"turn\": 4166772307525632, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T21:08:37.654Z, \"victory\": undefined}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:233:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104728,16 +104666,15 @@ "testsCompleted": 22, "static": false, "killedBy": [ - "853" + "854" ], "coveredBy": [ - "613", "614", - "618", + "615", "619", "620", "621", - "853", + "622", "854", "855", "856", @@ -104752,7 +104689,8 @@ "865", "866", "867", - "868" + "868", + "869" ], "location": { "end": { @@ -104766,7 +104704,7 @@ } }, { - "id": "2973", + "id": "2975", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).rejects.toStrictEqual()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"d7407e8e3e0b3aee7705b0ab\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T01:01:14.019Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": false, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1010549361999872}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 3839372510101504, \"turn\": 6304162773991424, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T07:02:16.568Z, \"victory\": undefined}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:233:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -104774,13 +104712,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "853" + "854" ], "coveredBy": [ - "613", - "853", - "855", - "867" + "614", + "854", + "856", + "868" ], "location": { "end": { @@ -104794,7 +104732,7 @@ } }, { - "id": "2974", + "id": "2976", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/game.service.ts(94,56): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -104802,13 +104740,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "869", "870", "871", "872", "873", "874", - "875" + "875", + "876" ], "location": { "end": { @@ -104822,7 +104760,7 @@ } }, { - "id": "2975", + "id": "2977", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Hit limit reached (807/800)", @@ -104830,13 +104768,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "869", "870", "871", "872", "873", "874", - "875" + "875", + "876" ], "location": { "end": { @@ -104850,7 +104788,7 @@ } }, { - "id": "2976", + "id": "2978", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 2\nReceived number of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:439:44)", @@ -104858,16 +104796,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "875" + "876" ], "coveredBy": [ - "869", "870", "871", "872", "873", "874", - "875" + "875", + "876" ], "location": { "end": { @@ -104875,143 +104813,208 @@ "line": 102 }, "start": { - "column": 9, - "line": 102 + "column": 9, + "line": 102 + } + } + }, + { + "id": "2979", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 2\nReceived number of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:439:44)", + "status": "Killed", + "testsCompleted": 1, + "static": false, + "killedBy": [ + "876" + ], + "coveredBy": [ + "876" + ], + "location": { + "end": { + "column": 6, + "line": 105 + }, + "start": { + "column": 38, + "line": 102 + } + } + }, + { + "id": "2981", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"3da9f2414d4abc777ffd7b5c\"}, {\"status\": \"over\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:460:46)", + "status": "Killed", + "testsCompleted": 8, + "static": false, + "killedBy": [ + "878" + ], + "coveredBy": [ + "609", + "610", + "611", + "615", + "621", + "622", + "877", + "878" + ], + "location": { + "end": { + "column": 76, + "line": 110 + }, + "start": { + "column": 61, + "line": 110 + } + } + }, + { + "id": "2985", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(112,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "877" + ], + "location": { + "end": { + "column": 6, + "line": 113 + }, + "start": { + "column": 31, + "line": 111 } } }, { - "id": "2977", + "id": "2986", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 2\nReceived number of calls: 1\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:439:44)", - "status": "Killed", - "testsCompleted": 1, + "statusReason": "src/modules/game/providers/services/game.service.ts(117,38): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "875" - ], + "killedBy": [], "coveredBy": [ - "875" + "879" ], "location": { "end": { - "column": 6, - "line": 105 + "column": 4, + "line": 122 }, "start": { - "column": 38, - "line": 102 + "column": 43, + "line": 117 } } }, { - "id": "2978", + "id": "2987", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(109,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/providers/services/game.service.ts(124,47): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "killedBy": [], "coveredBy": [ - "608", - "609", - "610", - "614", - "620", - "621", - "876", - "877" + "865", + "867", + "880", + "881" ], "location": { "end": { "column": 4, - "line": 115 + "line": 127 }, "start": { - "column": 100, - "line": 109 + "column": 61, + "line": 124 } } }, { - "id": "2979", - "mutatorName": "ObjectLiteral", + "id": "2954", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"_id\": \"3da9f2414d4abc777ffd7b5c\"}, {\"status\": \"over\"}], but it was called with {}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game.service.spec.ts:460:46)", - "status": "Killed", - "testsCompleted": 8, + "statusReason": "src/modules/game/providers/services/game.service.ts(45,49): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "877" - ], "coveredBy": [ - "608", "609", "610", - "614", - "620", - "621", - "876", - "877" + "611", + "850", + "851", + "852", + "853" ], "location": { "end": { - "column": 76, - "line": 110 + "column": 4, + "line": 60 }, "start": { - "column": 61, - "line": 110 + "column": 63, + "line": 45 } } }, { "id": "2980", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/modules/game/providers/services/game.service.ts(114,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/game/providers/services/game.service.ts(109,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "608", "609", "610", - "614", - "620", + "611", + "615", "621", - "876", - "877" + "622", + "877", + "878" ], "location": { "end": { - "column": 29, - "line": 111 + "column": 4, + "line": 115 }, "start": { - "column": 9, - "line": 111 + "column": 100, + "line": 109 } } }, { - "id": "2981", + "id": "2982", "mutatorName": "ConditionalExpression", - "replacement": "false", + "replacement": "true", "statusReason": "src/modules/game/providers/services/game.service.ts(114,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "608", "609", "610", - "614", - "620", + "611", + "615", "621", - "876", - "877" + "622", + "877", + "878" ], "location": { "end": { @@ -105025,22 +105028,21 @@ } }, { - "id": "2982", + "id": "2984", "mutatorName": "EqualityOperator", "replacement": "updatedGame !== null", "statusReason": "src/modules/game/providers/services/game.service.ts(114,5): error TS2322: Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ - "608", "609", "610", - "614", - "620", + "611", + "615", "621", - "876", - "877" + "622", + "877", + "878" ], "location": { "end": { @@ -105055,70 +105057,29 @@ }, { "id": "2983", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(112,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "876" - ], - "location": { - "end": { - "column": 6, - "line": 113 - }, - "start": { - "column": 31, - "line": 111 - } - } - }, - { - "id": "2984", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(117,38): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/modules/game/providers/services/game.service.ts(114,5): error TS2322: Type 'Game | null' is not assignable to type 'Game'.\n Type 'null' is not assignable to type 'Game'.\n", "status": "CompileError", "static": false, - "killedBy": [], "coveredBy": [ + "609", + "610", + "611", + "615", + "621", + "622", + "877", "878" ], "location": { "end": { - "column": 4, - "line": 122 - }, - "start": { - "column": 43, - "line": 117 - } - } - }, - { - "id": "2985", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/game/providers/services/game.service.ts(124,47): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "864", - "866", - "879", - "880" - ], - "location": { - "end": { - "column": 4, - "line": 127 + "column": 29, + "line": 111 }, "start": { - "column": 61, - "line": 124 + "column": 9, + "line": 111 } } } @@ -105129,7 +105090,7 @@ "language": "typescript", "mutants": [ { - "id": "2986", + "id": "2988", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(17,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105137,7 +105098,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1076" + "1077" ], "location": { "end": { @@ -105151,7 +105112,7 @@ } }, { - "id": "2987", + "id": "2989", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"b0bfdbe1db4efa052fcaafcb\", {\"_id\": \"20d5cfdeeafbcdfc53bf93e0\", \"additionalCards\": undefined, \"createdAt\": 2023-11-25T19:51:30.114Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 3046983929430016}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [], \"status\": \"playing\", \"tick\": 8479705575456768, \"turn\": 554476217827328, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T00:01:26.855Z, \"victory\": undefined}, {\"cause\": \"eaten\", \"source\": \"big-bad-wolf\"}], but it was called with \"b0bfdbe1db4efa052fcaafcb\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:45:60)", @@ -105159,10 +105120,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1076" + "1077" ], "coveredBy": [ - "1076" + "1077" ], "location": { "end": { @@ -105176,7 +105137,7 @@ } }, { - "id": "2988", + "id": "2990", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(22,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105184,7 +105145,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1077" + "1078" ], "location": { "end": { @@ -105198,7 +105159,7 @@ } }, { - "id": "2989", + "id": "2991", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(27,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105206,7 +105167,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1078" + "1079" ], "location": { "end": { @@ -105220,7 +105181,7 @@ } }, { - "id": "2990", + "id": "2992", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(32,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105228,7 +105189,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1084" + "1085" ], "location": { "end": { @@ -105242,7 +105203,7 @@ } }, { - "id": "2991", + "id": "2993", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(34,5): error TS2322: Type 'undefined[]' is not assignable to type 'Player[]'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -105250,7 +105211,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1084" + "1085" ], "location": { "end": { @@ -105264,7 +105225,7 @@ } }, { - "id": "2992", + "id": "2994", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(38,84): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105272,11 +105233,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105290,7 +105251,7 @@ } }, { - "id": "2993", + "id": "2995", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(41,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105298,11 +105259,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105316,7 +105277,7 @@ } }, { - "id": "2994", + "id": "2996", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(41,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105324,11 +105285,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105342,7 +105303,7 @@ } }, { - "id": "2995", + "id": "2997", "mutatorName": "LogicalOperator", "replacement": "clonedAttribute.remainingPhases !== undefined || isPlayerAttributeActive(clonedAttribute, game)", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(41,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105350,11 +105311,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105368,7 +105329,7 @@ } }, { - "id": "2996", + "id": "2998", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(41,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105376,11 +105337,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105394,7 +105355,7 @@ } }, { - "id": "2997", + "id": "2999", "mutatorName": "EqualityOperator", "replacement": "clonedAttribute.remainingPhases === undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(41,7): error TS18048: 'clonedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105402,11 +105363,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "1079", "1080", "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105420,7 +105381,7 @@ } }, { - "id": "2998", + "id": "3000", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 3,\n \"source\": \"elder\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:94:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105428,12 +105389,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1081" + "1082" ], "coveredBy": [ - "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105447,7 +105408,7 @@ } }, { - "id": "2999", + "id": "3001", "mutatorName": "UpdateOperator", "replacement": "clonedAttribute.remainingPhases++", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n PlayerAttribute {\n \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 4,\n \"source\": \"elder\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:94:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105455,12 +105416,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1081" + "1082" ], "coveredBy": [ - "1081", - "1083", - "1084" + "1082", + "1084", + "1085" ], "location": { "end": { @@ -105474,7 +105435,7 @@ } }, { - "id": "3000", + "id": "3002", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(46,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105482,9 +105443,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "1082", "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105498,7 +105459,7 @@ } }, { - "id": "3001", + "id": "3003", "mutatorName": "BooleanLiteral", "replacement": "clonedPlayer.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -1,20 +1,13 @@\n Player {\n \"_id\": \"b1535cf76b75e07e8c3be1cf\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 1,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:108:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105506,12 +105467,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1082" + "1083" ], "coveredBy": [ - "1082", "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105525,7 +105486,7 @@ } }, { - "id": "3002", + "id": "3004", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 8\n\n@@ -8,13 +8,20 @@\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 1,\n+ \"source\": \"survivors\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n+ \"remainingPhases\": 2,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105533,12 +105494,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1082", "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105552,7 +105513,7 @@ } }, { - "id": "3003", + "id": "3005", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -1,20 +1,13 @@\n Player {\n \"_id\": \"1dbbca8277bfc3064e0ac6f0\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 1,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:108:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105560,12 +105521,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1082" + "1083" ], "coveredBy": [ - "1082", "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105579,7 +105540,7 @@ } }, { - "id": "3004", + "id": "3006", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 8\n+ Received + 1\n\n@@ -1,20 +1,13 @@\n Player {\n \"_id\": \"c3ab6b1cbd3dba73fc7dd564\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n- \"remainingPhases\": 2,\n+ \"remainingPhases\": 1,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": false,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:108:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105587,10 +105548,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1082" + "1083" ], "coveredBy": [ - "1082" + "1083" ], "location": { "end": { @@ -105604,7 +105565,7 @@ } }, { - "id": "3005", + "id": "3007", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(51,5): error TS2740: Type 'PlayerAttribute' is missing the following properties from type 'PlayerAttribute[]': length, pop, push, concat, and 35 more.\nsrc/modules/game/providers/services/player/player-attribute.service.ts(51,75): error TS2345: Argument of type '(acc: PlayerAttribute[], attribute: PlayerAttribute) => void' is not assignable to parameter of type '(previousValue: PlayerAttribute[], currentValue: PlayerAttribute, currentIndex: number, array: PlayerAttribute[]) => PlayerAttribute[]'.\n Type 'void' is not assignable to type 'PlayerAttribute[]'.\n", @@ -105612,8 +105573,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105627,7 +105588,7 @@ } }, { - "id": "3006", + "id": "3008", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -8,10 +8,17 @@\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"survivors\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"survivors\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105635,11 +105596,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105653,7 +105614,7 @@ } }, { - "id": "3007", + "id": "3009", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"5bb5cdcb7fdd49f6cbfefcc4\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lesly\",\n \"position\": 6620133575360512,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105661,11 +105622,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105679,7 +105640,7 @@ } }, { - "id": "3008", + "id": "3010", "mutatorName": "LogicalOperator", "replacement": "decreasedAttribute.remainingPhases === undefined && decreasedAttribute.remainingPhases > 0", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(53,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105687,8 +105648,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105702,7 +105663,7 @@ } }, { - "id": "3009", + "id": "3011", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(53,20): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105710,8 +105671,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105725,7 +105686,7 @@ } }, { - "id": "3010", + "id": "3012", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases !== undefined", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(53,63): error TS18048: 'decreasedAttribute.remainingPhases' is possibly 'undefined'.\n", @@ -105733,8 +105694,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105748,7 +105709,7 @@ } }, { - "id": "3011", + "id": "3013", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 7\n+ Received + 0\n\n@@ -6,17 +6,10 @@\n \"doesRemainAfterDeath\": undefined,\n \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Emmy\",\n \"position\": 165358910570496,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105756,11 +105717,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105774,7 +105735,7 @@ } }, { - "id": "3012", + "id": "3014", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases >= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -8,10 +8,17 @@\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n+ \"source\": \"survivors\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"sheriff\",\n \"remainingPhases\": 1,\n \"source\": \"survivors\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105782,11 +105743,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105800,7 +105761,7 @@ } }, { - "id": "3013", + "id": "3015", "mutatorName": "EqualityOperator", "replacement": "decreasedAttribute.remainingPhases <= 0", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 3\n\n@@ -8,13 +8,13 @@\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": 0,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n \"isAlive\": true,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105808,11 +105769,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105826,7 +105787,7 @@ } }, { - "id": "3014", + "id": "3016", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"afd3c3f49c95ed2cc11fddc3\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jevon\",\n \"position\": 3195158931701760,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105834,11 +105795,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105852,7 +105813,7 @@ } }, { - "id": "3015", + "id": "3017", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"6b5fb6fa8f5fe807f3bfcdb1\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": 1,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Horacio\",\n \"position\": 8791159700717568,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts:128:108)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105860,11 +105821,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1083" + "1084" ], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105878,7 +105839,7 @@ } }, { - "id": "3016", + "id": "3018", "mutatorName": "ArrayDeclaration", "replacement": "[\"Stryker was here\"]", "statusReason": "src/modules/game/providers/services/player/player-attribute.service.ts(51,5): error TS2740: Type 'PlayerAttribute' is missing the following properties from type 'PlayerAttribute[]': length, pop, push, concat, and 35 more.\nsrc/modules/game/providers/services/player/player-attribute.service.ts(57,9): error TS2322: Type 'string' is not assignable to type 'PlayerAttribute'.\n", @@ -105886,8 +105847,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "1083", - "1084" + "1084", + "1085" ], "location": { "end": { @@ -105907,7 +105868,7 @@ "language": "typescript", "mutants": [ { - "id": "3017", + "id": "3019", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(27,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -105915,10 +105876,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -105932,7 +105893,7 @@ } }, { - "id": "3018", + "id": "3020", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [SyntaxError: \"undefined\" is not valid JSON]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:145:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -105940,13 +105901,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "471" + "472" ], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -105960,7 +105921,7 @@ } }, { - "id": "3019", + "id": "3021", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:165:52)", @@ -105968,13 +105929,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "472" + "473" ], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -105988,7 +105949,7 @@ } }, { - "id": "3020", + "id": "3022", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:165:52)", @@ -105996,11 +105957,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "472" + "473" ], "coveredBy": [ - "472", - "473" + "473", + "474" ], "location": { "end": { @@ -106014,7 +105975,7 @@ } }, { - "id": "3021", + "id": "3023", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"killOrRevealPlayer\", {\"gameId\": \"dee803f0dc4654ce8fe4a381\", \"playerId\": \"fce4a370f0977aea8389eeff\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:189:88)", @@ -106022,13 +105983,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "473" + "474" ], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -106042,7 +106003,7 @@ } }, { - "id": "3022", + "id": "3024", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(33,99): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -106050,10 +106011,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -106067,7 +106028,7 @@ } }, { - "id": "3023", + "id": "3025", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toStrictEqual()\n\nReceived promise rejected instead of resolved\nRejected to value: [SyntaxError: \"undefined\" is not valid JSON]\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:145:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106075,13 +106036,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "471" + "472" ], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -106095,7 +106056,7 @@ } }, { - "id": "3024", + "id": "3026", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:208:58)", @@ -106103,13 +106064,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "474" + "475" ], "coveredBy": [ - "471", "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -106123,7 +106084,7 @@ } }, { - "id": "3025", + "id": "3027", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:208:58)", @@ -106131,12 +106092,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "474" + "475" ], "coveredBy": [ - "472", "473", - "474" + "474", + "475" ], "location": { "end": { @@ -106150,7 +106111,7 @@ } }, { - "id": "3026", + "id": "3028", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(41,92): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -106158,9 +106119,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "477", "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106174,7 +106135,7 @@ } }, { - "id": "3027", + "id": "3029", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106182,12 +106143,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "478" + "479" ], "coveredBy": [ - "477", "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106201,16 +106162,16 @@ } }, { - "id": "3028", + "id": "3030", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "477", "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106224,7 +106185,7 @@ } }, { - "id": "3029", + "id": "3031", "mutatorName": "EqualityOperator", "replacement": "cause === PlayerDeathCauses.EATEN", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106232,12 +106193,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "477" + "478" ], "coveredBy": [ - "477", "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106251,7 +106212,7 @@ } }, { - "id": "3030", + "id": "3032", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106259,10 +106220,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "477" + "478" ], "coveredBy": [ - "477" + "478" ], "location": { "end": { @@ -106276,7 +106237,7 @@ } }, { - "id": "3031", + "id": "3033", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106284,10 +106245,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "477" + "478" ], "coveredBy": [ - "477" + "478" ], "location": { "end": { @@ -106301,7 +106262,7 @@ } }, { - "id": "3032", + "id": "3034", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106309,11 +106270,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "478" + "479" ], "coveredBy": [ - "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106327,7 +106288,7 @@ } }, { - "id": "3033", + "id": "3035", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106335,11 +106296,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "479" + "480" ], "coveredBy": [ - "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106353,7 +106314,7 @@ } }, { - "id": "3034", + "id": "3036", "mutatorName": "EqualityOperator", "replacement": "elderLivesCountAgainstWerewolves < 0", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106361,11 +106322,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "479" + "480" ], "coveredBy": [ - "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106379,7 +106340,7 @@ } }, { - "id": "3035", + "id": "3037", "mutatorName": "EqualityOperator", "replacement": "elderLivesCountAgainstWerewolves > 0", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:287:94\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106387,11 +106348,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "478" + "479" ], "coveredBy": [ - "478", - "479" + "479", + "480" ], "location": { "end": { @@ -106405,7 +106366,7 @@ } }, { - "id": "3036", + "id": "3038", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(49,86): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -106413,11 +106374,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106431,7 +106392,7 @@ } }, { - "id": "3037", + "id": "3039", "mutatorName": "MethodExpression", "replacement": "werewolvesEatElderRecords", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106439,14 +106400,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106460,7 +106421,7 @@ } }, { - "id": "3038", + "id": "3040", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106468,14 +106429,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106489,7 +106450,7 @@ } }, { - "id": "3039", + "id": "3041", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106497,12 +106458,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106516,7 +106477,7 @@ } }, { - "id": "3040", + "id": "3042", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106524,12 +106485,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106543,7 +106504,7 @@ } }, { - "id": "3041", + "id": "3043", "mutatorName": "EqualityOperator", "replacement": "turn <= game.turn", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106551,12 +106512,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106570,7 +106531,7 @@ } }, { - "id": "3042", + "id": "3044", "mutatorName": "EqualityOperator", "replacement": "turn >= game.turn", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106578,12 +106539,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106597,7 +106558,7 @@ } }, { - "id": "3043", + "id": "3045", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 3\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:307:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106605,14 +106566,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "480" + "481" ], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106626,7 +106587,7 @@ } }, { - "id": "3044", + "id": "3046", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106634,14 +106595,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106655,7 +106616,7 @@ } }, { - "id": "3045", + "id": "3047", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveActiveAttributeWithName(elderPlayer, PlayerAttributeNames.EATEN, game) || this.canPlayerBeEaten(elderPlayer, game)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 3\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:307:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106663,14 +106624,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "480" + "481" ], "coveredBy": [ - "480", "481", "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106684,7 +106645,7 @@ } }, { - "id": "3046", + "id": "3048", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(55,5): error TS2322: Type 'GameHistoryRecord' is not assignable to type 'number'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(55,60): error TS2769: No overload matches this call.\n Overload 1 of 3, '(callbackfn: (previousValue: GameHistoryRecord, currentValue: GameHistoryRecord, currentIndex: number, array: GameHistoryRecord[]) => GameHistoryRecord, initialValue: GameHistoryRecord): GameHistoryRecord', gave the following error.\n Argument of type '(acc: number, werewolvesEatElderRecord: GameHistoryRecord) => void' is not assignable to parameter of type '(previousValue: GameHistoryRecord, currentValue: GameHistoryRecord, currentIndex: number, array: GameHistoryRecord[]) => GameHistoryRecord'.\n Types of parameters 'acc' and 'previousValue' are incompatible.\n Type 'GameHistoryRecord' is not assignable to type 'number'.\n Overload 2 of 3, '(callbackfn: (previousValue: number, currentValue: GameHistoryRecord, currentIndex: number, array: GameHistoryRecord[]) => number, initialValue: number): number', gave the following error.\n Argument of type '(acc: number, werewolvesEatElderRecord: GameHistoryRecord) => void' is not assignable to parameter of type '(previousValue: number, currentValue: GameHistoryRecord, currentIndex: number, array: GameHistoryRecord[]) => number'.\n Type 'void' is not assignable to type 'number'.\n", @@ -106692,9 +106653,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106708,7 +106669,7 @@ } }, { - "id": "3047", + "id": "3049", "mutatorName": "BooleanLiteral", "replacement": "!elderProtectedFromWerewolvesRecords.find(({\n turn\n}) => turn === werewolvesEatElderRecord.turn)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106716,12 +106677,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106735,7 +106696,7 @@ } }, { - "id": "3048", + "id": "3050", "mutatorName": "BooleanLiteral", "replacement": "elderProtectedFromWerewolvesRecords.find(({\n turn\n}) => turn === werewolvesEatElderRecord.turn)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106743,12 +106704,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106762,7 +106723,7 @@ } }, { - "id": "3049", + "id": "3051", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106770,12 +106731,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106789,7 +106750,7 @@ } }, { - "id": "3050", + "id": "3052", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106797,10 +106758,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "483" + "484" ], "location": { "end": { @@ -106814,7 +106775,7 @@ } }, { - "id": "3051", + "id": "3053", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106822,10 +106783,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "483" + "484" ], "location": { "end": { @@ -106839,7 +106800,7 @@ } }, { - "id": "3052", + "id": "3054", "mutatorName": "EqualityOperator", "replacement": "turn !== werewolvesEatElderRecord.turn", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106847,10 +106808,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "483" + "484" ], "location": { "end": { @@ -106864,7 +106825,7 @@ } }, { - "id": "3053", + "id": "3055", "mutatorName": "BooleanLiteral", "replacement": "wasElderProtectedFromWerewolves", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106872,12 +106833,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106891,7 +106852,7 @@ } }, { - "id": "3054", + "id": "3056", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 0\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:384:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106899,12 +106860,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "483" + "484" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106918,7 +106879,7 @@ } }, { - "id": "3055", + "id": "3057", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106926,12 +106887,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106945,7 +106906,7 @@ } }, { - "id": "3056", + "id": "3058", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106953,12 +106914,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106972,7 +106933,7 @@ } }, { - "id": "3057", + "id": "3059", "mutatorName": "ArithmeticOperator", "replacement": "acc + 1", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:347:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -106980,12 +106941,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "482" + "483" ], "coveredBy": [ - "482", "483", - "484" + "484", + "485" ], "location": { "end": { @@ -106999,7 +106960,7 @@ } }, { - "id": "3058", + "id": "3060", "mutatorName": "ArithmeticOperator", "replacement": "livesCountAgainstWerewolves + 1", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 4\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107007,11 +106968,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", - "482" + "482", + "483" ], "location": { "end": { @@ -107025,7 +106986,7 @@ } }, { - "id": "3059", + "id": "3061", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(64,82): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -107033,12 +106994,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "474", + "473", "475", "476", - "485", - "486" + "477", + "486", + "487" ], "location": { "end": { @@ -107052,7 +107013,7 @@ } }, { - "id": "3060", + "id": "3062", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -101,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"afdbca014ab326cb12dd9c7c\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"survivors\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Hettie\",\n \"position\": 3305132273958912,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:246:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107060,15 +107021,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "476" + "477" ], "coveredBy": [ - "472", - "474", + "473", "475", "476", - "485", - "486" + "477", + "486", + "487" ], "location": { "end": { @@ -107082,7 +107043,7 @@ } }, { - "id": "3061", + "id": "3063", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -80,19 +80,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"734e99b4f4778edf9355ad51\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lowell\",\n \"position\": 8962035352076288,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:234:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107090,15 +107051,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "475" + "476" ], "coveredBy": [ - "472", - "474", + "473", "475", "476", - "485", - "486" + "477", + "486", + "487" ], "location": { "end": { @@ -107112,7 +107073,7 @@ } }, { - "id": "3062", + "id": "3064", "mutatorName": "EqualityOperator", "replacement": "revealedPlayer.role.current !== RoleNames.IDIOT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -80,19 +80,11 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"654a17d08cec003004bba739\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Warren\",\n \"position\": 8907462178504704,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:234:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107120,15 +107081,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "475" + "476" ], "coveredBy": [ - "472", - "474", + "473", "475", "476", - "485", - "486" + "477", + "486", + "487" ], "location": { "end": { @@ -107142,7 +107103,7 @@ } }, { - "id": "3063", + "id": "3065", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -80,19 +80,11 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"869e4eca38baedb4aeaddbb8\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": undefined,\n- \"name\": \"cant-vote\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Vinnie\",\n \"position\": 1187983053029376,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:234:97)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107150,10 +107111,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "475" + "476" ], "coveredBy": [ - "475" + "476" ], "location": { "end": { @@ -107167,7 +107128,7 @@ } }, { - "id": "3064", + "id": "3066", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(72,65): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -107175,10 +107136,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "474", - "485", - "486" + "473", + "475", + "486", + "487" ], "location": { "end": { @@ -107192,7 +107153,7 @@ } }, { - "id": "3065", + "id": "3067", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"revealPlayerRole\", {\"gameId\": \"edc8aade27c36ad7360684b7\", \"playerId\": \"bf41d8eb000f66d6e8bda26a\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:419:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107200,13 +107161,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "485" + "486" ], "coveredBy": [ - "472", - "474", - "485", - "486" + "473", + "475", + "486", + "487" ], "location": { "end": { @@ -107220,7 +107181,7 @@ } }, { - "id": "3066", + "id": "3068", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(75,97): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -107228,10 +107189,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "474", - "485", - "486" + "473", + "475", + "486", + "487" ], "location": { "end": { @@ -107245,7 +107206,7 @@ } }, { - "id": "3067", + "id": "3069", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -91,11 +91,11 @@\n \"isAlive\": true,\n \"name\": \"Randy\",\n \"position\": 7993296209051648,\n \"role\": PlayerRole {\n \"current\": \"wild-child\",\n- \"isRevealed\": true,\n+ \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:444:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107253,13 +107214,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "486" + "487" ], "coveredBy": [ - "472", - "474", - "485", - "486" + "473", + "475", + "486", + "487" ], "location": { "end": { @@ -107273,7 +107234,7 @@ } }, { - "id": "3068", + "id": "3070", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(82,97): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -107281,13 +107242,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107301,7 +107262,7 @@ } }, { - "id": "3069", + "id": "3071", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107309,16 +107270,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107332,7 +107293,7 @@ } }, { - "id": "3070", + "id": "3072", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107340,16 +107301,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "493" + "494" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107363,7 +107324,7 @@ } }, { - "id": "3071", + "id": "3073", "mutatorName": "LogicalOperator", "replacement": "isPlayerPowerful(playerToReveal, game) || death.cause === PlayerDeathCauses.VOTE", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107371,16 +107332,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107394,7 +107355,7 @@ } }, { - "id": "3072", + "id": "3074", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107402,15 +107363,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "491" + "492" ], "coveredBy": [ - "487", "488", "489", - "491", + "490", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107424,7 +107385,7 @@ } }, { - "id": "3073", + "id": "3075", "mutatorName": "EqualityOperator", "replacement": "death.cause !== PlayerDeathCauses.VOTE", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107432,15 +107393,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "491" + "492" ], "coveredBy": [ - "487", "488", "489", - "491", + "490", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107454,7 +107415,7 @@ } }, { - "id": "3074", + "id": "3076", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107462,16 +107423,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "487" + "488" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107485,7 +107446,7 @@ } }, { - "id": "3075", + "id": "3077", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107493,16 +107454,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "492" + "493" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107516,7 +107477,7 @@ } }, { - "id": "3076", + "id": "3078", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.role.isRevealed || !playerToReveal.isAlive && game.options.roles.areRevealedOnDeath || playerToReveal.role.current === RoleNames.IDIOT && doesIdiotRoleMustBeRevealed", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107524,16 +107485,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107547,7 +107508,7 @@ } }, { - "id": "3077", + "id": "3079", "mutatorName": "BooleanLiteral", "replacement": "playerToReveal.role.isRevealed", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107555,16 +107516,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "492" + "493" ], "coveredBy": [ - "487", "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107578,7 +107539,7 @@ } }, { - "id": "3078", + "id": "3080", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107586,15 +107547,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107608,7 +107569,7 @@ } }, { - "id": "3079", + "id": "3081", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.isAlive && game.options.roles.areRevealedOnDeath && playerToReveal.role.current === RoleNames.IDIOT && doesIdiotRoleMustBeRevealed", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107616,15 +107577,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "492" + "493" ], "coveredBy": [ - "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107638,7 +107599,7 @@ } }, { - "id": "3080", + "id": "3082", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107646,15 +107607,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "492" + "493" ], "coveredBy": [ - "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107668,7 +107629,7 @@ } }, { - "id": "3081", + "id": "3083", "mutatorName": "LogicalOperator", "replacement": "!playerToReveal.isAlive || game.options.roles.areRevealedOnDeath", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107676,15 +107637,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "489" + "490" ], "coveredBy": [ - "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107698,7 +107659,7 @@ } }, { - "id": "3082", + "id": "3084", "mutatorName": "BooleanLiteral", "replacement": "playerToReveal.isAlive", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107706,15 +107667,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "490" + "491" ], "coveredBy": [ - "488", "489", "490", "491", "492", - "493" + "493", + "494" ], "location": { "end": { @@ -107728,7 +107689,7 @@ } }, { - "id": "3083", + "id": "3085", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107736,14 +107697,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "493" + "494" ], "coveredBy": [ - "488", "489", "490", "491", - "493" + "492", + "494" ], "location": { "end": { @@ -107757,7 +107718,7 @@ } }, { - "id": "3084", + "id": "3086", "mutatorName": "LogicalOperator", "replacement": "playerToReveal.role.current === RoleNames.IDIOT || doesIdiotRoleMustBeRevealed", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107765,14 +107726,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "488", "489", "490", "491", - "493" + "492", + "494" ], "location": { "end": { @@ -107786,7 +107747,7 @@ } }, { - "id": "3085", + "id": "3087", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107794,14 +107755,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "488", "489", "490", "491", - "493" + "492", + "494" ], "location": { "end": { @@ -107815,7 +107776,7 @@ } }, { - "id": "3086", + "id": "3088", "mutatorName": "EqualityOperator", "replacement": "playerToReveal.role.current !== RoleNames.IDIOT", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:506:90\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107823,14 +107784,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "488" + "489" ], "coveredBy": [ - "488", "489", "490", "491", - "493" + "492", + "494" ], "location": { "end": { @@ -107844,7 +107805,7 @@ } }, { - "id": "3087", + "id": "3089", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(88,61): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -107852,8 +107813,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "494" + "473", + "495" ], "location": { "end": { @@ -107867,7 +107828,7 @@ } }, { - "id": "3088", + "id": "3090", "mutatorName": "MethodExpression", "replacement": "clonedPlayer.attributes", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 7\n\n@@ -1,10 +1,17 @@\n Player {\n \"_id\": \"d903555eaccef033faca8cbc\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"survivors\",\n+ },\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n \"doesRemainAfterDeath\": true,\n \"name\": \"powerless\",\n \"remainingPhases\": undefined,\n \"source\": \"elder\",\n },\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:528:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107875,11 +107836,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "494" + "495" ], "coveredBy": [ - "472", - "494" + "473", + "495" ], "location": { "end": { @@ -107893,7 +107854,7 @@ } }, { - "id": "3089", + "id": "3091", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"fbc7fa4bdd7f43eeb72fad0b\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n \"name\": \"Alfredo\",\n \"position\": 5578168870109184,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:528:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107901,11 +107862,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "494" + "495" ], "coveredBy": [ - "472", - "494" + "473", + "495" ], "location": { "end": { @@ -107919,14 +107880,14 @@ } }, { - "id": "3090", + "id": "3092", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "494" + "495" ], "location": { "end": { @@ -107940,7 +107901,7 @@ } }, { - "id": "3091", + "id": "3093", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 16\n+ Received + 1\n\n@@ -1,23 +1,8 @@\n Player {\n \"_id\": \"f8da17434df00cc7f370aea5\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n- \"remainingPhases\": undefined,\n- \"source\": \"survivors\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": false,\n \"name\": \"Davonte\",\n \"position\": 5518878908088320,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:528:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107948,10 +107909,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "494" + "495" ], "coveredBy": [ - "494" + "495" ], "location": { "end": { @@ -107965,7 +107926,7 @@ } }, { - "id": "3092", + "id": "3094", "mutatorName": "EqualityOperator", "replacement": "doesRemainAfterDeath !== true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 2\n\n@@ -1,19 +1,12 @@\n Player {\n \"_id\": \"dccb64fcc6fe1ff5e1392c4a\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:528:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107973,10 +107934,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "494" + "495" ], "coveredBy": [ - "494" + "495" ], "location": { "end": { @@ -107990,7 +107951,7 @@ } }, { - "id": "3093", + "id": "3095", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 2\n\n@@ -1,19 +1,12 @@\n Player {\n \"_id\": \"a2abcea512d2cbd2adba6ffb\",\n \"attributes\": Array [\n PlayerAttribute {\n \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"sheriff\",\n+ \"doesRemainAfterDeath\": false,\n+ \"name\": \"cant-vote\",\n \"remainingPhases\": undefined,\n \"source\": \"survivors\",\n },\n ],\n \"death\": undefined,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:528:81)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -107998,10 +107959,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "494" + "495" ], "coveredBy": [ - "494" + "495" ], "location": { "end": { @@ -108015,7 +107976,7 @@ } }, { - "id": "3094", + "id": "3096", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(94,87): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -108023,10 +107984,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108040,7 +108001,7 @@ } }, { - "id": "3095", + "id": "3097", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(idiotPlayer, game)", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:569:77\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108048,13 +108009,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "497" + "498" ], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108068,17 +108029,17 @@ } }, { - "id": "3096", + "id": "3098", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108092,17 +108053,17 @@ } }, { - "id": "3097", + "id": "3099", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108116,17 +108077,17 @@ } }, { - "id": "3098", + "id": "3100", "mutatorName": "LogicalOperator", "replacement": "(idiotPlayer.role.isRevealed || cause !== PlayerDeathCauses.VOTE) && isIdiotPowerless", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108140,17 +108101,17 @@ } }, { - "id": "3099", + "id": "3101", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108164,7 +108125,7 @@ } }, { - "id": "3100", + "id": "3102", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer.role.isRevealed && cause !== PlayerDeathCauses.VOTE", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:569:77\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108172,13 +108133,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "495" + "496" ], "coveredBy": [ - "495", "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108192,7 +108153,7 @@ } }, { - "id": "3101", + "id": "3103", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:569:77\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108200,12 +108161,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "496" + "497" ], "coveredBy": [ - "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108219,7 +108180,7 @@ } }, { - "id": "3102", + "id": "3104", "mutatorName": "EqualityOperator", "replacement": "cause === PlayerDeathCauses.VOTE", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:569:77\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108227,12 +108188,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "496" + "497" ], "coveredBy": [ - "496", "497", - "498" + "498", + "499" ], "location": { "end": { @@ -108246,7 +108207,7 @@ } }, { - "id": "3103", + "id": "3105", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(99,62): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -108254,14 +108215,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "481", "482", - "499", + "483", "500", "501", "502", "503", - "504" + "504", + "505" ], "location": { "end": { @@ -108275,7 +108236,7 @@ } }, { - "id": "3104", + "id": "3106", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108283,17 +108244,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "481", "482", - "499", + "483", "500", "501", "502", "503", - "504" + "504", + "505" ], "location": { "end": { @@ -108307,7 +108268,7 @@ } }, { - "id": "3105", + "id": "3107", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108315,17 +108276,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", "482", - "499", + "483", "500", "501", "502", "503", - "504" + "504", + "505" ], "location": { "end": { @@ -108339,7 +108300,7 @@ } }, { - "id": "3106", + "id": "3108", "mutatorName": "LogicalOperator", "replacement": "!isPlayerSavedByWitch || !isPlayerProtectedByDefender || eatenPlayer.role.current === RoleNames.LITTLE_GIRL && !isLittleGirlProtectedByDefender", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108347,17 +108308,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "499" + "500" ], "coveredBy": [ - "481", "482", - "499", + "483", "500", "501", "502", "503", - "504" + "504", + "505" ], "location": { "end": { @@ -108371,7 +108332,7 @@ } }, { - "id": "3107", + "id": "3109", "mutatorName": "BooleanLiteral", "replacement": "isPlayerSavedByWitch", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108379,17 +108340,17 @@ "testsCompleted": 9, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", "482", - "499", + "483", "500", "501", "502", "503", - "504" + "504", + "505" ], "location": { "end": { @@ -108403,19 +108364,19 @@ } }, { - "id": "3108", + "id": "3110", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "481", "482", - "500", + "483", "501", "502", - "504" + "503", + "505" ], "location": { "end": { @@ -108429,7 +108390,7 @@ } }, { - "id": "3109", + "id": "3111", "mutatorName": "LogicalOperator", "replacement": "!isPlayerProtectedByDefender && eatenPlayer.role.current === RoleNames.LITTLE_GIRL && !isLittleGirlProtectedByDefender", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108437,15 +108398,15 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", "482", - "500", + "483", "501", "502", - "504" + "503", + "505" ], "location": { "end": { @@ -108459,7 +108420,7 @@ } }, { - "id": "3110", + "id": "3112", "mutatorName": "BooleanLiteral", "replacement": "isPlayerProtectedByDefender", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: 2\nReceived: 3\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:325:107)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108467,15 +108428,15 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "481" + "482" ], "coveredBy": [ - "481", "482", - "500", + "483", "501", "502", - "504" + "503", + "505" ], "location": { "end": { @@ -108489,7 +108450,7 @@ } }, { - "id": "3111", + "id": "3113", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108497,12 +108458,12 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "500", "501", - "502" + "502", + "503" ], "location": { "end": { @@ -108516,7 +108477,7 @@ } }, { - "id": "3112", + "id": "3114", "mutatorName": "LogicalOperator", "replacement": "eatenPlayer.role.current === RoleNames.LITTLE_GIRL || !isLittleGirlProtectedByDefender", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108524,12 +108485,12 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "500", "501", - "502" + "502", + "503" ], "location": { "end": { @@ -108543,16 +108504,16 @@ } }, { - "id": "3113", + "id": "3115", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "500", "501", - "502" + "502", + "503" ], "location": { "end": { @@ -108566,7 +108527,7 @@ } }, { - "id": "3114", + "id": "3116", "mutatorName": "EqualityOperator", "replacement": "eatenPlayer.role.current !== RoleNames.LITTLE_GIRL", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108574,12 +108535,12 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "502" + "503" ], "coveredBy": [ - "500", "501", - "502" + "502", + "503" ], "location": { "end": { @@ -108593,7 +108554,7 @@ } }, { - "id": "3115", + "id": "3117", "mutatorName": "BooleanLiteral", "replacement": "isLittleGirlProtectedByDefender", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:617:71\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108601,11 +108562,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "501" + "502" ], "coveredBy": [ - "501", - "502" + "502", + "503" ], "location": { "end": { @@ -108619,7 +108580,7 @@ } }, { - "id": "3116", + "id": "3118", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(106,89): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -108627,13 +108588,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108647,7 +108608,7 @@ } }, { - "id": "3117", + "id": "3119", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:645:57)", @@ -108655,16 +108616,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "507" + "508" ], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108678,7 +108639,7 @@ } }, { - "id": "3118", + "id": "3120", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108686,16 +108647,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108709,7 +108670,7 @@ } }, { - "id": "3119", + "id": "3121", "mutatorName": "LogicalOperator", "replacement": "cause === PlayerDeathCauses.EATEN || !this.canPlayerBeEaten(player, game)", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"ca2ff0c11aa8abaa3fdebf3d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Myrtis\", \"position\": 6911486809079808, \"role\": {\"current\": \"pied-piper\", \"isRevealed\": false, \"original\": \"stuttering-judge\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"villagers\"}}, {\"_id\": \"6affab8d28cc7578edebfd9b\", \"additionalCards\": undefined, \"createdAt\": 2023-11-25T20:04:38.678Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 4171363279437824}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 3, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"playing\", \"tick\": 8112386577793024, \"turn\": 3342033647304704, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T00:22:06.372Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:636:62)", @@ -108717,16 +108678,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "506" + "507" ], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108740,7 +108701,7 @@ } }, { - "id": "3120", + "id": "3122", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"2551e3741aea2e4182aa3ff8\", \"attributes\": [], \"death\": undefined, \"isAlive\": false, \"name\": \"Leonor\", \"position\": 6711791371419648, \"role\": {\"current\": \"bear-tamer\", \"isRevealed\": true, \"original\": \"big-bad-wolf\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4a7a07cafbfc043efa27bf98\", \"additionalCards\": undefined, \"createdAt\": 2023-11-26T02:03:06.583Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 3830528222429184}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [], \"status\": \"over\", \"tick\": 738352064102400, \"turn\": 1336919430529024, \"upcomingPlays\": [], \"updatedAt\": 2023-11-26T00:24:41.503Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:636:62)", @@ -108748,16 +108709,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "506" + "507" ], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108771,7 +108732,7 @@ } }, { - "id": "3121", + "id": "3123", "mutatorName": "EqualityOperator", "replacement": "cause !== PlayerDeathCauses.EATEN", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108779,16 +108740,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505", "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108802,7 +108763,7 @@ } }, { - "id": "3122", + "id": "3124", "mutatorName": "BooleanLiteral", "replacement": "this.canPlayerBeEaten(player, game)", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108810,10 +108771,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505" + "506" ], "location": { "end": { @@ -108827,7 +108788,7 @@ } }, { - "id": "3123", + "id": "3125", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108835,10 +108796,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505" + "506" ], "location": { "end": { @@ -108852,7 +108813,7 @@ } }, { - "id": "3124", + "id": "3126", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:627:111)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -108860,10 +108821,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "505" + "506" ], "coveredBy": [ - "505" + "506" ], "location": { "end": { @@ -108877,7 +108838,7 @@ } }, { - "id": "3125", + "id": "3127", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"ccdc4dfcccef2e6c6f15a9cc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Esther\", \"position\": 7025984830177280, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, \"vote\", {\"_id\": \"6c1f3a6b5db238dcae139d0d\", \"additionalCards\": undefined, \"createdAt\": 2023-11-25T23:40:38.957Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"ancient\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"guard\": {\"canProtectTwice\": true}, \"idiot\": {\"doesDieOnAncientDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 2357098708992000}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 4}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [], \"status\": \"over\", \"tick\": 7211800699338752, \"turn\": 8783167970344960, \"upcomingPlays\": [], \"updatedAt\": 2023-11-25T21:41:42.920Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:654:61)", @@ -108885,15 +108846,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "508" + "509" ], "coveredBy": [ - "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108907,7 +108868,7 @@ } }, { - "id": "3126", + "id": "3128", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:645:57)", @@ -108915,15 +108876,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "507" + "508" ], "coveredBy": [ - "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108937,7 +108898,7 @@ } }, { - "id": "3127", + "id": "3129", "mutatorName": "EqualityOperator", "replacement": "player.role.current !== RoleNames.IDIOT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(113,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.IDIOT' and 'RoleNames.ELDER' have no overlap.\n", @@ -108945,12 +108906,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "506", "507", "508", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -108964,7 +108925,7 @@ } }, { - "id": "3128", + "id": "3130", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:645:57)", @@ -108972,10 +108933,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "507" + "508" ], "coveredBy": [ - "507" + "508" ], "location": { "end": { @@ -108989,7 +108950,7 @@ } }, { - "id": "3129", + "id": "3131", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"ddf3e0f98b6fa0dfebabdc09\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T18:53:20.382Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"guard\": {\"canProtectTwice\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByGuard\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 48701642899456}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 5}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [], \"status\": \"over\", \"tick\": 8156084296482816, \"turn\": 2745341172514816, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T20:45:44.180Z, \"victory\": undefined}, {\"_id\": \"7521fbb01dace29d77b052b9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Van\", \"position\": 5831013026496512, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, \"vote\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:686:61)", @@ -108997,14 +108958,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "510" + "511" ], "coveredBy": [ - "506", - "508", + "507", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -109018,7 +108979,7 @@ } }, { - "id": "3130", + "id": "3132", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:677:57)", @@ -109026,14 +108987,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "509" + "510" ], "coveredBy": [ - "506", - "508", + "507", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -109047,7 +109008,7 @@ } }, { - "id": "3131", + "id": "3133", "mutatorName": "EqualityOperator", "replacement": "player.role.current !== RoleNames.ELDER", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:677:57)", @@ -109055,14 +109016,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "509" + "510" ], "coveredBy": [ - "506", - "508", + "507", "509", "510", - "511" + "511", + "512" ], "location": { "end": { @@ -109076,7 +109037,7 @@ } }, { - "id": "3132", + "id": "3134", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:677:57)", @@ -109084,10 +109045,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "509" + "510" ], "coveredBy": [ - "509" + "510" ], "location": { "end": { @@ -109101,7 +109062,7 @@ } }, { - "id": "3133", + "id": "3135", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).resolves.toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object.toBe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:174:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:679:110)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109109,13 +109070,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "511" + "512" ], "coveredBy": [ - "506", - "508", - "510", - "511" + "507", + "509", + "511", + "512" ], "location": { "end": { @@ -109129,7 +109090,7 @@ } }, { - "id": "3134", + "id": "3136", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(119,80): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -109137,11 +109098,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109155,7 +109116,7 @@ } }, { - "id": "3135", + "id": "3137", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109163,11 +109124,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109181,7 +109142,7 @@ } }, { - "id": "3136", + "id": "3138", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109189,11 +109150,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109207,7 +109168,7 @@ } }, { - "id": "3137", + "id": "3139", "mutatorName": "LogicalOperator", "replacement": "(!doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.WORSHIPED, clonedGame) || wildChildPlayer === undefined || !wildChildPlayer.isAlive) && !isPlayerPowerful(wildChildPlayer, clonedGame)", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(122,190): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109215,11 +109176,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109233,7 +109194,7 @@ } }, { - "id": "3138", + "id": "3140", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(122,36): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109241,11 +109202,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109259,7 +109220,7 @@ } }, { - "id": "3139", + "id": "3141", "mutatorName": "LogicalOperator", "replacement": "(!doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.WORSHIPED, clonedGame) || wildChildPlayer === undefined) && !wildChildPlayer.isAlive", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(122,145): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(122,190): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109267,11 +109228,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109285,7 +109246,7 @@ } }, { - "id": "3140", + "id": "3142", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(122,19): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(122,64): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109293,11 +109254,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109311,7 +109272,7 @@ } }, { - "id": "3141", + "id": "3143", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.WORSHIPED, clonedGame) && wildChildPlayer === undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(122,143): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(122,188): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109319,11 +109280,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109337,7 +109298,7 @@ } }, { - "id": "3142", + "id": "3144", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.WORSHIPED, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -108,11 +108,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"38fecaf81aef0cf6006daacd\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:693:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109345,14 +109306,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "512" + "513" ], "coveredBy": [ - "512", "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109366,7 +109327,7 @@ } }, { - "id": "3143", + "id": "3145", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(123,17): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(123,62): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(127,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(127,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109374,10 +109335,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109391,7 +109352,7 @@ } }, { - "id": "3144", + "id": "3146", "mutatorName": "EqualityOperator", "replacement": "wildChildPlayer !== undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(123,41): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(123,86): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(126,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(127,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(127,52): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Partial'.\n", @@ -109399,10 +109360,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "513", "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109416,7 +109377,7 @@ } }, { - "id": "3145", + "id": "3147", "mutatorName": "BooleanLiteral", "replacement": "wildChildPlayer.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -133,11 +133,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"b3ed7ed8f28ed7baf9012ae6\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:717:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109424,12 +109385,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "514" + "515" ], "coveredBy": [ - "514", "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109443,7 +109404,7 @@ } }, { - "id": "3146", + "id": "3148", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(wildChildPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n@@ -145,11 +145,11 @@\n \"current\": \"wild-child\",\n \"isRevealed\": false,\n \"original\": \"wild-child\",\n },\n \"side\": PlayerSide {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"ac5c0f01595d5dc0e01eed52\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox8290421/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:743:92)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109451,11 +109412,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "515" + "516" ], "coveredBy": [ - "515", - "516" + "516", + "517" ], "location": { "end": { @@ -109469,7 +109430,7 @@ } }, { - "id": "3147", + "id": "3149", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(124,5): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,31): error TS18048: 'wildChildPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(125,52): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Partial'.\n Type 'undefined' is not assignable to type 'Partial'.\n", @@ -109477,10 +109438,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "512", "513", "514", - "515" + "515", + "516" ], "location": { "end": { @@ -109494,7 +109455,7 @@ } }, { - "id": "3148", + "id": "3150", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(130,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -109502,10 +109463,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109519,7 +109480,7 @@ } }, { - "id": "3149", + "id": "3151", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:822:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109527,13 +109488,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "520" + "521" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109547,7 +109508,7 @@ } }, { - "id": "3150", + "id": "3152", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"9efef2832f3e3c5b7c370a05\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T13:50:08.022Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1406065774166016}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"c2698f05ec1711b1047dbc24\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Ernie\", \"position\": 2171776148701184, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ecedccccee9c21bccf6f6d89\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Josefina\", \"position\": 6882862758363136, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fcb66aef0df0a0dec0caeea7\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Guadalupe\", \"position\": 5235590360465408, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"aec2d79adb6afa494d6ce232\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Giuseppe\", \"position\": 7634672907452416, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 2379416474746880, \"turn\": 2314312284635136, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T09:33:26.317Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:797:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109555,13 +109516,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "518" + "519" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109575,7 +109536,7 @@ } }, { - "id": "3151", + "id": "3153", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:822:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109583,13 +109544,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "520" + "521" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109603,17 +109564,17 @@ } }, { - "id": "3152", + "id": "3154", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.IN_LOVE, game) && player.isAlive || !player._id.equals(killedPlayer._id)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109627,7 +109588,7 @@ } }, { - "id": "3153", + "id": "3155", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"cf4cd3aaed6ec81f6ffffc7a\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T04:33:36.901Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 2, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 1777037758955520}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 4}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 3}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"245d0fab9d0fcfdf2ff0d7ed\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Skye\", \"position\": 5419566274445312, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"cd8ecfafbfff70ede16cc061\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Mckayla\", \"position\": 1540528063643648, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b374e795374ddfafa2cecff2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gerald\", \"position\": 4419547557789696, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"79abfbc6cdcfe87e58cbb916\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Efren\", \"position\": 3906429578641408, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 4901693839900672, \"turn\": 4638514985566208, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T06:37:25.020Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:797:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109635,13 +109596,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "518" + "519" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109655,7 +109616,7 @@ } }, { - "id": "3154", + "id": "3156", "mutatorName": "LogicalOperator", "replacement": "doesPlayerHaveActiveAttributeWithName(player, PlayerAttributeNames.IN_LOVE, game) || player.isAlive", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"acbdfbbb8b5c7e67bf55cddc\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T04:41:45.266Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 2}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 968758229204992}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"5acdd5aabcc1dac48d651c5e\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Bernard\", \"position\": 288139931287552, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2e8dcbdfb69533bdb8108bf9\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Esther\", \"position\": 5008299074256896, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d76c4f6acdd9bafaf7b9f93c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Javonte\", \"position\": 8784900912054272, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"7d14c3b6c7d043fa9ab40b1c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Merle\", \"position\": 659081417195520, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 6742927422259200, \"turn\": 5969725922213888, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T02:39:30.843Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:797:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109663,13 +109624,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "518" + "519" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109683,7 +109644,7 @@ } }, { - "id": "3155", + "id": "3157", "mutatorName": "BooleanLiteral", "replacement": "player._id.equals(killedPlayer._id)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"8e9ba3cd9bedcbcbe45b2bd2\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T07:40:35.838Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 4}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 6436218556383232}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 0}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2bee0cdf5a9d36feb87c1f2c\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"isAlive\": true, \"name\": \"Darrion\", \"position\": 4200673944010752, \"role\": {\"current\": \"seer\", \"isRevealed\": false, \"original\": \"seer\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"f7eedf76d45cad7bffa868e0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Rosalind\", \"position\": 8143692156108800, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"6649d43feaeff8ae72c9ed2c\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jenifer\", \"position\": 3091692630573056, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"59face4cad8757daaecfb2b3\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Felix\", \"position\": 4942312884928512, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 5028870933708800, \"turn\": 7922095061204992, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T05:44:16.862Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:797:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109691,12 +109652,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "518" + "519" ], "coveredBy": [ - "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109710,7 +109671,7 @@ } }, { - "id": "3156", + "id": "3158", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(138,28): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -109718,10 +109679,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109735,7 +109696,7 @@ } }, { - "id": "3157", + "id": "3159", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(138,28): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -109743,10 +109704,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109760,7 +109721,7 @@ } }, { - "id": "3158", + "id": "3160", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.IN_LOVE, clonedGame) && !otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(138,28): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -109768,10 +109729,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109785,7 +109746,7 @@ } }, { - "id": "3159", + "id": "3161", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.IN_LOVE, clonedGame)", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:822:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109793,13 +109754,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "520" + "521" ], "coveredBy": [ - "517", "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109813,7 +109774,7 @@ } }, { - "id": "3160", + "id": "3162", "mutatorName": "BooleanLiteral", "replacement": "otherPlayerInLove", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(138,28): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\n", @@ -109821,9 +109782,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "518", "519", - "520" + "520", + "521" ], "location": { "end": { @@ -109837,7 +109798,7 @@ } }, { - "id": "3161", + "id": "3163", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(136,28): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -109845,9 +109806,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "517", "518", - "519" + "519", + "520" ], "location": { "end": { @@ -109861,7 +109822,7 @@ } }, { - "id": "3162", + "id": "3164", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(141,78): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -109869,10 +109830,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "521", "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -109886,7 +109847,7 @@ } }, { - "id": "3163", + "id": "3165", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -179,21 +179,10 @@\n \"status\": \"canceled\",\n \"tick\": 6483292429746176,\n \"turn\": 8877447491616768,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"delegate\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"sheriff\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:865:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109894,13 +109855,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "523" + "524" ], "coveredBy": [ - "521", "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -109914,7 +109875,7 @@ } }, { - "id": "3164", + "id": "3166", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -170,9 +170,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 850988206391296,\n \"turn\": 4281083893907456,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"sheriff\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T10:12:47.172Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:836:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109922,13 +109883,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "521" + "522" ], "coveredBy": [ - "521", "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -109942,7 +109903,7 @@ } }, { - "id": "3165", + "id": "3167", "mutatorName": "LogicalOperator", "replacement": "!doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.SHERIFF, game) && killedPlayer.role.current === RoleNames.IDIOT && isPlayerPowerful(killedPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -170,9 +170,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 7646365695868928,\n \"turn\": 3574604148768768,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"sheriff\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T18:11:53.300Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:836:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109950,13 +109911,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "521" + "522" ], "coveredBy": [ - "521", "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -109970,7 +109931,7 @@ } }, { - "id": "3166", + "id": "3168", "mutatorName": "BooleanLiteral", "replacement": "doesPlayerHaveActiveAttributeWithName(killedPlayer, PlayerAttributeNames.SHERIFF, game)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -170,9 +170,21 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 5297934876803072,\n \"turn\": 2871966979588096,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"sheriff\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T14:41:31.538Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:836:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -109978,13 +109939,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "521" + "522" ], "coveredBy": [ - "521", "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -109998,7 +109959,7 @@ } }, { - "id": "3167", + "id": "3169", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -170,9 +170,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 6781707283857408,\n \"turn\": 7143876632510464,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"delegate\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"sheriff\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T16:21:43.891Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:848:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110006,12 +109967,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "522" + "523" ], "coveredBy": [ - "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -110025,7 +109986,7 @@ } }, { - "id": "3168", + "id": "3170", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current === RoleNames.IDIOT || isPlayerPowerful(killedPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -179,21 +179,10 @@\n \"status\": \"playing\",\n \"tick\": 4697849455443968,\n \"turn\": 3745327108587520,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"delegate\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"sheriff\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:865:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110033,12 +109994,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "523" + "524" ], "coveredBy": [ - "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -110052,16 +110013,16 @@ } }, { - "id": "3169", + "id": "3171", "mutatorName": "ConditionalExpression", "replacement": "true", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -110075,16 +110036,16 @@ } }, { - "id": "3170", + "id": "3172", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.IDIOT", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "522", "523", - "524" + "524", + "525" ], "location": { "end": { @@ -110098,15 +110059,15 @@ } }, { - "id": "3171", + "id": "3173", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "521", - "522" + "522", + "523" ], "location": { "end": { @@ -110120,7 +110081,7 @@ } }, { - "id": "3172", + "id": "3174", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(150,81): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -110128,9 +110089,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110144,7 +110105,7 @@ } }, { - "id": "3173", + "id": "3175", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"applyPlayerAttributesDeathOutcomes\", {\"gameId\": \"0e8cb08c4bac1545ec45e643\", \"playerId\": \"2409ab90b377d5f80dc41791\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:931:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110152,12 +110113,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110171,7 +110132,7 @@ } }, { - "id": "3174", + "id": "3176", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(153,115): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -110179,9 +110140,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110195,7 +110156,7 @@ } }, { - "id": "3175", + "id": "3177", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "TypeError: Cannot destructure property 'attributes' of 'undefined' as it is undefined.\n at getActivePlayerAttributeWithName (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts:85:3)\n at doesPlayerHaveActiveAttributeWithName (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts:99:246)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/src/modules/game/providers/services/player/player-killer.service.ts:353:149)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:904:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110203,12 +110164,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "525" + "526" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110222,7 +110183,7 @@ } }, { - "id": "3176", + "id": "3178", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:932:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110230,12 +110191,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110249,7 +110210,7 @@ } }, { - "id": "3177", + "id": "3179", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:932:73)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110257,10 +110218,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "526" + "527" ], "location": { "end": { @@ -110274,7 +110235,7 @@ } }, { - "id": "3178", + "id": "3180", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "TypeError: Cannot destructure property 'attributes' of 'undefined' as it is undefined.\n at getActivePlayerAttributeWithName (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts:85:3)\n at doesPlayerHaveActiveAttributeWithName (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/player/player-attribute/player-attribute.helper.ts:99:242)\n at PlayerKillerService.applyPlayerAttributesDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/providers/services/player/player-killer.service.ts:353:149)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:902:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110282,12 +110243,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "525" + "526" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110301,7 +110262,7 @@ } }, { - "id": "3179", + "id": "3181", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:933:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110309,12 +110270,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110328,7 +110289,7 @@ } }, { - "id": "3180", + "id": "3182", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:933:72)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110336,10 +110297,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "526" + "527" ], "location": { "end": { @@ -110353,7 +110314,7 @@ } }, { - "id": "3181", + "id": "3183", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {\"_id\": \"bfb745dd828acb7b3f5bb57b\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"elder\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Mikayla\", \"position\": 8409585970839552, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"2b59d3172bec22eedb1225bf\", \"additionalCards\": undefined, \"createdAt\": 2023-12-02T11:54:51.906Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 5630739297075200}, \"hasDoubledVote\": false, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 4}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"bfb745dd828acb7b3f5bb57b\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": true, \"name\": \"powerless\", \"remainingPhases\": undefined, \"source\": \"elder\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Mikayla\", \"position\": 8409585970839552, \"role\": {\"current\": \"idiot\", \"isRevealed\": false, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"04534bcff7ddc24defe9dea4\", \"attributes\": [{\"activeAt\": undefined, \"doesRemainAfterDeath\": undefined, \"name\": \"in-love\", \"remainingPhases\": undefined, \"source\": \"cupid\"}], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Dana\", \"position\": 4864490107568128, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"ca207d120c7ca6ffc4a8ac3a\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Kasandra\", \"position\": 2526026374578176, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"fbaaba80cfc5ed1e7136bd4f\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Lew\", \"position\": 8094656956989440, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 2646513182310400, \"turn\": 3538648175738880, \"upcomingPlays\": [], \"updatedAt\": 2023-12-02T07:14:12.095Z, \"victory\": undefined}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:908:79)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110361,12 +110322,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "525" + "526" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110380,7 +110341,7 @@ } }, { - "id": "3182", + "id": "3184", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:934:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110388,12 +110349,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "472", - "525", - "526" + "473", + "526", + "527" ], "location": { "end": { @@ -110407,7 +110368,7 @@ } }, { - "id": "3183", + "id": "3185", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:934:75)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110415,10 +110376,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "526" + "527" ], "coveredBy": [ - "526" + "527" ], "location": { "end": { @@ -110432,7 +110393,7 @@ } }, { - "id": "3184", + "id": "3186", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(168,75): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -110440,13 +110401,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110460,7 +110421,7 @@ } }, { - "id": "3185", + "id": "3187", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(175,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110468,13 +110429,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110488,7 +110449,7 @@ } }, { - "id": "3186", + "id": "3188", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(175,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110496,13 +110457,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110516,7 +110477,7 @@ } }, { - "id": "3187", + "id": "3189", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.side.current !== RoleSides.WEREWOLVES || !bigBadWolfPlayer || !isPowerlessIfWerewolfDies || killedPlayer.role.current === RoleNames.BIG_BAD_WOLF) && doesPlayerHaveActiveAttributeWithNameAndSource(bigBadWolfPlayer, PlayerAttributeNames.POWERLESS, PlayerGroups.WEREWOLVES, clonedGame)", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(172,219): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(175,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110524,13 +110485,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110544,7 +110505,7 @@ } }, { - "id": "3188", + "id": "3190", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(173,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(176,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110552,13 +110513,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110572,7 +110533,7 @@ } }, { - "id": "3189", + "id": "3191", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.side.current !== RoleSides.WEREWOLVES || !bigBadWolfPlayer || !isPowerlessIfWerewolfDies) && killedPlayer.role.current === RoleNames.BIG_BAD_WOLF", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(173,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(176,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110580,13 +110541,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110600,7 +110561,7 @@ } }, { - "id": "3190", + "id": "3192", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(173,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(176,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110608,13 +110569,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110628,7 +110589,7 @@ } }, { - "id": "3191", + "id": "3193", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.side.current !== RoleSides.WEREWOLVES || !bigBadWolfPlayer) && !isPowerlessIfWerewolfDies", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(173,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(176,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110636,13 +110597,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110656,7 +110617,7 @@ } }, { - "id": "3192", + "id": "3194", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(177,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110664,13 +110625,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110684,7 +110645,7 @@ } }, { - "id": "3193", + "id": "3195", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.side.current !== RoleSides.WEREWOLVES && !bigBadWolfPlayer", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,56): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(177,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110692,13 +110653,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110712,7 +110673,7 @@ } }, { - "id": "3194", + "id": "3196", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"5fbfaa9a409bcddb6dda5b67\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Keshaun\",\n \"position\": 7790418047533056,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox5042602/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:951:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110720,16 +110681,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "527" + "528" ], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110743,7 +110704,7 @@ } }, { - "id": "3195", + "id": "3197", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.side.current === RoleSides.WEREWOLVES", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"da6bbb0bbec6c2a22793face\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Terrell\",\n \"position\": 4756310245507072,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4864643/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1023:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110751,16 +110712,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110774,7 +110735,7 @@ } }, { - "id": "3196", + "id": "3198", "mutatorName": "BooleanLiteral", "replacement": "bigBadWolfPlayer", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,56): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'Player'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(177,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110782,12 +110743,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "528", + "473", "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110801,7 +110762,7 @@ } }, { - "id": "3197", + "id": "3199", "mutatorName": "BooleanLiteral", "replacement": "isPowerlessIfWerewolfDies", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"cad04a6a6da753499bead1c4\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Robert\",\n \"position\": 5634171491844096,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:972:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110809,13 +110770,13 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "529" + "530" ], "coveredBy": [ - "529", "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110829,7 +110790,7 @@ } }, { - "id": "3198", + "id": "3200", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -120,11 +120,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"9e79dbdadaffc00fea6ef8c3\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"werewolves\",\n+ },\n+ ],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Ricky\",\n \"position\": 250094685257728,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4864643/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:985:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110837,12 +110798,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "530" + "531" ], "coveredBy": [ - "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110856,7 +110817,7 @@ } }, { - "id": "3199", + "id": "3201", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.BIG_BAD_WOLF", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 9\n+ Received + 1\n\n@@ -120,19 +120,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"a4d04f4a780f46911d22631a\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"werewolves\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"group\": undefined,\n \"isAlive\": true,\n \"name\": \"Hallie\",\n \"position\": 5069256746074112,\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1023:87)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -110864,12 +110825,12 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "532" + "533" ], "coveredBy": [ - "530", "531", - "532" + "532", + "533" ], "location": { "end": { @@ -110883,7 +110844,7 @@ } }, { - "id": "3200", + "id": "3202", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(175,37): error TS18048: 'bigBadWolfPlayer' is possibly 'undefined'.\n", @@ -110891,12 +110852,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "527", + "473", "528", "529", "530", - "531" + "531", + "532" ], "location": { "end": { @@ -110910,7 +110871,7 @@ } }, { - "id": "3201", + "id": "3203", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(180,101): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -110918,11 +110879,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -110936,7 +110897,7 @@ } }, { - "id": "3202", + "id": "3204", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(170,93): error TS2345: Argument of type '{}' is not assignable to parameter of type 'GetNearestPlayerOptions'.\n Property 'direction' is missing in type '{}' but required in type 'GetNearestPlayerOptions'.\n", @@ -110944,11 +110905,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -110962,7 +110923,7 @@ } }, { - "id": "3203", + "id": "3205", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(170,95): error TS2322: Type '\"\"' is not assignable to type '\"left\" | \"right\"'.\n", @@ -110970,11 +110931,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -110988,7 +110949,7 @@ } }, { - "id": "3204", + "id": "3206", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -110996,11 +110957,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111014,7 +110975,7 @@ } }, { - "id": "3205", + "id": "3207", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -111022,11 +110983,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111040,7 +111001,7 @@ } }, { - "id": "3206", + "id": "3208", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== RoleNames.RUSTY_SWORD_KNIGHT || !isPlayerPowerful(killedPlayer, clonedGame) || death.cause !== PlayerDeathCauses.EATEN) && !leftAliveWerewolfNeighbor", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(174,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -111048,11 +111009,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111066,18 +111027,18 @@ } }, { - "id": "3207", + "id": "3209", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111091,7 +111052,7 @@ } }, { - "id": "3208", + "id": "3210", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== RoleNames.RUSTY_SWORD_KNIGHT || !isPlayerPowerful(killedPlayer, clonedGame)) && death.cause !== PlayerDeathCauses.EATEN", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -101,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"1fdfd0c958a58ba65e7bd228\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Karolann\",\n \"position\": 1011014214615040,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:949:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111099,14 +111060,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "533" + "534" ], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111120,7 +111081,7 @@ } }, { - "id": "3209", + "id": "3211", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -101,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"590ab289a6ef2f2f1f9cdeea\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lilly\",\n \"position\": 3937895339524096,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:949:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111128,14 +111089,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "533" + "534" ], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111149,7 +111110,7 @@ } }, { - "id": "3210", + "id": "3212", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== RoleNames.RUSTY_SWORD_KNIGHT && !isPlayerPowerful(killedPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -118,11 +118,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"7fedb76f3d0dfa20e6977d34\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Roscoe\",\n \"position\": 7157693036888064,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:949:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111157,14 +111118,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "533" + "534" ], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111178,7 +111139,7 @@ } }, { - "id": "3211", + "id": "3213", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -118,11 +118,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"0eabcbaeb6beeebfd9ebddd8\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Kitty\",\n \"position\": 4783939310845952,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:949:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111186,14 +111147,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "533" + "534" ], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111207,7 +111168,7 @@ } }, { - "id": "3212", + "id": "3214", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === RoleNames.RUSTY_SWORD_KNIGHT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -118,11 +118,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"677ceafa8b2ceb6b3dfba7c4\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gunnar\",\n \"position\": 5565951456051200,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:949:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111215,14 +111176,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "533" + "534" ], "coveredBy": [ - "533", "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111236,7 +111197,7 @@ } }, { - "id": "3213", + "id": "3215", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(killedPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -109,11 +109,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"516b329c9b8ccb398023b5e4\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Burley\",\n \"position\": 7641898172809216,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:962:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111244,13 +111205,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "534" + "535" ], "coveredBy": [ - "534", "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111264,7 +111225,7 @@ } }, { - "id": "3214", + "id": "3216", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -101,11 +101,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"335cf7bddb0df5eebe21626b\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Bettie\",\n \"position\": 2602865998692352,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:975:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111272,12 +111233,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111291,7 +111252,7 @@ } }, { - "id": "3215", + "id": "3217", "mutatorName": "EqualityOperator", "replacement": "death.cause === PlayerDeathCauses.EATEN", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 9\n\n@@ -118,11 +118,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"ce1bcd5dfa2a50ddffbbb086\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": undefined,\n+ \"name\": \"contaminated\",\n+ \"remainingPhases\": 2,\n+ \"source\": \"rusty-sword-knight\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Estelle\",\n \"position\": 2932478482317312,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:975:100)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111299,12 +111260,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "535" + "536" ], "coveredBy": [ - "535", "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111318,7 +111279,7 @@ } }, { - "id": "3216", + "id": "3218", "mutatorName": "BooleanLiteral", "replacement": "leftAliveWerewolfNeighbor", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(175,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -111326,8 +111287,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "536", - "537" + "537", + "538" ], "location": { "end": { @@ -111341,7 +111302,7 @@ } }, { - "id": "3217", + "id": "3219", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(173,37): error TS18048: 'leftAliveWerewolfNeighbor' is possibly 'undefined'.\n", @@ -111349,10 +111310,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "533", "534", "535", - "536" + "536", + "537" ], "location": { "end": { @@ -111366,7 +111327,7 @@ } }, { - "id": "3218", + "id": "3220", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(178,94): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -111374,10 +111335,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111391,7 +111352,7 @@ } }, { - "id": "3219", + "id": "3221", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -156,21 +156,10 @@\n \"status\": \"over\",\n \"tick\": 3138466386804736,\n \"turn\": 3457347953360896,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"ban-voting\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"scapegoat\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1069:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111399,13 +111360,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "541" + "542" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111419,7 +111380,7 @@ } }, { - "id": "3220", + "id": "3222", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 7558212305813504,\n \"turn\": 7325784406491136,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T16:29:52.821Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111427,13 +111388,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111447,7 +111408,7 @@ } }, { - "id": "3221", + "id": "3223", "mutatorName": "LogicalOperator", "replacement": "(killedPlayer.role.current !== RoleNames.SCAPEGOAT || !isPlayerPowerful(killedPlayer, clonedGame)) && death.cause !== PlayerDeathCauses.VOTE_SCAPEGOATED", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 1297432180686848,\n \"turn\": 100138865393664,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T21:37:35.148Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111455,13 +111416,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111475,7 +111436,7 @@ } }, { - "id": "3222", + "id": "3224", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 4525586452054016,\n \"turn\": 2369978428817408,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T08:01:51.443Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111483,13 +111444,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111503,17 +111464,17 @@ } }, { - "id": "3223", + "id": "3225", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== RoleNames.SCAPEGOAT && !isPlayerPowerful(killedPlayer, clonedGame)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111527,7 +111488,7 @@ } }, { - "id": "3224", + "id": "3226", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 6387690828201984,\n \"turn\": 3463350925131776,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T09:28:26.720Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111535,13 +111496,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111555,7 +111516,7 @@ } }, { - "id": "3225", + "id": "3227", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === RoleNames.SCAPEGOAT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"over\",\n \"tick\": 3146316603457536,\n \"turn\": 7634153067511808,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T19:48:28.577Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111563,13 +111524,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111583,7 +111544,7 @@ } }, { - "id": "3226", + "id": "3228", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(killedPlayer, clonedGame)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -162,9 +162,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 8157081595019264,\n \"turn\": 2371036714631168,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T17:12:58.982Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1038:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111591,12 +111552,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "539" + "540" ], "coveredBy": [ - "539", "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111610,7 +111571,7 @@ } }, { - "id": "3227", + "id": "3229", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 836495986393088,\n \"turn\": 6685633791655936,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T10:41:15.408Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1051:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111618,11 +111579,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111636,7 +111597,7 @@ } }, { - "id": "3228", + "id": "3230", "mutatorName": "EqualityOperator", "replacement": "death.cause === PlayerDeathCauses.VOTE_SCAPEGOATED", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 4454936205066240,\n \"turn\": 6988267509514240,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T09:41:21.015Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1051:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111644,11 +111605,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "540" + "541" ], "coveredBy": [ - "540", - "541" + "541", + "542" ], "location": { "end": { @@ -111662,7 +111623,7 @@ } }, { - "id": "3229", + "id": "3231", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 3007680574652416,\n \"turn\": 444021455454208,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"ban-voting\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"scapegoat\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T13:58:31.775Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1025:93)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111670,12 +111631,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "538" + "539" ], "coveredBy": [ - "538", "539", - "540" + "540", + "541" ], "location": { "end": { @@ -111689,7 +111650,7 @@ } }, { - "id": "3230", + "id": "3232", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(186,90): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -111697,13 +111658,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111717,7 +111678,7 @@ } }, { - "id": "3231", + "id": "3233", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 18\n+ Received + 2\n\n@@ -101,19 +101,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"4d2b9907d020d2e0e45d87b5\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Cordelia\",\n \"position\": 417293389529088,\n \"role\": PlayerRole {\n@@ -143,19 +135,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"bccbdc10d2eae507dccd0be6\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Alvina\",\n \"position\": 1438246129106944,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1159:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111725,16 +111686,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111748,7 +111709,7 @@ } }, { - "id": "3232", + "id": "3234", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(198,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -111756,13 +111717,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111776,7 +111737,7 @@ } }, { - "id": "3233", + "id": "3235", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"58b6b373e2a1473f0ed9bb9b\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T17:05:24.651Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 5, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7677865782935552}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"974d2f5a80dfefae03c0e213\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Turner\", \"position\": 7546424155701248, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"bf69ddbebbccb17de3bd6eca\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eldridge\", \"position\": 8834251843698688, \"role\": {\"current\": \"idiot\", \"isRevealed\": true, \"original\": \"idiot\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"ade7dea20faee1cf31e3b3dc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Jabari\", \"position\": 8910677309652992, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"f3424d0313242fab63cbbd95\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Bella\", \"position\": 4010271857180672, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 3655535291269120, \"turn\": 4956989253746688, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T15:25:57.644Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1091:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111784,16 +111745,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "542" + "543" ], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111807,20 +111768,20 @@ } }, { - "id": "3234", + "id": "3236", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== RoleNames.ELDER && !isPlayerPowerful(killedPlayer, game)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111834,20 +111795,20 @@ } }, { - "id": "3235", + "id": "3237", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111861,20 +111822,20 @@ } }, { - "id": "3236", + "id": "3238", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === RoleNames.ELDER", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "542", "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111888,19 +111849,19 @@ } }, { - "id": "3237", + "id": "3239", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(killedPlayer, game)", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "543", "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111914,15 +111875,15 @@ } }, { - "id": "3238", + "id": "3240", "mutatorName": "BlockStatement", "replacement": "{}", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "542", - "543" + "543", + "544" ], "location": { "end": { @@ -111936,7 +111897,7 @@ } }, { - "id": "3239", + "id": "3241", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 27\n\n@@ -84,11 +84,19 @@\n },\n \"phase\": \"day\",\n \"players\": Array [\n Player {\n \"_id\": \"5da585aec0dc2a57bfe2baf5\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Adam\",\n \"position\": 4815764288700416,\n \"role\": PlayerRole {\n@@ -101,11 +109,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"c1f3a5032eb0c1d9fdd15a6a\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Donna\",\n \"position\": 8804959072026624,\n \"role\": PlayerRole {\n@@ -135,11 +151,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"1834f2ed917dabadb514bc1b\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Tabitha\",\n \"position\": 4699826384011264,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1120:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111944,14 +111905,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "545" ], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111965,7 +111926,7 @@ } }, { - "id": "3240", + "id": "3242", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 18\n+ Received + 2\n\n@@ -101,19 +101,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"b33cfa1bacb8e4fe1fbe811b\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Gracie\",\n \"position\": 6744465563713536,\n \"role\": PlayerRole {\n@@ -143,19 +135,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"2bd5ca712ef33e5faa2f80cc\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Marcelino\",\n \"position\": 3284317360881664,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1159:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -111973,14 +111934,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -111994,7 +111955,7 @@ } }, { - "id": "3241", + "id": "3243", "mutatorName": "LogicalOperator", "replacement": "elderRevengeDeathCauses.includes(death.cause) || elderOptions.doesTakeHisRevenge", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 3\n+ Received + 27\n\n@@ -84,11 +84,19 @@\n },\n \"phase\": \"night\",\n \"players\": Array [\n Player {\n \"_id\": \"eed481c9b9f1ac7ad5c9cdcd\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Fritz\",\n \"position\": 3955395819208704,\n \"role\": PlayerRole {\n@@ -101,11 +109,19 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"7ac4fff3d1afc91fbcdb326a\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"August\",\n \"position\": 323735657644032,\n \"role\": PlayerRole {\n@@ -135,11 +151,19 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"dbda14bdc8b1ac0ec4ef98db\",\n- \"attributes\": Array [],\n+ \"attributes\": Array [\n+ PlayerAttribute {\n+ \"activeAt\": undefined,\n+ \"doesRemainAfterDeath\": true,\n+ \"name\": \"powerless\",\n+ \"remainingPhases\": undefined,\n+ \"source\": \"elder\",\n+ },\n+ ],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Shyann\",\n \"position\": 631485516218368,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1120:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112002,14 +111963,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "544" + "545" ], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112023,7 +111984,7 @@ } }, { - "id": "3242", + "id": "3244", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 18\n+ Received + 2\n\n@@ -101,19 +101,11 @@\n \"original\": \"villagers\",\n },\n },\n Player {\n \"_id\": \"e20d57a813aada124ab5c5de\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Jakayla\",\n \"position\": 2973091347038208,\n \"role\": PlayerRole {\n@@ -143,19 +135,11 @@\n \"original\": \"werewolves\",\n },\n },\n Player {\n \"_id\": \"bc8eda8dc0d9b25ceaad015d\",\n- \"attributes\": Array [\n- PlayerAttribute {\n- \"activeAt\": undefined,\n- \"doesRemainAfterDeath\": true,\n- \"name\": \"powerless\",\n- \"remainingPhases\": undefined,\n- \"source\": \"elder\",\n- },\n- ],\n+ \"attributes\": Array [],\n \"death\": undefined,\n \"isAlive\": true,\n \"name\": \"Lisa\",\n \"position\": 538854006194176,\n \"role\": PlayerRole {\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1159:89)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112031,10 +111992,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "546" + "547" ], "coveredBy": [ - "546" + "547" ], "location": { "end": { @@ -112048,7 +112009,7 @@ } }, { - "id": "3243", + "id": "3245", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(195,46): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ObjectId[]'.\n Type 'undefined' is not assignable to type 'ObjectId'.\n", @@ -112056,7 +112017,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "546" + "547" ], "location": { "end": { @@ -112070,7 +112031,7 @@ } }, { - "id": "3244", + "id": "3246", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112078,11 +112039,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112096,7 +112057,7 @@ } }, { - "id": "3245", + "id": "3247", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112104,11 +112065,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112122,7 +112083,7 @@ } }, { - "id": "3246", + "id": "3248", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true && idiotPlayer.role.isRevealed || idiotOptions.doesDieOnElderDeath", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112130,11 +112091,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112148,7 +112109,7 @@ } }, { - "id": "3247", + "id": "3249", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112156,11 +112117,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112174,7 +112135,7 @@ } }, { - "id": "3248", + "id": "3250", "mutatorName": "LogicalOperator", "replacement": "idiotPlayer?.isAlive === true || idiotPlayer.role.isRevealed", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(198,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112182,11 +112143,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112200,7 +112161,7 @@ } }, { - "id": "3249", + "id": "3251", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(198,17): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112208,11 +112169,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112226,7 +112187,7 @@ } }, { - "id": "3250", + "id": "3252", "mutatorName": "EqualityOperator", "replacement": "idiotPlayer?.isAlive !== true", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(198,42): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112234,11 +112195,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112252,7 +112213,7 @@ } }, { - "id": "3251", + "id": "3253", "mutatorName": "OptionalChaining", "replacement": "idiotPlayer.isAlive", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(198,9): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(198,41): error TS18048: 'idiotPlayer' is possibly 'undefined'.\nsrc/modules/game/providers/services/player/player-killer.service.ts(199,30): error TS2345: Argument of type 'Player | undefined' is not assignable to parameter of type 'Player'.\n Type 'undefined' is not assignable to type 'Player'.\n", @@ -112260,11 +112221,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112278,7 +112239,7 @@ } }, { - "id": "3252", + "id": "3254", "mutatorName": "BooleanLiteral", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1195:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112286,14 +112247,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "548" + "549" ], "coveredBy": [ - "544", "545", "546", "547", - "548" + "548", + "549" ], "location": { "end": { @@ -112307,7 +112268,7 @@ } }, { - "id": "3253", + "id": "3255", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1195:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112315,10 +112276,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "548" + "549" ], "coveredBy": [ - "548" + "549" ], "location": { "end": { @@ -112332,7 +112293,7 @@ } }, { - "id": "3254", + "id": "3256", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(204,71): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -112340,9 +112301,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112356,7 +112317,7 @@ } }, { - "id": "3255", + "id": "3257", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -156,21 +156,10 @@\n \"status\": \"over\",\n \"tick\": 8967494825934848,\n \"turn\": 1076479150522368,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"shoot\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"hunter\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"ban-voting\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1238:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112364,12 +112325,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "551" + "552" ], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112383,7 +112344,7 @@ } }, { - "id": "3256", + "id": "3258", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 6782273592492032,\n \"turn\": 3633574429327360,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T12:42:30.571Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1209:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112391,12 +112352,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "549" + "550" ], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112410,7 +112371,7 @@ } }, { - "id": "3257", + "id": "3259", "mutatorName": "LogicalOperator", "replacement": "killedPlayer.role.current !== RoleNames.HUNTER && !isPlayerPowerful(killedPlayer, game)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 3807394406596608,\n \"turn\": 8792165763252224,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T20:07:06.971Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1209:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112418,12 +112379,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "549" + "550" ], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112437,7 +112398,7 @@ } }, { - "id": "3258", + "id": "3260", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"playing\",\n \"tick\": 6457169922752512,\n \"turn\": 6173769546596352,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T00:10:26.531Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1209:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112445,12 +112406,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "549" + "550" ], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112464,7 +112425,7 @@ } }, { - "id": "3259", + "id": "3261", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current === RoleNames.HUNTER", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 7855760593649664,\n \"turn\": 1166930803163136,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T03:01:51.636Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1209:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112472,12 +112433,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "549" + "550" ], "coveredBy": [ - "549", "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112491,7 +112452,7 @@ } }, { - "id": "3260", + "id": "3262", "mutatorName": "BooleanLiteral", "replacement": "isPlayerPowerful(killedPlayer, game)", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -162,9 +162,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 2076332481576960,\n \"turn\": 5996843815141376,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-28T15:39:10.124Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1221:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112499,11 +112460,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "550" + "551" ], "coveredBy": [ - "550", - "551" + "551", + "552" ], "location": { "end": { @@ -112517,7 +112478,7 @@ } }, { - "id": "3261", + "id": "3263", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 13\n\n@@ -154,9 +154,21 @@\n },\n ],\n \"status\": \"canceled\",\n \"tick\": 629611830444032,\n \"turn\": 6143575125393408,\n- \"upcomingPlays\": Array [],\n+ \"upcomingPlays\": Array [\n+ GamePlay {\n+ \"action\": \"shoot\",\n+ \"canBeSkipped\": undefined,\n+ \"cause\": undefined,\n+ \"eligibleTargets\": undefined,\n+ \"occurrence\": \"consequential\",\n+ \"source\": GamePlaySource {\n+ \"name\": \"hunter\",\n+ \"players\": undefined,\n+ },\n+ },\n+ ],\n \"updatedAt\": 2023-11-29T12:07:48.926Z,\n \"victory\": undefined,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1209:83)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112525,11 +112486,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "549" + "550" ], "coveredBy": [ - "549", - "550" + "550", + "551" ], "location": { "end": { @@ -112543,7 +112504,7 @@ } }, { - "id": "3262", + "id": "3264", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(224,95): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -112551,12 +112512,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "552", + "473", "553", "554", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112570,7 +112531,7 @@ } }, { - "id": "3263", + "id": "3265", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"c0aeeb009d60f9fa8eedbfb3\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T14:45:48.175Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": false}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 4}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 1}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": true}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 8679795829243904}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": false}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"ab5c9e00e9226bc50e23a2fc\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Matteo\", \"position\": 799408012656640, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cf8848d4ee6b94ae069dc637\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Shea\", \"position\": 981070732328960, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"371ddae4e8f521bfec2a0fe2\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Pink\", \"position\": 4308033616216064, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"5db9fa7c8ed2afa088d4dabe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gonzalo\", \"position\": 7977747303366656, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"playing\", \"tick\": 543037136568320, \"turn\": 8470779438039040, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T22:24:34.880Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1260:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112578,15 +112539,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "472", - "552", + "473", "553", "554", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112600,7 +112561,7 @@ } }, { - "id": "3264", + "id": "3266", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1278:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112608,15 +112569,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "553" + "554" ], "coveredBy": [ - "472", - "552", + "473", "553", "554", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112630,7 +112591,7 @@ } }, { - "id": "3265", + "id": "3267", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.HUNTER", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(229,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.HUNTER' and 'RoleNames.ELDER' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(232,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.HUNTER' and 'RoleNames.SCAPEGOAT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(235,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.HUNTER' and 'RoleNames.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -112638,12 +112599,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "552", + "473", "553", "554", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112657,7 +112618,7 @@ } }, { - "id": "3266", + "id": "3268", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1278:66)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112665,10 +112626,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "553" + "554" ], "coveredBy": [ - "553" + "554" ], "location": { "end": { @@ -112682,7 +112643,7 @@ } }, { - "id": "3267", + "id": "3269", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"262bd3cf3fe803eebd06133a\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T03:07:24.395Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": false, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": true}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8666092788514816}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 1}, \"thief\": {\"additionalCardsCount\": 5, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 0}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"de8fcb7e6dff34ed9b28e2f4\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Macy\", \"position\": 4803317588819968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"b564feee1e4bdbcd2286daba\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Khalid\", \"position\": 8224443572682752, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"bfb742b476a2d0ff3eb6aefe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Harry\", \"position\": 3940576097468416, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"baad623285554a8b501016e1\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Brody\", \"position\": 6383179084595200, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 4529629673029632, \"turn\": 7562842005831680, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T12:15:55.108Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1260:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112690,14 +112651,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "472", - "552", - "554", + "473", + "553", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112711,7 +112672,7 @@ } }, { - "id": "3268", + "id": "3270", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1294:65)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112719,14 +112680,14 @@ "testsCompleted": 5, "static": false, "killedBy": [ - "554" + "555" ], "coveredBy": [ - "472", - "552", - "554", + "473", + "553", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112740,7 +112701,7 @@ } }, { - "id": "3269", + "id": "3271", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.ELDER", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(232,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.ELDER' and 'RoleNames.SCAPEGOAT' have no overlap.\nsrc/modules/game/providers/services/player/player-killer.service.ts(235,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.ELDER' and 'RoleNames.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -112748,11 +112709,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "552", - "554", + "473", + "553", "555", - "556" + "556", + "557" ], "location": { "end": { @@ -112766,7 +112727,7 @@ } }, { - "id": "3270", + "id": "3272", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1294:65)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112774,10 +112735,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "554" + "555" ], "coveredBy": [ - "554" + "555" ], "location": { "end": { @@ -112791,7 +112752,7 @@ } }, { - "id": "3271", + "id": "3273", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"a9eff0dbb12ba7b859e5aed1\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T22:06:08.899Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": false, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": false}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": true}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 1}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 5}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 8628961661681664}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 1, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 3}, \"twoSisters\": {\"wakingUpInterval\": 3}, \"whiteWerewolf\": {\"wakingUpInterval\": 4}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"7a2ae1fbda1e3b68fa3ca9d8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Noelia\", \"position\": 3586913017528320, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"cfc0d28c0fba2cfed7a2d2d8\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Davion\", \"position\": 3388863040978944, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"e9feedf5ca0ae8222c1f7e35\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tabitha\", \"position\": 1633301718630400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"d36dcd2e6518b3e10b0daba5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Gunnar\", \"position\": 7663667034193920, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"over\", \"tick\": 7335500796919808, \"turn\": 8360992408862720, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T19:00:12.108Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1260:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112799,13 +112760,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "472", - "552", - "555", - "556" + "473", + "553", + "556", + "557" ], "location": { "end": { @@ -112819,7 +112780,7 @@ } }, { - "id": "3272", + "id": "3274", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1400:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112827,13 +112788,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "555" + "556" ], "coveredBy": [ - "472", - "552", - "555", - "556" + "473", + "553", + "556", + "557" ], "location": { "end": { @@ -112847,7 +112808,7 @@ } }, { - "id": "3273", + "id": "3275", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.SCAPEGOAT", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(235,9): error TS2367: This comparison appears to be unintentional because the types 'RoleNames.SCAPEGOAT' and 'RoleNames.RUSTY_SWORD_KNIGHT' have no overlap.\n", @@ -112855,10 +112816,10 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "552", - "555", - "556" + "473", + "553", + "556", + "557" ], "location": { "end": { @@ -112872,7 +112833,7 @@ } }, { - "id": "3274", + "id": "3276", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1311:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112880,10 +112841,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "555" + "556" ], "coveredBy": [ - "555" + "556" ], "location": { "end": { @@ -112897,7 +112858,7 @@ } }, { - "id": "3275", + "id": "3277", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"0ebcf6fcae7a21e22c07bc71\", \"additionalCards\": undefined, \"createdAt\": 2023-12-02T05:55:46.321Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"elder\": {\"doesTakeHisRevenge\": true, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": true}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 1, \"isPowerlessIfInfected\": true}, \"scandalmonger\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7831308128485376}, \"hasDoubledVote\": true, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 2}, \"thief\": {\"additionalCardsCount\": 4, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 2}, \"whiteWerewolf\": {\"wakingUpInterval\": 1}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": false}, \"wolfHound\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}}, \"votes\": {\"canBeSkipped\": false}}, \"phase\": \"night\", \"players\": [{\"_id\": \"99028eafab87e0dcc52dffee\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Winona\", \"position\": 1400385201766400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"c1ae5eec793ceee2b33d8ce4\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Pete\", \"position\": 1603236073046016, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4950c9ac81c771d4adcaa0b1\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Viviane\", \"position\": 4295641687654400, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"3254fe5cdfa4eb04b128240c\", \"attributes\": [], \"death\": undefined, \"group\": undefined, \"isAlive\": true, \"name\": \"Opal\", \"position\": 2296390715703296, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 6198269505961984, \"turn\": 3008424883257344, \"upcomingPlays\": [], \"updatedAt\": 2023-12-02T10:52:33.833Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1349:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112905,12 +112866,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "472", - "552", - "556" + "473", + "553", + "557" ], "location": { "end": { @@ -112924,7 +112885,7 @@ } }, { - "id": "3276", + "id": "3278", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1417:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112932,12 +112893,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "556" + "557" ], "coveredBy": [ - "472", - "552", - "556" + "473", + "553", + "557" ], "location": { "end": { @@ -112951,7 +112912,7 @@ } }, { - "id": "3277", + "id": "3279", "mutatorName": "EqualityOperator", "replacement": "killedPlayer.role.current !== RoleNames.RUSTY_SWORD_KNIGHT", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\nExpected: {\"_id\": \"e1ffc7f1ed7bf7eb36c2a17e\", \"additionalCards\": undefined, \"createdAt\": 2023-11-29T14:06:49.160Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": true}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": true}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": false, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 3}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": true}, \"littleGirl\": {\"isProtectedByDefender\": false}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 4, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 2}, \"seer\": {\"canSeeRoles\": true, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"day\", \"turn\": 531680550977536}, \"hasDoubledVote\": true, \"isEnabled\": false}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 1}, \"twoSisters\": {\"wakingUpInterval\": 1}, \"whiteWerewolf\": {\"wakingUpInterval\": 2}, \"wildChild\": {\"isTransformationRevealed\": false}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"night\", \"players\": [{\"_id\": \"2b21813207edc09ba0a3dce0\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Orland\", \"position\": 757322544578560, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a116c5ef7eadc6182cfec0fe\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eden\", \"position\": 3987347928514560, \"role\": {\"current\": \"hunter\", \"isRevealed\": false, \"original\": \"hunter\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"6cbf6c021b81fd005c8febfd\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Marlee\", \"position\": 8380123308883968, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"caba8d06fdbedf70a9f5d58d\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Eleanore\", \"position\": 6238970943897600, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 1019806568415232, \"turn\": 1306365857366016, \"upcomingPlays\": [], \"updatedAt\": 2023-11-29T07:52:31.049Z, \"victory\": undefined}\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1260:94)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112959,12 +112920,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "552" + "553" ], "coveredBy": [ - "472", - "552", - "556" + "473", + "553", + "557" ], "location": { "end": { @@ -112978,7 +112939,7 @@ } }, { - "id": "3278", + "id": "3280", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1417:76)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -112986,10 +112947,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "556" + "557" ], "coveredBy": [ - "556" + "557" ], "location": { "end": { @@ -113003,7 +112964,7 @@ } }, { - "id": "3279", + "id": "3281", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(241,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -113011,13 +112972,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113031,7 +112992,7 @@ } }, { - "id": "3280", + "id": "3282", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"applyPlayerDeathOutcomes\", {\"gameId\": \"d2af6c5d538cebe4bc2b48a4\", \"playerId\": \"36cc95f7aded00f78081df8c\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1357:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113039,16 +113000,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "557" + "558" ], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113062,7 +113023,7 @@ } }, { - "id": "3281", + "id": "3283", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(244,105): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -113070,13 +113031,13 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113090,7 +113051,7 @@ } }, { - "id": "3282", + "id": "3284", "mutatorName": "BooleanLiteral", "replacement": "doesGameHaveCurrentOrUpcomingPlaySourceAndAction(clonedGame, PlayerGroups.SURVIVORS, GamePlayActions.BURY_DEAD_BODIES)", "statusReason": "SyntaxError: \"undefined\" is not valid JSON\n at JSON.parse ()\n at toJSON (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/shared/misc/helpers/object.helper.ts:57:18)\n at createGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/game.factory.ts:66:40)\n at prependUpcomingPlayInGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/game.mutator.ts:147:34)\n at PlayerKillerService.applyPlayerDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/providers/services/player/player-killer.service.ts:521:49)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1355:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113098,16 +113059,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "557" + "558" ], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113121,7 +113082,7 @@ } }, { - "id": "3283", + "id": "3285", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "SyntaxError: \"undefined\" is not valid JSON\n at JSON.parse ()\n at toJSON (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/shared/misc/helpers/object.helper.ts:57:18)\n at createGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/game.factory.ts:66:40)\n at prependUpcomingPlayInGame (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/helpers/game.mutator.ts:147:34)\n at PlayerKillerService.applyPlayerDeathOutcomes (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/src/modules/game/providers/services/player/player-killer.service.ts:521:49)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1355:56)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113129,16 +113090,16 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "557" + "558" ], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113152,7 +113113,7 @@ } }, { - "id": "3284", + "id": "3286", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -160,21 +160,10 @@\n \"status\": \"over\",\n \"tick\": 6340783839903744,\n \"turn\": 7854861632667648,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"bury-dead-bodies\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1557:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113160,16 +113121,16 @@ "testsCompleted": 7, "static": false, "killedBy": [ - "562" + "563" ], "coveredBy": [ - "472", - "557", + "473", "558", "559", "560", "561", - "562" + "562", + "563" ], "location": { "end": { @@ -113183,7 +113144,7 @@ } }, { - "id": "3285", + "id": "3287", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 11\n+ Received + 0\n\n@@ -160,21 +160,10 @@\n \"status\": \"over\",\n \"tick\": 4735546542784512,\n \"turn\": 5289854424317952,\n \"upcomingPlays\": Array [\n GamePlay {\n- \"action\": \"bury-dead-bodies\",\n- \"canBeSkipped\": undefined,\n- \"cause\": undefined,\n- \"eligibleTargets\": undefined,\n- \"occurrence\": \"consequential\",\n- \"source\": GamePlaySource {\n- \"name\": \"survivors\",\n- \"players\": undefined,\n- },\n- },\n- GamePlay {\n \"action\": \"shoot\",\n \"canBeSkipped\": undefined,\n \"cause\": undefined,\n \"eligibleTargets\": undefined,\n \"occurrence\": \"consequential\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9235611/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1557:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113191,11 +113152,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "562" + "563" ], "coveredBy": [ - "472", - "562" + "473", + "563" ], "location": { "end": { @@ -113209,7 +113170,7 @@ } }, { - "id": "3286", + "id": "3288", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(242,77): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -113217,8 +113178,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "563" + "473", + "564" ], "location": { "end": { @@ -113232,7 +113193,7 @@ } }, { - "id": "3287", + "id": "3289", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"killPlayer\", {\"gameId\": \"fdbf9d0f429e7a0fdc0be335\", \"playerId\": \"41aa553e1ef87a21cd1920dd\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1474:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113240,11 +113201,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "563" + "564" ], "coveredBy": [ - "472", - "563" + "473", + "564" ], "location": { "end": { @@ -113258,7 +113219,7 @@ } }, { - "id": "3288", + "id": "3290", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(245,91): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -113266,8 +113227,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "472", - "563" + "473", + "564" ], "location": { "end": { @@ -113281,7 +113242,7 @@ } }, { - "id": "3289", + "id": "3291", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"2d1f0b5ecc52bac5911ff8b5\", {\"_id\": \"2d1f0b5ecc52bac5911ff8b5\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Randall\", \"position\": 8210005169799168, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4fddfd2ffe41d0001f227c42\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T22:55:19.827Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7652374740992000}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2d1f0b5ecc52bac5911ff8b5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Randall\", \"position\": 8210005169799168, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"abee8ef89844a2e9bcf24edf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ilene\", \"position\": 8859407190327296, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a2d54acba26f989aeab3bced\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cristal\", \"position\": 2577727125192704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2fe7ffd9ef4b0d759a63a86e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tiffany\", \"position\": 5470878271799296, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 8040875768676352, \"turn\": 6341175355113472, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T17:31:42.074Z, \"victory\": undefined}\nReceived\n-> 1\n \"2d1f0b5ecc52bac5911ff8b5\",\n @@ -3,11 +3,11 @@\n \"attributes\": Array [],\n \"death\": PlayerDeath {\n \"cause\": \"death-potion\",\n \"source\": \"witch\",\n },\n - \"isAlive\": false,\n + \"isAlive\": true,\n \"name\": \"Randall\",\n \"position\": 8210005169799168,\n \"role\": PlayerRole {\n \"current\": \"rusty-sword-knight\",\n \"isRevealed\": false,,\n {\"_id\": \"4fddfd2ffe41d0001f227c42\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T22:55:19.827Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7652374740992000}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2d1f0b5ecc52bac5911ff8b5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Randall\", \"position\": 8210005169799168, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"abee8ef89844a2e9bcf24edf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ilene\", \"position\": 8859407190327296, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a2d54acba26f989aeab3bced\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cristal\", \"position\": 2577727125192704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2fe7ffd9ef4b0d759a63a86e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tiffany\", \"position\": 5470878271799296, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 8040875768676352, \"turn\": 6341175355113472, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T17:31:42.074Z, \"victory\": undefined},\n 2: \"2d1f0b5ecc52bac5911ff8b5\", {\"_id\": \"2d1f0b5ecc52bac5911ff8b5\", \"attributes\": [], \"death\": {\"cause\": \"death-potion\", \"source\": \"witch\"}, \"isAlive\": false, \"name\": \"Randall\", \"position\": 8210005169799168, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"4fddfd2ffe41d0001f227c42\", \"additionalCards\": undefined, \"createdAt\": 2023-11-28T22:55:19.827Z, \"currentPlay\": null, \"options\": {\"composition\": {\"isHidden\": false}, \"roles\": {\"areRevealedOnDeath\": true, \"bearTamer\": {\"doesGrowlIfInfected\": true}, \"bigBadWolf\": {\"isPowerlessIfWerewolfDies\": false}, \"defender\": {\"canProtectTwice\": true}, \"doSkipCallIfNoTarget\": true, \"dogWolf\": {\"isChosenSideRevealed\": true, \"isSideRandomlyChosen\": false}, \"elder\": {\"doesTakeHisRevenge\": false, \"livesCountAgainstWerewolves\": 5}, \"fox\": {\"isPowerlessIfMissesWerewolf\": false}, \"idiot\": {\"doesDieOnElderDeath\": false}, \"littleGirl\": {\"isProtectedByDefender\": true}, \"piedPiper\": {\"charmedPeopleCountPerNight\": 3, \"isPowerlessIfInfected\": false}, \"raven\": {\"markPenalty\": 3}, \"seer\": {\"canSeeRoles\": false, \"isTalkative\": false}, \"sheriff\": {\"electedAt\": {\"phase\": \"night\", \"turn\": 7652374740992000}, \"hasDoubledVote\": false, \"isEnabled\": true}, \"stutteringJudge\": {\"voteRequestsCount\": 3}, \"thief\": {\"additionalCardsCount\": 2, \"mustChooseBetweenWerewolves\": true}, \"threeBrothers\": {\"wakingUpInterval\": 2}, \"twoSisters\": {\"wakingUpInterval\": 5}, \"whiteWerewolf\": {\"wakingUpInterval\": 5}, \"wildChild\": {\"isTransformationRevealed\": true}, \"witch\": {\"doesKnowWerewolvesTargets\": true}}, \"votes\": {\"canBeSkipped\": true}}, \"phase\": \"day\", \"players\": [{\"_id\": \"2d1f0b5ecc52bac5911ff8b5\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Randall\", \"position\": 8210005169799168, \"role\": {\"current\": \"rusty-sword-knight\", \"isRevealed\": false, \"original\": \"rusty-sword-knight\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}, {\"_id\": \"abee8ef89844a2e9bcf24edf\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Ilene\", \"position\": 8859407190327296, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"a2d54acba26f989aeab3bced\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Cristal\", \"position\": 2577727125192704, \"role\": {\"current\": \"werewolf\", \"isRevealed\": false, \"original\": \"werewolf\"}, \"side\": {\"current\": \"werewolves\", \"original\": \"werewolves\"}}, {\"_id\": \"2fe7ffd9ef4b0d759a63a86e\", \"attributes\": [], \"death\": undefined, \"isAlive\": true, \"name\": \"Tiffany\", \"position\": 5470878271799296, \"role\": {\"current\": \"defender\", \"isRevealed\": false, \"original\": \"defender\"}, \"side\": {\"current\": \"villagers\", \"original\": \"villagers\"}}], \"status\": \"canceled\", \"tick\": 8040875768676352, \"turn\": 6341175355113472, \"upcomingPlays\": [], \"updatedAt\": 2023-11-28T17:31:42.074Z, \"victory\": undefined}\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4927642/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1475:38)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113289,11 +113250,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "563" + "564" ], "coveredBy": [ - "472", - "563" + "473", + "564" ], "location": { "end": { @@ -113307,7 +113268,7 @@ } }, { - "id": "3290", + "id": "3292", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(255,72): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -113315,8 +113276,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113330,7 +113291,7 @@ } }, { - "id": "3291", + "id": "3293", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/modules/game/providers/services/player/player-killer.service.ts(257,130): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\nsrc/modules/game/providers/services/player/player-killer.service.ts(259,76): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ gameId: ObjectId; playerId: ObjectId; }'.\n Type '{}' is missing the following properties from type '{ gameId: ObjectId; playerId: ObjectId; }': gameId, playerId\n", @@ -113338,8 +113299,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113353,7 +113314,7 @@ } }, { - "id": "3292", + "id": "3294", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"getPlayerToKillInGame\", {\"gameId\": \"d8bd27c83cbee2be0020ab99\", \"playerId\": \"fb1d4cb4be3283dfec37fada\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1489:88)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113361,11 +113322,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113379,7 +113340,7 @@ } }, { - "id": "3293", + "id": "3295", "mutatorName": "BooleanLiteral", "replacement": "playerToKill.isAlive", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in getPlayerToKillInGame\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1488:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113387,11 +113348,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113405,7 +113366,7 @@ } }, { - "id": "3294", + "id": "3296", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: thrown: undefined\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1493:5\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1470:3\n at _dispatchDescribe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:91:26)\n at describe (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/index.js:55:5)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:31:1)\n at Runtime._execModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1439:24)\n at Runtime._loadModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:1022:12)\n at Runtime.requireModule (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runtime/build/index.js:882:12)\n at jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113413,11 +113374,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "565" + "566" ], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113431,7 +113392,7 @@ } }, { - "id": "3295", + "id": "3297", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in getPlayerToKillInGame\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1488:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113439,11 +113400,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "564", - "565" + "565", + "566" ], "location": { "end": { @@ -113457,7 +113418,7 @@ } }, { - "id": "3296", + "id": "3298", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"Unexpected exception in getPlayerToKillInGame\"\n\nReceived function did not throw\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1488:90)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113465,10 +113426,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "564" + "565" ], "location": { "end": { @@ -113482,7 +113443,7 @@ } }, { - "id": "3297", + "id": "3299", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"getPlayerToKillInGame\", {\"gameId\": \"debd23cd2e1b1ed02b604c7d\", \"playerId\": \"aaffbbb787d5de5ca1d4d36a\"}], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts:1490:86)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -113490,10 +113451,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "564" + "565" ], "coveredBy": [ - "564" + "565" ], "location": { "end": { @@ -113513,7 +113474,7 @@ "language": "typescript", "mutants": [ { - "id": "3298", + "id": "3300", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Static mutant (and \"ignoreStatic\" was enabled)", @@ -113532,7 +113493,7 @@ } }, { - "id": "3299", + "id": "3301", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Static mutant (and \"ignoreStatic\" was enabled)", @@ -113557,7 +113518,7 @@ "language": "typescript", "mutants": [ { - "id": "3300", + "id": "3302", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/health/controllers/health.controller.ts(22,26): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -113565,7 +113526,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1301" + "1302" ], "location": { "end": { @@ -113579,7 +113540,7 @@ } }, { - "id": "3301", + "id": "3303", "mutatorName": "ArrayDeclaration", "replacement": "[]", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 10\n+ Received + 2\n\n Object {\n- \"details\": Object {\n- \"mongoose\": Object {\n- \"status\": \"up\",\n- },\n- },\n+ \"details\": Object {},\n \"error\": Object {},\n- \"info\": Object {\n- \"mongoose\": Object {\n- \"status\": \"up\",\n- },\n- },\n+ \"info\": Object {},\n \"status\": \"ok\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:30:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -113587,10 +113548,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1301" + "1302" ], "coveredBy": [ - "1301" + "1302" ], "location": { "end": { @@ -113604,7 +113565,7 @@ } }, { - "id": "3302", + "id": "3304", "mutatorName": "ArrowFunction", "replacement": "() => undefined", "statusReason": "src/modules/health/controllers/health.controller.ts(23,37): error TS2322: Type 'undefined' is not assignable to type 'HealthIndicatorResult | PromiseLike'.\n", @@ -113612,7 +113573,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1301" + "1302" ], "location": { "end": { @@ -113626,7 +113587,7 @@ } }, { - "id": "3303", + "id": "3305", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 2\n\n Object {\n \"details\": Object {\n- \"mongoose\": Object {\n+ \"\": Object {\n \"status\": \"up\",\n },\n },\n \"error\": Object {},\n \"info\": Object {\n- \"mongoose\": Object {\n+ \"\": Object {\n \"status\": \"up\",\n },\n },\n \"status\": \"ok\",\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts:30:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -113634,10 +113595,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1301" + "1302" ], "coveredBy": [ - "1301" + "1302" ], "location": { "end": { @@ -113653,11 +113614,39 @@ ], "source": "import { Controller, Get } from \"@nestjs/common\";\nimport { ApiOperation, ApiTags } from \"@nestjs/swagger\";\nimport { HealthCheck, HealthCheckService, MongooseHealthIndicator } from \"@nestjs/terminus\";\nimport type { HealthCheckResult, HealthIndicatorResult } from \"@nestjs/terminus\";\n\nimport { ApiResources } from \"@/shared/api/enums/api.enum\";\n\n@ApiTags(\"❤️ Health\")\n@Controller(ApiResources.HEALTH)\nexport class HealthController {\n public constructor(\n private readonly health: HealthCheckService,\n private readonly mongoose: MongooseHealthIndicator,\n ) {}\n\n @Get()\n @ApiOperation({\n summary: \"Get health's status of the API\",\n description: \"The health will be defined against the MongoDB connection instance\",\n })\n @HealthCheck()\n private async check(): Promise {\n return this.health.check([async(): Promise => this.mongoose.pingCheck(\"mongoose\")]);\n }\n}" }, + "src/modules/role/controllers/role.controller.ts": { + "language": "typescript", + "mutants": [ + { + "id": "3306", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/role/controllers/role.controller.ts(15,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "killedBy": [], + "coveredBy": [ + "1307" + ], + "location": { + "end": { + "column": 4, + "line": 17 + }, + "start": { + "column": 30, + "line": 15 + } + } + } + ], + "source": "import { Controller, Get, HttpStatus } from \"@nestjs/common\";\nimport { ApiOperation, ApiResponse, ApiTags } from \"@nestjs/swagger\";\n\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\nimport { Role } from \"@/modules/role/types/role.type\";\n\nimport { ApiResources } from \"@/shared/api/enums/api.enum\";\n\n@ApiTags(\"🃏 Roles\")\n@Controller(ApiResources.ROLES)\nexport class RoleController {\n @Get()\n @ApiOperation({ summary: \"Get all available roles for games\" })\n @ApiResponse({ status: HttpStatus.OK, type: Role, isArray: true })\n private getRoles(): Role[] {\n return ROLES as Role[];\n }\n}" + }, "src/modules/role/helpers/role.factory.ts": { "language": "typescript", "mutants": [ { - "id": "3305", + "id": "3307", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/modules/role/helpers/role.factory.ts(8,34): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -113665,7 +113654,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1311" + "1312" ], "location": { "end": { @@ -113685,19 +113674,15 @@ "language": "typescript", "mutants": [ { - "id": "3307", - "mutatorName": "MethodExpression", - "replacement": "roles", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 18\n\n@@ -9,10 +9,28 @@\n \"type\": \"werewolf\",\n },\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n+ \"name\": \"villager\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n+ \"name\": \"pied-piper\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n \"name\": \"white-werewolf\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n \"side\": \"werewolves\",\n \"type\": \"werewolf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 14, + "id": "3308", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/modules/role/helpers/role.helper.ts(4,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1229" - ], + "killedBy": [], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", @@ -113708,80 +113693,85 @@ "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { - "column": 50, - "line": 5 + "column": 2, + "line": 6 }, "start": { - "column": 10, - "line": 5 + "column": 67, + "line": 4 } } }, { "id": "3309", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "mutatorName": "MethodExpression", + "replacement": "roles", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 18\n\n@@ -9,10 +9,28 @@\n \"type\": \"werewolf\",\n },\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n+ \"name\": \"villager\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n+ \"name\": \"pied-piper\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n \"name\": \"white-werewolf\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n \"side\": \"werewolves\",\n \"type\": \"werewolf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 14, "static": false, "killedBy": [ - "1229" + "1230" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { - "column": 49, + "column": 50, "line": 5 }, "start": { - "column": 31, + "column": 10, "line": 5 } } }, { "id": "3310", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 20\n+ Received + 1\n\n- Array [\n- Role {\n- \"maxInGame\": 1,\n- \"minInGame\": undefined,\n- \"name\": \"werewolf\",\n- \"origin\": \"classic\",\n- \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n- },\n- Role {\n- \"maxInGame\": 1,\n- \"minInGame\": undefined,\n- \"name\": \"white-werewolf\",\n- \"origin\": \"classic\",\n- \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n- },\n- ]\n+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "mutatorName": "ArrowFunction", + "replacement": "() => undefined", + "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", - "testsCompleted": 12, + "testsCompleted": 14, "static": false, "killedBy": [ - "1229" + "910" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", + "907", + "908", "909", "910", "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { @@ -113789,35 +113779,35 @@ "line": 5 }, "start": { - "column": 31, + "column": 23, "line": 5 } } }, { "id": "3311", - "mutatorName": "EqualityOperator", - "replacement": "role.side !== side", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 6\n\n Array [\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n- \"name\": \"werewolf\",\n+ \"name\": \"villager\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n },\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n- \"name\": \"white-werewolf\",\n+ \"name\": \"pied-piper\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 0\n+ Received + 18\n\n@@ -9,10 +9,28 @@\n \"type\": \"werewolf\",\n },\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n+ \"name\": \"villager\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n+ \"name\": \"pied-piper\",\n+ \"origin\": \"classic\",\n+ \"recommendedMinPlayers\": undefined,\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n+ },\n+ Role {\n+ \"maxInGame\": 1,\n+ \"minInGame\": undefined,\n \"name\": \"white-werewolf\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n \"side\": \"werewolves\",\n \"type\": \"werewolf\",\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", "testsCompleted": 12, "static": false, "killedBy": [ - "1229" + "1230" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", - "909", + "907", "910", "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { @@ -113831,65 +113821,65 @@ } }, { - "id": "3306", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/modules/role/helpers/role.helper.ts(4,60): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", + "id": "3312", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 20\n+ Received + 1\n\n- Array [\n- Role {\n- \"maxInGame\": 1,\n- \"minInGame\": undefined,\n- \"name\": \"werewolf\",\n- \"origin\": \"classic\",\n- \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n- },\n- Role {\n- \"maxInGame\": 1,\n- \"minInGame\": undefined,\n- \"name\": \"white-werewolf\",\n- \"origin\": \"classic\",\n- \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n- },\n- ]\n+ Array []\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 12, "static": false, + "killedBy": [ + "1230" + ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { - "column": 2, - "line": 6 + "column": 49, + "line": 5 }, "start": { - "column": 67, - "line": 4 + "column": 31, + "line": 5 } } }, { - "id": "3308", - "mutatorName": "ArrowFunction", - "replacement": "() => undefined", - "statusReason": "Error: expect(received).toIncludeAllMembers(expected)\n\nExpected list to have all of the following members:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"seer\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"witch\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 0, \"minInGame\": undefined, \"name\": \"pied-piper\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\nReceived:\n [{\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}, {\"additionalCardsEligibleRecipients\": [\"thief\"], \"maxInGame\": 99, \"minInGame\": undefined, \"name\": \"villager\", \"origin\": \"classic\", \"recommendedMinPlayers\": undefined, \"side\": \"villagers\", \"type\": \"villager\"}]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox3714459/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:105:22)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "id": "3313", + "mutatorName": "EqualityOperator", + "replacement": "role.side !== side", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 6\n\n Array [\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n- \"name\": \"werewolf\",\n+ \"name\": \"villager\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n+ \"side\": \"villagers\",\n+ \"type\": \"villager\",\n },\n Role {\n \"maxInGame\": 1,\n \"minInGame\": undefined,\n- \"name\": \"white-werewolf\",\n+ \"name\": \"pied-piper\",\n \"origin\": \"classic\",\n \"recommendedMinPlayers\": undefined,\n- \"side\": \"werewolves\",\n- \"type\": \"werewolf\",\n+ \"side\": \"villagers\",\n+ \"type\": \"ambiguous\",\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/role/helpers/role.helper.spec.ts:59:61)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", "status": "Killed", + "testsCompleted": 12, "static": false, - "testsCompleted": 14, "killedBy": [ - "909" + "1230" ], "coveredBy": [ - "576", - "903", + "577", "904", "905", "906", "907", - "908", - "909", "910", "911", "912", "913", - "1229", - "1230" + "914", + "1230", + "1231" ], "location": { "end": { @@ -113897,7 +113887,7 @@ "line": 5 }, "start": { - "column": 23, + "column": 31, "line": 5 } } @@ -113909,7 +113899,7 @@ "language": "typescript", "mutants": [ { - "id": "3313", + "id": "3315", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toContainEqual(expected) // deep equality\n\nExpected value: \"players must contain no more than 40 elements\"\nReceived array: [\"players.name must be shorter than or equal to 30 characters\", \"players.name must be longer than or equal to 1 characters\", \"players.name must be a string\"]\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:207:60\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -113917,10 +113907,9 @@ "testsCompleted": 62, "static": false, "killedBy": [ - "569" + "570" ], "coveredBy": [ - "566", "567", "568", "569", @@ -113984,10 +113973,11 @@ "627", "628", "629", - "1301", - "1306", - "1316", - "1317" + "630", + "1302", + "1307", + "1317", + "1318" ], "location": { "end": { @@ -114001,14 +113991,13 @@ } }, { - "id": "3312", + "id": "3314", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/server/helpers/server.helper.ts(4,44): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "566", "567", "568", "569", @@ -114072,10 +114061,11 @@ "627", "628", "629", - "1301", - "1306", - "1316", - "1317" + "630", + "1302", + "1307", + "1317", + "1318" ], "location": { "end": { @@ -114095,7 +114085,7 @@ "language": "typescript", "mutants": [ { - "id": "3314", + "id": "3316", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/server/server.ts(15,29): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -114103,14 +114093,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114124,7 +114114,7 @@ } }, { - "id": "3315", + "id": "3317", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 2\nExpected: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:8080\", \"NestApplication\"\n-> 2: \"📖 API Documentation is available at http://127.0.0.1:8080/\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:129:42)", @@ -114132,17 +114122,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1172" + "1173" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114156,7 +114146,7 @@ } }, { - "id": "3316", + "id": "3318", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "src/server/server.ts(20,23): error TS2345: Argument of type '{}' is not assignable to parameter of type 'FastifyStaticOptions'.\n Property 'root' is missing in type '{}' but required in type 'FastifyStaticOptions'.\n", @@ -114164,14 +114154,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114185,7 +114175,7 @@ } }, { - "id": "3317", + "id": "3319", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"prefix\": \"/public/\", \"root\": \"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/public\"}], but it was called with {\"prefix\": \"/public/\", \"root\": \"\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:118:70)", @@ -114193,17 +114183,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1171" + "1172" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114217,7 +114207,7 @@ } }, { - "id": "3318", + "id": "3320", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [{\"prefix\": \"/public/\", \"root\": \"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/public\"}], but it was called with {\"prefix\": \"\", \"root\": \"/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/public\"}\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:118:70)", @@ -114225,17 +114215,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1171" + "1172" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114249,7 +114239,7 @@ } }, { - "id": "3319", + "id": "3321", "mutatorName": "LogicalOperator", "replacement": "process.env.HOST && DEFAULT_APP_HOST", "statusReason": "src/server/server.ts(26,26): error TS2769: No overload matches this call.\n Overload 1 of 3, '(port: string | number, callback?: ((err: Error, address: string) => void) | undefined): Promise', gave the following error.\n Argument of type '\"\" | \"127.0.0.1\" | undefined' is not assignable to parameter of type '((err: Error, address: string) => void) | undefined'.\n Type 'string' is not assignable to type '(err: Error, address: string) => void'.\n Overload 2 of 3, '(port: string | number, address: string, callback?: ((err: Error, address: string) => void) | undefined): Promise', gave the following error.\n Argument of type 'string | undefined' is not assignable to parameter of type 'string'.\n Type 'undefined' is not assignable to type 'string'.\n", @@ -114257,14 +114247,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114278,7 +114268,7 @@ } }, { - "id": "3320", + "id": "3322", "mutatorName": "LogicalOperator", "replacement": "process.env.PORT && DEFAULT_APP_PORT", "statusReason": "src/server/server.ts(26,20): error TS2769: No overload matches this call.\n Overload 1 of 3, '(port: string | number, callback?: ((err: Error, address: string) => void) | undefined): Promise', gave the following error.\n Argument of type 'string | number | undefined' is not assignable to parameter of type 'string | number'.\n Type 'undefined' is not assignable to type 'string | number'.\n Overload 2 of 3, '(port: string | number, address: string, callback?: ((err: Error, address: string) => void) | undefined): Promise', gave the following error.\n Argument of type 'string | number | undefined' is not assignable to parameter of type 'string | number'.\n", @@ -114286,14 +114276,14 @@ "static": false, "killedBy": [], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114307,7 +114297,7 @@ } }, { - "id": "3321", + "id": "3323", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"🐺 App is available at http://127.0.0.1:8080\", \"NestApplication\"\nReceived\n-> 1: \"\", \"NestApplication\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:128:42)", @@ -114315,17 +114305,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1172" + "1173" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114339,7 +114329,7 @@ } }, { - "id": "3322", + "id": "3324", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 1\nExpected: \"🐺 App is available at http://127.0.0.1:8080\", \"NestApplication\"\nReceived\n-> 1: \"🐺 App is available at http://127.0.0.1:8080\", \"\"\n 2: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:128:42)", @@ -114347,17 +114337,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1172" + "1173" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114371,7 +114361,7 @@ } }, { - "id": "3323", + "id": "3325", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 2\nExpected: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:8080\", \"NestApplication\"\n-> 2: \"\", \"NestApplication\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:129:42)", @@ -114379,17 +114369,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1172" + "1173" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114403,7 +114393,7 @@ } }, { - "id": "3324", + "id": "3326", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(jest.fn()).toHaveBeenNthCalledWith(n, ...expected)\n\nn: 2\nExpected: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"NestApplication\"\nReceived\n 1: \"🐺 App is available at http://127.0.0.1:8080\", \"NestApplication\"\n-> 2: \"📖 API Documentation is available at http://127.0.0.1:8080/docs\", \"\"\n\nNumber of calls: 2\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/server.spec.ts:129:42)", @@ -114411,17 +114401,17 @@ "testsCompleted": 8, "static": false, "killedBy": [ - "1172" + "1173" ], "coveredBy": [ - "1165", "1166", "1167", "1168", "1169", "1170", "1171", - "1172" + "1172", + "1173" ], "location": { "end": { @@ -114441,7 +114431,7 @@ "language": "typescript", "mutants": [ { - "id": "3325", + "id": "3327", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once, but it was called 0 times\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:50:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114449,12 +114439,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1203" + "1204" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114468,7 +114458,7 @@ } }, { - "id": "3326", + "id": "3328", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Werewolves Assistant API Reference 🐺\"], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:50:46)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114476,12 +114466,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1203" + "1204" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114495,7 +114485,7 @@ } }, { - "id": "3327", + "id": "3329", "mutatorName": "LogicalOperator", "replacement": "process.env.npm_package_version && \"?\"", "statusReason": "src/server/swagger/swagger.ts(11,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.\n Type 'undefined' is not assignable to type 'string'.\n", @@ -114503,9 +114493,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114519,7 +114509,7 @@ } }, { - "id": "3328", + "id": "3330", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"?\"], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:63:48)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114527,10 +114517,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1204" + "1205" ], "coveredBy": [ - "1204" + "1205" ], "location": { "end": { @@ -114544,7 +114534,7 @@ } }, { - "id": "3329", + "id": "3331", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"Werewolves Assistant API provides over HTTP requests a way of manage Werewolves games to help the game master.\"], but it was called with \"\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:51:52)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114552,12 +114542,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1203" + "1204" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114571,7 +114561,7 @@ } }, { - "id": "3330", + "id": "3332", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"docs\", {}, undefined, {\"customCssUrl\": \"public/assets/css/custom-swagger.css\", \"customSiteTitle\": \"Werewolves Assistant API Reference 🐺\", \"customfavIcon\": \"public/assets/images/logo/square/werewolves-logo-small.png\"}], but it was called with \"docs\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:78:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114579,12 +114569,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1205" + "1206" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114598,7 +114588,7 @@ } }, { - "id": "3331", + "id": "3333", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"docs\", {}, undefined, {\"customCssUrl\": \"public/assets/css/custom-swagger.css\", \"customSiteTitle\": \"Werewolves Assistant API Reference 🐺\", \"customfavIcon\": \"public/assets/images/logo/square/werewolves-logo-small.png\"}], but it was called with \"docs\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:78:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114606,12 +114596,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1205" + "1206" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114625,7 +114615,7 @@ } }, { - "id": "3332", + "id": "3334", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toHaveBeenCalledExactlyOnceWith(expected)\n\nExpected mock function to have been called exactly once with [\"docs\", {}, undefined, {\"customCssUrl\": \"public/assets/css/custom-swagger.css\", \"customSiteTitle\": \"Werewolves Assistant API Reference 🐺\", \"customfavIcon\": \"public/assets/images/logo/square/werewolves-logo-small.png\"}], but it was called with \"docs\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/server/swagger/swagger.spec.ts:78:41)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114633,12 +114623,12 @@ "testsCompleted": 3, "static": false, "killedBy": [ - "1205" + "1206" ], "coveredBy": [ - "1203", "1204", - "1205" + "1205", + "1206" ], "location": { "end": { @@ -114658,119 +114648,7 @@ "language": "typescript", "mutants": [ { - "id": "3333", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/shared/api/helpers/api.helper.ts(6,59): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "578", - "612", - "613", - "616", - "617", - "618", - "622", - "624", - "626", - "670", - "671", - "672", - "673", - "674", - "676", - "677", - "678", - "853", - "855", - "867", - "876", - "928", - "929", - "932", - "935", - "1232", - "1261", - "1262", - "1263", - "1264", - "1265", - "1284", - "1285", - "1286", - "1287" - ], - "location": { - "end": { - "column": 2, - "line": 15 - }, - "start": { - "column": 66, - "line": 6 - } - } - }, - { - "id": "3334", - "mutatorName": "ObjectLiteral", - "replacement": "{}", - "statusReason": "src/shared/api/helpers/api.helper.ts(7,9): error TS2739: Type '{}' is missing the following properties from type 'Record': games, players, \"game-additional-cards\", roles, health\n", - "status": "CompileError", - "static": false, - "killedBy": [], - "coveredBy": [ - "578", - "612", - "613", - "616", - "617", - "618", - "622", - "624", - "626", - "670", - "671", - "672", - "673", - "674", - "676", - "677", - "678", - "853", - "855", - "867", - "876", - "928", - "929", - "932", - "935", - "1232", - "1261", - "1262", - "1263", - "1264", - "1265", - "1284", - "1285", - "1286", - "1287" - ], - "location": { - "end": { - "column": 4, - "line": 13 - }, - "start": { - "column": 63, - "line": 7 - } - } - }, - { - "id": "3335", + "id": "3337", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"game\"\nReceived: \"\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4919388/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:41:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114778,44 +114656,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1261" + "1262" ], "coveredBy": [ - "578", - "612", + "579", "613", - "616", + "614", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "853", - "855", - "867", - "876", - "928", + "679", + "854", + "856", + "868", + "877", "929", - "932", - "935", - "1232", - "1261", + "930", + "933", + "936", + "1233", "1262", "1263", "1264", "1265", - "1284", + "1266", "1285", "1286", - "1287" + "1287", + "1288" ], "location": { "end": { @@ -114829,7 +114708,7 @@ } }, { - "id": "3336", + "id": "3338", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"player\"\nReceived: \"\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4919388/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:41:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114837,44 +114716,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1262" + "1263" ], "coveredBy": [ - "578", - "612", + "579", "613", - "616", + "614", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "853", - "855", - "867", - "876", - "928", + "679", + "854", + "856", + "868", + "877", "929", - "932", - "935", - "1232", - "1261", + "930", + "933", + "936", + "1233", "1262", "1263", "1264", "1265", - "1284", + "1266", "1285", "1286", - "1287" + "1287", + "1288" ], "location": { "end": { @@ -114888,7 +114768,7 @@ } }, { - "id": "3337", + "id": "3339", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"additional card\"\nReceived: \"\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4919388/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:41:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114896,44 +114776,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1263" + "1264" ], "coveredBy": [ - "578", - "612", + "579", "613", - "616", + "614", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "853", - "855", - "867", - "876", - "928", + "679", + "854", + "856", + "868", + "877", "929", - "932", - "935", - "1232", - "1261", + "930", + "933", + "936", + "1233", "1262", "1263", "1264", "1265", - "1284", + "1266", "1285", "1286", - "1287" + "1287", + "1288" ], "location": { "end": { @@ -114947,7 +114828,7 @@ } }, { - "id": "3338", + "id": "3340", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"role\"\nReceived: \"\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:41:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -114955,44 +114836,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1264" + "1265" ], "coveredBy": [ - "578", - "612", + "579", "613", - "616", + "614", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "853", - "855", - "867", - "876", - "928", + "679", + "854", + "856", + "868", + "877", "929", - "932", - "935", - "1232", - "1261", + "930", + "933", + "936", + "1233", "1262", "1263", "1264", "1265", - "1284", + "1266", "1285", "1286", - "1287" + "1287", + "1288" ], "location": { "end": { @@ -115006,7 +114888,7 @@ } }, { - "id": "3339", + "id": "3341", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"health\"\nReceived: \"\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/shared/api/helpers/api.helper.spec.ts:41:49\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115014,44 +114896,45 @@ "testsCompleted": 37, "static": false, "killedBy": [ - "1265" + "1266" ], "coveredBy": [ - "578", - "612", + "579", "613", - "616", + "614", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "853", - "855", - "867", - "876", - "928", + "679", + "854", + "856", + "868", + "877", "929", - "932", - "935", - "1232", - "1261", + "930", + "933", + "936", + "1233", "1262", "1263", "1264", "1265", - "1284", + "1266", "1285", "1286", - "1287" + "1287", + "1288" ], "location": { "end": { @@ -115065,7 +114948,7 @@ } }, { - "id": "3340", + "id": "3342", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/api/helpers/api.helper.ts(17,100): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115073,7 +114956,7 @@ "static": true, "killedBy": [], "coveredBy": [ - "1266" + "1267" ], "location": { "end": { @@ -115087,14 +114970,14 @@ } }, { - "id": "3341", + "id": "3343", "mutatorName": "ObjectLiteral", "replacement": "{}", "status": "Timeout", "static": true, "killedBy": [], "coveredBy": [ - "1266" + "1267" ], "location": { "end": { @@ -115106,6 +114989,118 @@ "line": 18 } } + }, + { + "id": "3336", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "src/shared/api/helpers/api.helper.ts(7,9): error TS2739: Type '{}' is missing the following properties from type 'Record': games, players, \"game-additional-cards\", roles, health\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "579", + "613", + "614", + "617", + "618", + "619", + "623", + "624", + "625", + "627", + "671", + "672", + "673", + "674", + "675", + "677", + "678", + "679", + "854", + "856", + "868", + "877", + "929", + "930", + "933", + "936", + "1233", + "1262", + "1263", + "1264", + "1265", + "1266", + "1285", + "1286", + "1287", + "1288" + ], + "location": { + "end": { + "column": 4, + "line": 13 + }, + "start": { + "column": 63, + "line": 7 + } + } + }, + { + "id": "3335", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/shared/api/helpers/api.helper.ts(6,59): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", + "static": false, + "coveredBy": [ + "579", + "613", + "614", + "617", + "618", + "619", + "623", + "624", + "625", + "627", + "671", + "672", + "673", + "674", + "675", + "677", + "678", + "679", + "854", + "856", + "868", + "877", + "929", + "930", + "933", + "936", + "1233", + "1262", + "1263", + "1264", + "1265", + "1266", + "1285", + "1286", + "1287", + "1288" + ], + "location": { + "end": { + "column": 2, + "line": 15 + }, + "start": { + "column": 66, + "line": 6 + } + } } ], "source": "import type { ApiPropertyOptions } from \"@nestjs/swagger\";\n\nimport { ApiResources } from \"@/shared/api/enums/api.enum\";\nimport type { MongoosePropOptions } from \"@/shared/mongoose/types/mongoose.types\";\n\nfunction getResourceSingularForm(resource: ApiResources): string {\n const resourceSingularForms: Record = {\n [ApiResources.GAMES]: \"game\",\n [ApiResources.PLAYERS]: \"player\",\n [ApiResources.GAME_ADDITIONAL_CARDS]: \"additional card\",\n [ApiResources.ROLES]: \"role\",\n [ApiResources.HEALTH]: \"health\",\n };\n return resourceSingularForms[resource];\n}\n\nfunction convertMongoosePropOptionsToApiPropertyOptions(mongoosePropOptions: MongoosePropOptions): ApiPropertyOptions {\n return {\n required: mongoosePropOptions.required,\n enum: mongoosePropOptions.enum,\n default: mongoosePropOptions.default,\n minItems: mongoosePropOptions.minItems,\n maxItems: mongoosePropOptions.maxItems,\n minimum: mongoosePropOptions.min,\n maximum: mongoosePropOptions.max,\n };\n}\n\nexport {\n getResourceSingularForm,\n convertMongoosePropOptionsToApiPropertyOptions,\n};" @@ -115114,21 +115109,17 @@ "language": "typescript", "mutants": [ { - "id": "3348", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 404\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:287:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 30, + "id": "3344", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(7,37): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "578" - ], + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115147,42 +115138,42 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { - "column": 35, - "line": 8 + "column": 4, + "line": 12 }, "start": { - "column": 10, - "line": 8 + "column": 52, + "line": 7 } } }, { - "id": "3351", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Game with id \\\"fe6e4aabea5ab5f3096ead17\\\" not found\"\nReceived message: \"Validation failed (Mongo ObjectId is expected)\"\n\n 64 | }\n 65 | }\n > 66 | throw new BadRequestException(stryMutAct_9fa48(\"3256\") ? \"\" : (stryCov_9fa48(\"3256\"), \"Validation failed (Mongo ObjectId is expected)\"));\n | ^\n 67 | }\n 68 | }\n 69 | }\n\n at ValidateMongoId.transform (src/shared/api/pipes/validate-mongo-id.pipe.ts:66:13)\n at GetGameByIdPipe.transform (src/modules/game/controllers/pipes/get-game-by-id.pipe.ts:64:44)\n at Object. (tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:51:36)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:51:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", - "status": "Killed", - "testsCompleted": 23, + "id": "3345", + "mutatorName": "ConditionalExpression", + "replacement": "true", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "1232" - ], + "killedBy": [], "coveredBy": [ "578", "579", + "580", "612", "613", "614", + "615", "616", "617", "618", @@ -115192,69 +115183,43 @@ "622", "623", "624", + "625", "626", "627", "628", "629", + "630", "1232", "1233", - "1274", - "1275" - ], - "location": { - "end": { - "column": 6, - "line": 10 - }, - "start": { - "column": 106, - "line": 8 - } - } - }, - { - "id": "3352", - "mutatorName": "StringLiteral", - "replacement": "\"\"", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Validation failed (Mongo ObjectId is expected)\"\nReceived: \"Bad Request\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:277:60)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 7, - "static": false, - "killedBy": [ - "577" - ], - "coveredBy": [ - "577", - "611", - "615", - "625", - "1231", + "1234", + "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { - "column": 83, - "line": 11 + "column": 104, + "line": 8 }, "start": { - "column": 35, - "line": 11 + "column": 9, + "line": 8 } } }, { - "id": "3342", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(7,37): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "id": "3346", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115273,37 +115238,38 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { - "column": 4, - "line": 12 + "column": 104, + "line": 8 }, "start": { - "column": 52, - "line": 7 + "column": 9, + "line": 8 } } }, { - "id": "3345", + "id": "3347", "mutatorName": "LogicalOperator", "replacement": "typeof value === \"string\" || value instanceof Types.ObjectId || Types.ObjectId.isValid(value)", "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,96): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115322,13 +115288,14 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { @@ -115342,17 +115309,17 @@ } }, { - "id": "3346", + "id": "3348", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,42): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array | undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115371,13 +115338,14 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { @@ -115391,17 +115359,17 @@ } }, { - "id": "3347", + "id": "3349", "mutatorName": "LogicalOperator", "replacement": "typeof value === \"string\" && value instanceof Types.ObjectId", "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,39): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115420,13 +115388,14 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { @@ -115440,17 +115409,20 @@ } }, { - "id": "3349", - "mutatorName": "EqualityOperator", - "replacement": "typeof value !== \"string\"", - "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,39): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(8,98): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array | undefined'.\n", - "status": "CompileError", + "id": "3350", + "mutatorName": "ConditionalExpression", + "replacement": "false", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 404\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:287:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 30, "static": false, + "killedBy": [ + "579" + ], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115469,13 +115441,14 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { @@ -115489,17 +115462,17 @@ } }, { - "id": "3350", - "mutatorName": "StringLiteral", - "replacement": "\"\"", - "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,10): error TS2367: This comparison appears to be unintentional because the types '\"string\" | \"number\" | \"bigint\" | \"boolean\" | \"symbol\" | \"undefined\" | \"object\" | \"function\"' and '\"\"' have no overlap.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(8,92): error TS2345: Argument of type 'object' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'object' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array | undefined'.\n", + "id": "3351", + "mutatorName": "EqualityOperator", + "replacement": "typeof value !== \"string\"", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,39): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(8,98): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array | undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115518,13 +115491,14 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { @@ -115532,23 +115506,23 @@ "line": 8 }, "start": { - "column": 27, + "column": 10, "line": 8 } } }, { - "id": "3344", - "mutatorName": "ConditionalExpression", - "replacement": "false", - "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", + "id": "3352", + "mutatorName": "StringLiteral", + "replacement": "\"\"", + "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(8,10): error TS2367: This comparison appears to be unintentional because the types '\"string\" | \"number\" | \"bigint\" | \"boolean\" | \"symbol\" | \"undefined\" | \"object\" | \"function\"' and '\"\"' have no overlap.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(8,92): error TS2345: Argument of type 'object' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array'.\nsrc/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'object' is not assignable to parameter of type 'string | number | ObjectId | ObjectIdLike | Uint8Array | undefined'.\n", "status": "CompileError", "static": false, + "killedBy": [], "coveredBy": [ - "577", "578", "579", - "611", + "580", "612", "613", "614", @@ -115567,42 +115541,43 @@ "627", "628", "629", - "1231", + "630", "1232", "1233", - "1274", + "1234", "1275", "1276", - "1277" + "1277", + "1278" ], "location": { "end": { - "column": 104, + "column": 35, "line": 8 }, "start": { - "column": 9, + "column": 27, "line": 8 } } }, { - "id": "3343", - "mutatorName": "ConditionalExpression", - "replacement": "true", - "statusReason": "src/shared/api/pipes/validate-mongo-id.pipe.ts(9,33): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | number | ObjectId | Uint8Array | ObjectIdLike | undefined'.\n", - "status": "CompileError", + "id": "3353", + "mutatorName": "BlockStatement", + "replacement": "{}", + "statusReason": "Error: expect(received).rejects.toThrow(expected)\n\nExpected message: \"Game with id \\\"fe6e4aabea5ab5f3096ead17\\\" not found\"\nReceived message: \"Validation failed (Mongo ObjectId is expected)\"\n\n 64 | }\n 65 | }\n > 66 | throw new BadRequestException(stryMutAct_9fa48(\"3256\") ? \"\" : (stryCov_9fa48(\"3256\"), \"Validation failed (Mongo ObjectId is expected)\"));\n | ^\n 67 | }\n 68 | }\n 69 | }\n\n at ValidateMongoId.transform (src/shared/api/pipes/validate-mongo-id.pipe.ts:66:13)\n at GetGameByIdPipe.transform (src/modules/game/controllers/pipes/get-game-by-id.pipe.ts:64:44)\n at Object. (tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:51:36)\n at Object.toThrow (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:218:22)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts:51:63)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", + "status": "Killed", + "testsCompleted": 23, "static": false, + "killedBy": [ + "1233" + ], "coveredBy": [ - "577", - "578", "579", - "611", - "612", + "580", "613", "614", "615", - "616", "617", "618", "619", @@ -115612,28 +115587,56 @@ "623", "624", "625", - "626", "627", "628", "629", - "1231", - "1232", + "630", "1233", - "1274", + "1234", "1275", - "1276", - "1277" + "1276" ], "location": { "end": { - "column": 104, - "line": 8 + "column": 6, + "line": 10 }, "start": { - "column": 9, + "column": 106, "line": 8 } } + }, + { + "id": "3354", + "mutatorName": "StringLiteral", + "replacement": "\"\"", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Validation failed (Mongo ObjectId is expected)\"\nReceived: \"Bad Request\"\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:277:60)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 7, + "static": false, + "killedBy": [ + "578" + ], + "coveredBy": [ + "578", + "612", + "616", + "626", + "1232", + "1277", + "1278" + ], + "location": { + "end": { + "column": 83, + "line": 11 + }, + "start": { + "column": 35, + "line": 11 + } + } } ], "source": "import { BadRequestException, Injectable } from \"@nestjs/common\";\nimport { Types } from \"mongoose\";\nimport type { PipeTransform } from \"@nestjs/common\";\n\n@Injectable()\nclass ValidateMongoId implements PipeTransform {\n public transform(value: unknown): Types.ObjectId {\n if ((typeof value === \"string\" || value instanceof Types.ObjectId) && Types.ObjectId.isValid(value)) {\n return new Types.ObjectId(value);\n }\n throw new BadRequestException(\"Validation failed (Mongo ObjectId is expected)\");\n }\n}\n\nexport { ValidateMongoId };" @@ -115642,7 +115645,7 @@ "language": "typescript", "mutants": [ { - "id": "3353", + "id": "3355", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(8,136): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115650,10 +115653,9 @@ "static": false, "killedBy": [], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", "771", @@ -115668,7 +115670,8 @@ "780", "781", "782", - "1142" + "783", + "1143" ], "location": { "end": { @@ -115682,7 +115685,7 @@ } }, { - "id": "3354", + "id": "3356", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Can't find player with id \\\"ef6faafbe8da71f9be5c7669\\\" for game with id \\\"f66bed4dfd6cd8b1eeaad9fe\\\"\",\n+ \"error\": \"Can't find player with id \\\"undefined\\\" for game with id \\\"undefined\\\"\",\n \"message\": \"Unexpected exception in werewolvesEat\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:14:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115690,13 +115693,12 @@ "testsCompleted": 19, "static": false, "killedBy": [ - "1142" + "1143" ], "coveredBy": [ - "435", "436", "437", - "768", + "438", "769", "770", "771", @@ -115711,7 +115713,8 @@ "780", "781", "782", - "1142" + "783", + "1143" ], "location": { "end": { @@ -115725,7 +115728,7 @@ } }, { - "id": "3355", + "id": "3357", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(13,134): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115733,7 +115736,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1143" + "1144" ], "location": { "end": { @@ -115747,7 +115750,7 @@ } }, { - "id": "3356", + "id": "3358", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Player with id \\\"5dbddc62fdbdaab25f0e9afa\\\" is dead in game with id \\\"ebedeb2e9dbb479e971c58ef\\\"\",\n+ \"error\": \"Player with id \\\"undefined\\\" is dead in game with id \\\"undefined\\\"\",\n \"message\": \"Unexpected exception in killPlayer\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:27:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115755,10 +115758,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1143" + "1144" ], "coveredBy": [ - "1143" + "1144" ], "location": { "end": { @@ -115772,7 +115775,7 @@ } }, { - "id": "3357", + "id": "3359", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(18,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115780,8 +115783,8 @@ "static": false, "killedBy": [], "coveredBy": [ - "849", - "1144" + "850", + "1145" ], "location": { "end": { @@ -115795,7 +115798,7 @@ } }, { - "id": "3358", + "id": "3360", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(22,113): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115803,7 +115806,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1145" + "1146" ], "location": { "end": { @@ -115817,7 +115820,7 @@ } }, { - "id": "3359", + "id": "3361", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Game with id \\\"b195bff5a9cbf8f5ae73e9d8\\\" doesn't have a current game play to deal with\",\n+ \"error\": \"Game with id \\\"undefined\\\" doesn't have a current game play to deal with\",\n \"message\": \"Unexpected exception in makePlay\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:52:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115825,10 +115828,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1145" + "1146" ], "coveredBy": [ - "1145" + "1146" ], "location": { "end": { @@ -115842,7 +115845,7 @@ } }, { - "id": "3360", + "id": "3362", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(27,90): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115850,7 +115853,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1146" + "1147" ], "location": { "end": { @@ -115864,7 +115867,7 @@ } }, { - "id": "3361", + "id": "3363", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Game play \\\"{\\\"source\\\":{\\\"name\\\":\\\"idiot\\\"},\\\"action\\\":\\\"vote\\\",\\\"occurrence\\\":\\\"consequential\\\"}\\\" doesn't have a set priority\",\n+ \"error\": \"Game play \\\"undefined\\\" doesn't have a set priority\",\n \"message\": \"Unexpected exception in makePlay\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:65:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115872,10 +115875,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1146" + "1147" ], "coveredBy": [ - "1146" + "1147" ], "location": { "end": { @@ -115889,7 +115892,7 @@ } }, { - "id": "3362", + "id": "3364", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(31,120): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115897,7 +115900,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1147" + "1148" ], "location": { "end": { @@ -115911,7 +115914,7 @@ } }, { - "id": "3363", + "id": "3365", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Current game play with action \\\"look\\\" and source \\\"three-brothers\\\" are not consistent for game with id \\\"add67ab3a64cbb02fac0fbbf\\\"\",\n+ \"error\": \"Current game play with action \\\"undefined\\\" and source \\\"undefined\\\" are not consistent for game with id \\\"undefined\\\"\",\n \"message\": \"Unexpected exception in makePlay\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:79:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115919,10 +115922,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1147" + "1148" ], "coveredBy": [ - "1147" + "1148" ], "location": { "end": { @@ -115936,7 +115939,7 @@ } }, { - "id": "3364", + "id": "3366", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/helpers/unexpected-exception.factory.ts(36,124): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -115944,7 +115947,7 @@ "static": false, "killedBy": [], "coveredBy": [ - "1148" + "1149" ], "location": { "end": { @@ -115958,7 +115961,7 @@ } }, { - "id": "3365", + "id": "3367", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Can't find last nominated players for game with id \\\"cd54fb5d72cfc2a1bc52b03c\\\"\",\n+ \"error\": \"Can't find last nominated players for game with id \\\"undefined\\\"\",\n \"message\": \"Unexpected exception in makePlay\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:92:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -115966,10 +115969,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1148" + "1149" ], "coveredBy": [ - "1148" + "1149" ], "location": { "end": { @@ -115989,7 +115992,7 @@ "language": "typescript", "mutants": [ { - "id": "3366", + "id": "3368", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/bad-game-play-payload-exception.type.ts(6,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -116048,8 +116051,8 @@ "120", "121", "122", - "619", - "1308" + "620", + "1309" ], "location": { "end": { @@ -116063,7 +116066,7 @@ } }, { - "id": "3367", + "id": "3369", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toThrow(expected)\n\nExpected message: \"`votes` can't be set on this current game's state\"\nReceived message: \"`votes` is required on this current game's state\"\n\n 775 | } else {\n 776 | stryCov_9fa48(\"2243\");\n > 777 | throw new BadGamePlayPayloadException(BadGamePlayPayloadReasons.REQUIRED_VOTES);\n | ^\n 778 | }\n 779 | }\n 780 | return;\n\n at GamePlayValidatorService.validateGamePlayVotesWithRelationsDto (src/modules/game/providers/services/game-play/game-play-validator.service.ts:777:21)\n at tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1683:87\n at Object. (../../node_modules/expect/build/toThrowMatchers.js:74:11)\n at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)\n at Object. (tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1683:106)\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-play/game-play-validator.service.spec.ts:1683:106)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -116125,8 +116128,8 @@ "120", "121", "122", - "619", - "1308" + "620", + "1309" ], "location": { "end": { @@ -116140,7 +116143,7 @@ } }, { - "id": "3368", + "id": "3370", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 0\n\n Object {\n- \"error\": \"`votes` is required on this current game's state\",\n \"message\": \"Bad game play payload\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1008:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116148,7 +116151,7 @@ "testsCompleted": 52, "static": true, "killedBy": [ - "619" + "620" ], "coveredBy": [ "6", @@ -116202,8 +116205,8 @@ "120", "121", "122", - "619", - "1308" + "620", + "1309" ], "location": { "end": { @@ -116223,7 +116226,7 @@ "language": "typescript", "mutants": [ { - "id": "3369", + "id": "3371", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/bad-resource-mutation-exception.type.ts(9,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -116231,12 +116234,12 @@ "static": false, "killedBy": [], "coveredBy": [ - "613", - "853", - "855", - "867", - "1286", - "1287" + "614", + "854", + "856", + "868", + "1287", + "1288" ], "location": { "end": { @@ -116250,19 +116253,19 @@ } }, { - "id": "3370", + "id": "3372", "mutatorName": "StringLiteral", "replacement": "``", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "613", - "853", - "855", - "867", - "1286", - "1287" + "614", + "854", + "856", + "868", + "1287", + "1288" ], "location": { "end": { @@ -116276,7 +116279,7 @@ } }, { - "id": "3371", + "id": "3373", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 0\n\n Object {\n- \"error\": \"Game doesn't have status with value \\\"playing\\\"\",\n \"message\": \"Bad mutation for Game with id \\\"adeeaae7e606a1eededda6ec\\\"\",\n \"statusCode\": 400,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:878:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116284,15 +116287,15 @@ "testsCompleted": 6, "static": false, "killedBy": [ - "613" + "614" ], "coveredBy": [ - "613", - "853", - "855", - "867", - "1286", - "1287" + "614", + "854", + "856", + "868", + "1287", + "1288" ], "location": { "end": { @@ -116312,143 +116315,145 @@ "language": "typescript", "mutants": [ { - "id": "3372", - "mutatorName": "BlockStatement", - "replacement": "{}", - "statusReason": "src/shared/exception/types/resource-not-found-exception.type.ts(9,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", - "status": "CompileError", + "id": "3375", + "mutatorName": "StringLiteral", + "replacement": "``", + "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Game with id \\\"d1702c0cb60e22cbfc1c7af6\\\" not found\"\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:288:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "status": "Killed", + "testsCompleted": 26, "static": false, - "killedBy": [], + "killedBy": [ + "579" + ], "coveredBy": [ - "578", - "612", - "616", + "579", + "613", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "876", - "928", + "679", + "877", "929", - "932", - "935", - "1232", - "1284", - "1285" + "930", + "933", + "936", + "1233", + "1285", + "1286" ], "location": { "end": { - "column": 4, - "line": 13 + "column": 84, + "line": 11 }, "start": { - "column": 92, - "line": 9 + "column": 21, + "line": 11 } } }, { - "id": "3373", - "mutatorName": "StringLiteral", - "replacement": "``", - "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: \"Game with id \\\"d1702c0cb60e22cbfc1c7af6\\\" not found\"\nReceived: undefined\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:288:58)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", + "id": "3376", + "mutatorName": "ObjectLiteral", + "replacement": "{}", + "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 0\n\n Object {\n- \"error\": \"Game Play - Player in `targets.player` is not in the game players\",\n \"message\": \"Player with id \\\"f5ed7f04cfcdff5cccecb5f5\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:982:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", "status": "Killed", "testsCompleted": 26, "static": false, "killedBy": [ - "578" + "619" ], "coveredBy": [ - "578", - "612", - "616", + "579", + "613", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "876", - "928", + "679", + "877", "929", - "932", - "935", - "1232", - "1284", - "1285" + "930", + "933", + "936", + "1233", + "1285", + "1286" ], "location": { "end": { - "column": 84, - "line": 11 + "column": 43, + "line": 12 }, "start": { - "column": 21, - "line": 11 + "column": 20, + "line": 12 } } }, { "id": "3374", - "mutatorName": "ObjectLiteral", + "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 0\n\n Object {\n- \"error\": \"Game Play - Player in `targets.player` is not in the game players\",\n \"message\": \"Player with id \\\"f5ed7f04cfcdff5cccecb5f5\\\" not found\",\n \"statusCode\": 404,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:982:50)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", - "status": "Killed", - "testsCompleted": 26, + "statusReason": "src/shared/exception/types/resource-not-found-exception.type.ts(9,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", + "status": "CompileError", "static": false, - "killedBy": [ - "618" - ], "coveredBy": [ - "578", - "612", - "616", + "579", + "613", "617", "618", - "622", + "619", + "623", "624", - "626", - "670", + "625", + "627", "671", "672", "673", "674", - "676", + "675", "677", "678", - "876", - "928", + "679", + "877", "929", - "932", - "935", - "1232", - "1284", - "1285" + "930", + "933", + "936", + "1233", + "1285", + "1286" ], "location": { "end": { - "column": 43, - "line": 12 + "column": 4, + "line": 13 }, "start": { - "column": 20, - "line": 12 + "column": 92, + "line": 9 } } } @@ -116459,7 +116464,7 @@ "language": "typescript", "mutants": [ { - "id": "3375", + "id": "3377", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/exception/types/unexpected-exception.type.ts(8,3): error TS2377: Constructors for derived classes must contain a 'super' call.\n", @@ -116476,12 +116481,11 @@ "145", "220", "363", - "435", "436", "437", - "473", - "526", - "557", + "438", + "474", + "527", "558", "559", "560", @@ -116489,9 +116493,9 @@ "562", "563", "564", - "727", + "565", "728", - "768", + "729", "769", "770", "771", @@ -116506,17 +116510,18 @@ "780", "781", "782", - "787", - "849", - "1142", + "783", + "788", + "850", "1143", "1144", "1145", "1146", "1147", "1148", - "1281", - "1282" + "1149", + "1282", + "1283" ], "location": { "end": { @@ -116530,7 +116535,7 @@ } }, { - "id": "3376", + "id": "3378", "mutatorName": "StringLiteral", "replacement": "``", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 2\n+ Received + 1\n\n Object {\n- \"error\": \"Can't find player with id \\\"e9c27cf72cbd28d991ee8dd9\\\" for game with id \\\"8c66e2de7cbafac59d1a3aeb\\\"\",\n- \"message\": \"Unexpected exception in werewolvesEat\",\n+ \"message\": \"Can't find player with id \\\"e9c27cf72cbd28d991ee8dd9\\\" for game with id \\\"8c66e2de7cbafac59d1a3aeb\\\"\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:14:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -116538,7 +116543,7 @@ "testsCompleted": 49, "static": false, "killedBy": [ - "1142" + "1143" ], "coveredBy": [ "0", @@ -116550,12 +116555,11 @@ "145", "220", "363", - "435", "436", "437", - "473", - "526", - "557", + "438", + "474", + "527", "558", "559", "560", @@ -116563,9 +116567,9 @@ "562", "563", "564", - "727", + "565", "728", - "768", + "729", "769", "770", "771", @@ -116580,17 +116584,18 @@ "780", "781", "782", - "787", - "849", - "1142", + "783", + "788", + "850", "1143", "1144", "1145", "1146", "1147", "1148", - "1281", - "1282" + "1149", + "1282", + "1283" ], "location": { "end": { @@ -116604,7 +116609,7 @@ } }, { - "id": "3377", + "id": "3379", "mutatorName": "ObjectLiteral", "replacement": "{}", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 1\n+ Received + 1\n\n Object {\n- \"error\": \"Can't find player with id \\\"9ead9e9debff3e70fff7622d\\\" for game with id \\\"de7d6acc39ac26af0b9625f6\\\"\",\n+ \"error\": undefined,\n \"message\": \"Unexpected exception in werewolvesEat\",\n \"statusCode\": 500,\n }\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts:14:39)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -116612,7 +116617,7 @@ "testsCompleted": 49, "static": false, "killedBy": [ - "1142" + "1143" ], "coveredBy": [ "0", @@ -116624,12 +116629,11 @@ "145", "220", "363", - "435", "436", "437", - "473", - "526", - "557", + "438", + "474", + "527", "558", "559", "560", @@ -116637,9 +116641,9 @@ "562", "563", "564", - "727", + "565", "728", - "768", + "729", "769", "770", "771", @@ -116654,17 +116658,18 @@ "780", "781", "782", - "787", - "849", - "1142", + "783", + "788", + "850", "1143", "1144", "1145", "1146", "1147", "1148", - "1281", - "1282" + "1149", + "1282", + "1283" ], "location": { "end": { @@ -116684,7 +116689,7 @@ "language": "typescript", "mutants": [ { - "id": "3379", + "id": "3381", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/mongoose/helpers/mongoose.helper.ts(3,73): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -116692,16 +116697,16 @@ "static": false, "killedBy": [], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307", - "1309", - "1310" + "684", + "1308", + "1310", + "1311" ], "location": { "end": { @@ -116715,7 +116720,7 @@ } }, { - "id": "3380", + "id": "3382", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 26\n+ Received + 26\n\n@@ -1,37 +1,37 @@\n Array [\n Object {\n- \"_id\": \"f9c81ef847d8e3f25a4a1c9e\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"7aebd519d7c9fcdc4cf4eaae\",\n+ \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n \"gameId\": \"3fe8aeaf292acfcbbfebc033\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n- \"action\": \"use-potions\",\n+ \"action\": \"elect-sheriff\",\n \"source\": Object {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"7abef0daae8ed300daacd1fb\",\n+ \"_id\": \"dcafb8b69a0e03a762baea86\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Audie\",\n- \"position\": 3298395544354816,\n+ \"name\": \"Federico\",\n+ \"position\": 4253678382874624,\n \"role\": Object {\n- \"current\": \"witch\",\n- \"isRevealed\": false,\n- \"original\": \"witch\",\n+ \"current\": \"thief\",\n+ \"isRevealed\": true,\n+ \"original\": \"ancient\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 4300270083244032,\n- \"turn\": 1203085676380160,\n+ \"tick\": 3774844212609024,\n+ \"turn\": 8550967091920896,\n },\n Object {\n \"_id\": \"abd0dfb6afb6daad06ad8f6b\",\n \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n \"gameId\": \"3fe8aeaf292acfcbbfebc033\",\n@@ -62,37 +62,37 @@\n },\n \"tick\": 1678194115608576,\n \"turn\": 2172816805855232,\n },\n Object {\n- \"_id\": \"7aebd519d7c9fcdc4cf4eaae\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"f9c81ef847d8e3f25a4a1c9e\",\n+ \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n \"gameId\": \"3fe8aeaf292acfcbbfebc033\",\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"play\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"use-potions\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"witch\",\n \"players\": Array [\n Object {\n- \"_id\": \"dcafb8b69a0e03a762baea86\",\n+ \"_id\": \"7abef0daae8ed300daacd1fb\",\n \"attributes\": Array [],\n \"isAlive\": true,\n- \"name\": \"Federico\",\n- \"position\": 4253678382874624,\n+ \"name\": \"Audie\",\n+ \"position\": 3298395544354816,\n \"role\": Object {\n- \"current\": \"thief\",\n- \"isRevealed\": true,\n- \"original\": \"ancient\",\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n },\n \"side\": Object {\n \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 3774844212609024,\n- \"turn\": 8550967091920896,\n+ \"tick\": 4300270083244032,\n+ \"turn\": 1203085676380160,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:107:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116723,19 +116728,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "683" + "684" ], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307", - "1309", - "1310" + "684", + "1308", + "1310", + "1311" ], "location": { "end": { @@ -116749,7 +116754,7 @@ } }, { - "id": "3381", + "id": "3383", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 6\n+ Received + 6\n\n@@ -1,8 +1,8 @@\n Array [\n Object {\n- \"_id\": \"3ea97ddf6fd9f48996df825f\",\n+ \"_id\": \"63ab3efcbedb4202ca9f80e3\",\n \"createdAt\": Any,\n \"gameId\": \"acea3dde00ca6e0ba1ef420a\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"delegate\",\n@@ -26,12 +26,12 @@\n },\n },\n ],\n },\n },\n- \"tick\": 5331537526521856,\n- \"turn\": 3969734032752640,\n+ \"tick\": 8250803215138816,\n+ \"turn\": 6123935957516288,\n },\n Object {\n \"_id\": \"f41626b9fc4c1deb71afafac\",\n \"createdAt\": Any,\n \"gameId\": \"acea3dde00ca6e0ba1ef420a\",\n@@ -62,11 +62,11 @@\n },\n \"tick\": 4565383419789312,\n \"turn\": 8184516319379456,\n },\n Object {\n- \"_id\": \"63ab3efcbedb4202ca9f80e3\",\n+ \"_id\": \"3ea97ddf6fd9f48996df825f\",\n \"createdAt\": Any,\n \"gameId\": \"acea3dde00ca6e0ba1ef420a\",\n \"phase\": \"day\",\n \"play\": Object {\n \"action\": \"delegate\",\n@@ -90,9 +90,9 @@\n },\n },\n ],\n },\n },\n- \"tick\": 8250803215138816,\n- \"turn\": 6123935957516288,\n+ \"tick\": 5331537526521856,\n+ \"turn\": 3969734032752640,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1290:52)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116757,19 +116762,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "628" + "629" ], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307", - "1309", - "1310" + "684", + "1308", + "1310", + "1311" ], "location": { "end": { @@ -116783,7 +116788,7 @@ } }, { - "id": "3382", + "id": "3384", "mutatorName": "EqualityOperator", "replacement": "sortOrder !== ApiSortOrder.ASC", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 404\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox4590276/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:1289:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116791,19 +116796,19 @@ "testsCompleted": 10, "static": false, "killedBy": [ - "628" + "629" ], "coveredBy": [ - "627", "628", "629", - "680", + "630", "681", "682", "683", - "1307", - "1309", - "1310" + "684", + "1308", + "1310", + "1311" ], "location": { "end": { @@ -116817,7 +116822,7 @@ } }, { - "id": "3383", + "id": "3385", "mutatorName": "UnaryOperator", "replacement": "+1", "statusReason": "Error: expect(received).toStrictEqual(expected) // deep equality\n\n- Expected - 30\n+ Received + 30\n\n@@ -1,37 +1,37 @@\n Array [\n Object {\n- \"_id\": \"a5f88fad41c9ebad7de27fda\",\n- \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n+ \"_id\": \"bc66bb3fb4895c1fb67af5e5\",\n+ \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n \"gameId\": \"bc5a7aeed135da023babcc5f\",\n- \"phase\": \"night\",\n+ \"phase\": \"day\",\n \"play\": Object {\n- \"action\": \"use-potions\",\n+ \"action\": \"elect-sheriff\",\n \"source\": Object {\n- \"name\": \"witch\",\n+ \"name\": \"survivors\",\n \"players\": Array [\n Object {\n- \"_id\": \"d743ff112ddeac2e4acbba3a\",\n+ \"_id\": \"b6770daeae5da1fa0f4eefae\",\n \"attributes\": Array [],\n- \"isAlive\": true,\n- \"name\": \"Stuart\",\n- \"position\": 2041999177809920,\n+ \"isAlive\": false,\n+ \"name\": \"Avery\",\n+ \"position\": 3146041188679680,\n \"role\": Object {\n- \"current\": \"witch\",\n- \"isRevealed\": false,\n- \"original\": \"witch\",\n+ \"current\": \"villager-villager\",\n+ \"isRevealed\": true,\n+ \"original\": \"stuttering-judge\",\n },\n \"side\": Object {\n- \"current\": \"villagers\",\n+ \"current\": \"werewolves\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 4338048250675200,\n- \"turn\": 614895357788160,\n+ \"tick\": 8654346027794432,\n+ \"turn\": 724445001940992,\n },\n Object {\n \"_id\": \"b1c94c8b0d9fc1f2f7f8a9f2\",\n \"createdAt\": \"2023-01-01T00:00:00.000Z\",\n \"gameId\": \"bc5a7aeed135da023babcc5f\",\n@@ -62,37 +62,37 @@\n },\n \"tick\": 5493788078243840,\n \"turn\": 669447947812864,\n },\n Object {\n- \"_id\": \"bc66bb3fb4895c1fb67af5e5\",\n- \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n+ \"_id\": \"a5f88fad41c9ebad7de27fda\",\n+ \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n \"gameId\": \"bc5a7aeed135da023babcc5f\",\n- \"phase\": \"day\",\n+ \"phase\": \"night\",\n \"play\": Object {\n- \"action\": \"elect-sheriff\",\n+ \"action\": \"use-potions\",\n \"source\": Object {\n- \"name\": \"survivors\",\n+ \"name\": \"witch\",\n \"players\": Array [\n Object {\n- \"_id\": \"b6770daeae5da1fa0f4eefae\",\n+ \"_id\": \"d743ff112ddeac2e4acbba3a\",\n \"attributes\": Array [],\n- \"isAlive\": false,\n- \"name\": \"Avery\",\n- \"position\": 3146041188679680,\n+ \"isAlive\": true,\n+ \"name\": \"Stuart\",\n+ \"position\": 2041999177809920,\n \"role\": Object {\n- \"current\": \"villager-villager\",\n- \"isRevealed\": true,\n- \"original\": \"stuttering-judge\",\n+ \"current\": \"witch\",\n+ \"isRevealed\": false,\n+ \"original\": \"witch\",\n },\n \"side\": Object {\n- \"current\": \"werewolves\",\n+ \"current\": \"villagers\",\n \"original\": \"villagers\",\n },\n },\n ],\n },\n },\n- \"tick\": 8654346027794432,\n- \"turn\": 724445001940992,\n+ \"tick\": 4338048250675200,\n+ \"turn\": 614895357788160,\n },\n ]\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:107:31)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -116825,13 +116830,13 @@ "testsCompleted": 4, "static": false, "killedBy": [ - "683" + "684" ], "coveredBy": [ - "629", - "683", - "1307", - "1310" + "630", + "684", + "1308", + "1311" ], "location": { "end": { @@ -116851,7 +116856,7 @@ "language": "typescript", "mutants": [ { - "id": "3384", + "id": "3386", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/validation/helpers/validation.helper.ts(3,102): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -116859,12 +116864,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -116900,10 +116904,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -116917,7 +116922,7 @@ } }, { - "id": "3385", + "id": "3387", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts:37:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -116925,15 +116930,14 @@ "testsCompleted": 45, "static": false, "killedBy": [ - "1295" + "1296" ], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -116969,10 +116973,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -116986,7 +116991,7 @@ } }, { - "id": "3386", + "id": "3388", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "ValidationError: GameHistoryRecord validation failed: play.source.players: Path `play.source.players` length is less than minimum allowed value (1).\n at model.Object..Document.invalidate (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/document.js:3187:32)\n at SingleNested.Object..Subdocument.invalidate (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/types/subdocument.js:229:12)\n at SingleNested.Object..Subdocument.invalidate (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/types/subdocument.js:229:12)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/document.js:2980:17\n at cb (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/schema/documentArray.js:241:14)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/mongoose/lib/schemaType.js:1368:9\n at processTicksAndRejections (node:internal/process/task_queues:77:11)", @@ -116994,15 +116999,14 @@ "testsCompleted": 45, "static": false, "killedBy": [ - "681" + "682" ], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117038,10 +117042,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117055,7 +117060,7 @@ } }, { - "id": "3387", + "id": "3389", "mutatorName": "LogicalOperator", "replacement": "minItems === undefined || arrayMinSize(array, minItems) || maxItems === undefined || arrayMaxSize(array, maxItems)", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"65635fa37a03d69120bf4341\", \"createdAt\": 2023-11-26T15:09:23.631Z, \"gameId\": \"96f418a557eade86f55e16de\", \"phase\": \"night\", \"play\": {\"action\": \"ban-voting\", \"source\": {\"name\": \"sheriff\", \"players\": []}}, \"tick\": 7669335671701504, \"turn\": 4404876429754368}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:160:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117063,15 +117068,14 @@ "testsCompleted": 45, "static": false, "killedBy": [ - "687" + "688" ], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117107,10 +117111,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117124,7 +117129,7 @@ } }, { - "id": "3388", + "id": "3390", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).rejects.toThrow()\n\nReceived promise resolved instead of rejected\nResolved to value: {\"_id\": \"65635faa7e0e1e1c0c033ec9\", \"createdAt\": 2023-11-26T15:09:30.529Z, \"gameId\": \"6b3dfcd598ace2dad5facebd\", \"phase\": \"night\", \"play\": {\"action\": \"delegate\", \"source\": {\"name\": \"sheriff\", \"players\": []}}, \"tick\": 3745119146606592, \"turn\": 3804931735683072}\n at expect (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/expect/build/index.js:113:15)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts:160:13\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117132,15 +117137,14 @@ "testsCompleted": 45, "static": false, "killedBy": [ - "687" + "688" ], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117176,10 +117180,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117193,7 +117198,7 @@ } }, { - "id": "3389", + "id": "3391", "mutatorName": "LogicalOperator", "replacement": "minItems === undefined && arrayMinSize(array, minItems)", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -117201,12 +117206,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117242,10 +117246,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117259,7 +117264,7 @@ } }, { - "id": "3390", + "id": "3392", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,40): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", @@ -117267,12 +117272,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117308,10 +117312,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117325,7 +117330,7 @@ } }, { - "id": "3391", + "id": "3393", "mutatorName": "EqualityOperator", "replacement": "minItems !== undefined", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,57): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -117333,12 +117338,11 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", @@ -117374,10 +117378,11 @@ "714", "715", "716", - "1294", + "717", "1295", "1296", - "1297" + "1297", + "1298" ], "location": { "end": { @@ -117391,7 +117396,7 @@ } }, { - "id": "3392", + "id": "3394", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts:37:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117399,21 +117404,20 @@ "testsCompleted": 43, "static": false, "killedBy": [ - "1296" + "1297" ], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -117442,9 +117446,10 @@ "714", "715", "716", - "1294", - "1296", - "1297" + "717", + "1295", + "1297", + "1298" ], "location": { "end": { @@ -117458,7 +117463,7 @@ } }, { - "id": "3393", + "id": "3395", "mutatorName": "LogicalOperator", "replacement": "maxItems === undefined && arrayMaxSize(array, maxItems)", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,118): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -117466,18 +117471,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -117506,9 +117510,10 @@ "714", "715", "716", - "1294", - "1296", - "1297" + "717", + "1295", + "1297", + "1298" ], "location": { "end": { @@ -117522,7 +117527,7 @@ } }, { - "id": "3394", + "id": "3396", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,101): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.\n Type 'undefined' is not assignable to type 'number'.\n", @@ -117530,18 +117535,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -117570,9 +117574,10 @@ "714", "715", "716", - "1294", - "1296", - "1297" + "717", + "1295", + "1297", + "1298" ], "location": { "end": { @@ -117586,7 +117591,7 @@ } }, { - "id": "3395", + "id": "3397", "mutatorName": "EqualityOperator", "replacement": "maxItems !== undefined", "statusReason": "src/shared/validation/helpers/validation.helper.ts(5,118): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.\n", @@ -117594,18 +117599,17 @@ "static": false, "killedBy": [], "coveredBy": [ - "620", "621", - "627", + "622", "628", "629", - "681", + "630", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -117634,9 +117638,10 @@ "714", "715", "716", - "1294", - "1296", - "1297" + "717", + "1295", + "1297", + "1298" ], "location": { "end": { @@ -117656,7 +117661,7 @@ "language": "typescript", "mutants": [ { - "id": "3396", + "id": "3398", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/validation/transformers/validation.transformer.ts(5,51): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -117664,21 +117669,21 @@ "static": true, "killedBy": [], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1234", + "927", "1235", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117692,7 +117697,7 @@ } }, { - "id": "3397", + "id": "3399", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:467:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117700,24 +117705,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "921" + "922" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1234", + "927", "1235", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117731,7 +117736,7 @@ } }, { - "id": "3398", + "id": "3400", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: \"true\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:53:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117739,24 +117744,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "1234" + "1235" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1234", + "927", "1235", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117770,7 +117775,7 @@ } }, { - "id": "3399", + "id": "3401", "mutatorName": "EqualityOperator", "replacement": "value !== \"true\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: false\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox9565208/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:467:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117778,24 +117783,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "921" + "922" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1234", + "927", "1235", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117809,7 +117814,7 @@ } }, { - "id": "3400", + "id": "3402", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: \"true\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:53:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117817,24 +117822,24 @@ "testsCompleted": 15, "static": true, "killedBy": [ - "1234" + "1235" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1234", + "927", "1235", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117848,7 +117853,7 @@ } }, { - "id": "3401", + "id": "3403", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: true\nReceived: \"true\"\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:53:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117856,10 +117861,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1234" + "1235" ], "coveredBy": [ - "1234" + "1235" ], "location": { "end": { @@ -117873,14 +117878,14 @@ } }, { - "id": "3402", + "id": "3404", "mutatorName": "BooleanLiteral", "replacement": "false", "status": "Timeout", "static": false, "killedBy": [], "coveredBy": [ - "1234" + "1235" ], "location": { "end": { @@ -117894,7 +117899,7 @@ } }, { - "id": "3403", + "id": "3405", "mutatorName": "ConditionalExpression", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts:477:69)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -117902,23 +117907,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "922" + "923" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1235", + "927", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117932,7 +117937,7 @@ } }, { - "id": "3404", + "id": "3406", "mutatorName": "ConditionalExpression", "replacement": "false", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -117940,23 +117945,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1235", + "927", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -117970,7 +117975,7 @@ } }, { - "id": "3405", + "id": "3407", "mutatorName": "EqualityOperator", "replacement": "value !== \"false\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -117978,23 +117983,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1235", + "927", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -118008,7 +118013,7 @@ } }, { - "id": "3406", + "id": "3408", "mutatorName": "StringLiteral", "replacement": "\"\"", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -118016,23 +118021,23 @@ "testsCompleted": 14, "static": true, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "920", + "577", "921", "922", "923", "924", "925", "926", - "1235", + "927", "1236", "1237", "1238", "1239", - "1240" + "1240", + "1241" ], "location": { "end": { @@ -118046,7 +118051,7 @@ } }, { - "id": "3407", + "id": "3409", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 200\nReceived: 400\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts:262:35)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)", @@ -118054,11 +118059,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "576" + "577" ], "coveredBy": [ - "576", - "1235" + "577", + "1236" ], "location": { "end": { @@ -118072,7 +118077,7 @@ } }, { - "id": "3408", + "id": "3410", "mutatorName": "BooleanLiteral", "replacement": "true", "statusReason": "Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: false\nReceived: true\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:53:53\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -118080,11 +118085,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1235" + "1236" ], "coveredBy": [ - "576", - "1235" + "577", + "1236" ], "location": { "end": { @@ -118098,7 +118103,7 @@ } }, { - "id": "3414", + "id": "3416", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot destructure property '_id' of 'obj' as it is null.\n at toObjectId (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/shared/validation/transformers/validation.transformer.ts:92:7)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:84:24\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -118106,11 +118111,11 @@ "testsCompleted": 2, "static": false, "killedBy": [ - "1241" + "1242" ], "coveredBy": [ - "1241", - "1242" + "1242", + "1243" ], "location": { "end": { @@ -118124,7 +118129,7 @@ } }, { - "id": "3418", + "id": "3420", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "TypeError: Cannot read properties of null (reading 'toString')\n at toObjectId (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/src/shared/validation/transformers/validation.transformer.ts:104:55)\n at /Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/.stryker-tmp/sandbox1542823/tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts:84:24\n at Object. (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-each/build/bind.js:81:13)\n at Promise.then.completed (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:298:28)\n at new Promise ()\n at callAsyncCircusFn (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/utils.js:231:10)\n at _callCircusTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:316:40)\n at async _runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:252:3)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:126:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async _runTestsForDescribeBlock (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:121:9)\n at async run (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/run.js:71:3)\n at async runAndTransformResultsToJestFormat (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)\n at async jestAdapter (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)\n at async runTestInternal (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:367:16)\n at async runTest (/Users/antoinezanardi/WebstormProjects/werewolves-assistant-api-next/node_modules/jest-runner/build/runTest.js:444:34)", @@ -118132,10 +118137,10 @@ "testsCompleted": 1, "static": false, "killedBy": [ - "1243" + "1244" ], "coveredBy": [ - "1243" + "1244" ], "location": { "end": { @@ -118149,7 +118154,7 @@ } }, { - "id": "3409", + "id": "3411", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/validation/transformers/validation.transformer.ts(14,50): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -118538,9 +118543,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -118601,24 +118606,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -118645,14 +118650,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -118681,7 +118686,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -118690,22 +118695,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -118755,8 +118760,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -118777,7 +118782,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -118803,7 +118808,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -118814,11 +118819,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -118832,7 +118837,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -118856,9 +118861,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -118874,7 +118879,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -118895,22 +118900,23 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1241", + "1229", + "1234", "1242", "1243", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { @@ -118925,8 +118931,8 @@ }, { "id": "3413", - "mutatorName": "StringLiteral", - "replacement": "\"\"", + "mutatorName": "ConditionalExpression", + "replacement": "true", "status": "Timeout", "static": true, "coveredBy": [ @@ -119312,9 +119318,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -119375,24 +119381,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -119419,14 +119425,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -119455,7 +119461,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -119464,22 +119470,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -119529,8 +119535,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -119551,7 +119557,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -119577,7 +119583,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -119588,11 +119594,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -119606,7 +119612,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -119630,9 +119636,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -119648,7 +119654,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -119669,38 +119675,39 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1241", + "1229", + "1234", "1242", "1243", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { - "column": 22, + "column": 23, "line": 15 }, "start": { - "column": 17, + "column": 7, "line": 15 } } }, { "id": "3412", - "mutatorName": "ConditionalExpression", - "replacement": "false", + "mutatorName": "BooleanLiteral", + "replacement": "has(obj, \"_id\")", "status": "Timeout", "static": true, "coveredBy": [ @@ -120086,9 +120093,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -120149,24 +120156,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -120193,14 +120200,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -120229,7 +120236,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -120238,22 +120245,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -120303,8 +120310,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -120325,7 +120332,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -120351,7 +120358,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -120362,11 +120369,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -120380,7 +120387,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -120404,9 +120411,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -120422,7 +120429,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -120443,22 +120450,23 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1241", + "1229", + "1234", "1242", "1243", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { @@ -120473,8 +120481,8 @@ }, { "id": "3415", - "mutatorName": "BooleanLiteral", - "replacement": "isValidObjectId(_id)", + "mutatorName": "StringLiteral", + "replacement": "\"\"", "status": "Timeout", "static": true, "coveredBy": [ @@ -120860,9 +120868,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -120923,24 +120931,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -120967,14 +120975,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -121003,7 +121011,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -121012,22 +121020,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -121077,8 +121085,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -121099,7 +121107,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -121125,7 +121133,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -121136,11 +121144,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -121154,7 +121162,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -121178,9 +121186,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -121196,7 +121204,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -121217,36 +121225,39 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", + "1229", + "1234", + "1242", "1243", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { - "column": 28, - "line": 19 + "column": 22, + "line": 15 }, "start": { - "column": 7, - "line": 19 + "column": 17, + "line": 15 } } }, { - "id": "3410", - "mutatorName": "BooleanLiteral", - "replacement": "has(obj, \"_id\")", + "id": "3418", + "mutatorName": "ConditionalExpression", + "replacement": "true", "status": "Timeout", "static": true, "coveredBy": [ @@ -121632,9 +121643,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -121695,24 +121706,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -121739,14 +121750,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -121775,7 +121786,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -121784,22 +121795,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -121849,8 +121860,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -121871,7 +121882,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -121897,7 +121908,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -121908,11 +121919,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -121926,7 +121937,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -121950,9 +121961,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -121968,7 +121979,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -121989,38 +122000,37 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1241", - "1242", - "1243", + "1229", + "1234", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { - "column": 23, - "line": 15 + "column": 28, + "line": 19 }, "start": { "column": 7, - "line": 15 + "line": 19 } } }, { - "id": "3411", - "mutatorName": "ConditionalExpression", - "replacement": "true", + "id": "3417", + "mutatorName": "BooleanLiteral", + "replacement": "isValidObjectId(_id)", "status": "Timeout", "static": true, "coveredBy": [ @@ -122406,9 +122416,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -122469,24 +122479,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -122513,14 +122523,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -122549,7 +122559,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -122558,22 +122568,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -122623,8 +122633,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -122645,7 +122655,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -122671,7 +122681,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -122682,11 +122692,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -122700,7 +122710,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -122724,9 +122734,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -122742,7 +122752,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -122763,38 +122773,37 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1241", - "1242", - "1243", + "1229", + "1234", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { - "column": 23, - "line": 15 + "column": 28, + "line": 19 }, "start": { "column": 7, - "line": 15 + "line": 19 } } }, { - "id": "3416", + "id": "3419", "mutatorName": "ConditionalExpression", - "replacement": "true", + "replacement": "false", "status": "Timeout", "static": true, "coveredBy": [ @@ -123180,9 +123189,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -123243,24 +123252,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -123287,14 +123296,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -123323,7 +123332,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -123332,22 +123341,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -123397,8 +123406,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -123419,7 +123428,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -123445,7 +123454,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -123456,11 +123465,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -123474,7 +123483,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -123498,9 +123507,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -123516,7 +123525,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -123537,20 +123546,21 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", - "1243", + "1229", + "1234", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { @@ -123564,7 +123574,7 @@ } }, { - "id": "3417", + "id": "3414", "mutatorName": "ConditionalExpression", "replacement": "false", "status": "Timeout", @@ -123952,9 +123962,9 @@ "484", "485", "486", - "494", - "500", - "505", + "487", + "495", + "501", "506", "507", "508", @@ -124015,24 +124025,24 @@ "563", "564", "565", - "567", - "579", - "608", + "566", + "568", + "580", "609", "610", - "613", + "611", "614", - "618", + "615", "619", "620", "621", - "627", + "622", "628", "629", "630", - "637", - "641", - "643", + "631", + "638", + "642", "644", "645", "646", @@ -124059,14 +124069,14 @@ "667", "668", "669", - "675", - "681", + "670", + "676", "682", "683", "684", "685", "686", - "688", + "687", "689", "690", "691", @@ -124095,7 +124105,7 @@ "714", "715", "716", - "725", + "717", "726", "727", "728", @@ -124104,22 +124114,22 @@ "731", "732", "733", - "735", + "734", "736", - "738", + "737", "739", - "741", + "740", "742", - "744", + "743", "745", "746", - "749", + "747", "750", "751", "752", "753", "754", - "764", + "755", "765", "766", "767", @@ -124169,8 +124179,8 @@ "811", "812", "813", - "853", - "855", + "814", + "854", "856", "857", "858", @@ -124191,7 +124201,7 @@ "873", "874", "875", - "877", + "876", "878", "879", "880", @@ -124217,7 +124227,7 @@ "900", "901", "902", - "927", + "903", "928", "929", "930", @@ -124228,11 +124238,11 @@ "935", "936", "937", - "947", + "938", "948", "949", - "978", - "980", + "950", + "979", "981", "982", "983", @@ -124246,7 +124256,7 @@ "991", "992", "993", - "1000", + "994", "1001", "1002", "1003", @@ -124270,9 +124280,9 @@ "1021", "1022", "1023", - "1028", + "1024", "1029", - "1047", + "1030", "1048", "1049", "1050", @@ -124288,7 +124298,7 @@ "1060", "1061", "1062", - "1064", + "1063", "1065", "1066", "1067", @@ -124309,29 +124319,32 @@ "1082", "1083", "1084", - "1225", + "1085", "1226", "1227", "1228", - "1233", + "1229", + "1234", + "1242", "1243", "1244", - "1278", + "1245", "1279", "1280", - "1283", - "1288", - "1314", - "1315" + "1281", + "1284", + "1289", + "1315", + "1316" ], "location": { "end": { - "column": 28, - "line": 19 + "column": 23, + "line": 15 }, "start": { "column": 7, - "line": 19 + "line": 15 } } } @@ -124342,7 +124355,7 @@ "language": "typescript", "mutants": [ { - "id": "3378", + "id": "3380", "mutatorName": "BlockStatement", "replacement": "{}", "statusReason": "src/shared/misc/helpers/object.helper.ts(6,57): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", @@ -124518,10 +124531,10 @@ "474", "475", "476", - "485", + "477", "486", - "494", - "512", + "487", + "495", "513", "514", "515", @@ -124573,25 +124586,25 @@ "561", "562", "563", - "579", - "608", + "564", + "580", "609", "610", - "614", - "618", + "611", + "615", "619", "620", "621", - "628", + "622", "629", - "654", - "669", - "681", + "630", + "655", + "670", "682", "683", - "692", - "695", - "699", + "684", + "693", + "696", "700", "701", "702", @@ -124609,7 +124622,7 @@ "714", "715", "716", - "788", + "717", "789", "790", "791", @@ -124626,7 +124639,7 @@ "802", "803", "804", - "855", + "805", "856", "857", "858", @@ -124638,15 +124651,15 @@ "864", "865", "866", - "869", + "867", "870", "871", "872", "873", "874", "875", - "878", - "881", + "876", + "879", "882", "883", "884", @@ -124668,8 +124681,8 @@ "900", "901", "902", - "980", - "986", + "903", + "981", "987", "988", "989", @@ -124677,7 +124690,7 @@ "991", "992", "993", - "1024", + "994", "1025", "1026", "1027", @@ -124729,22 +124742,23 @@ "1073", "1074", "1075", - "1079", + "1076", "1080", "1081", "1082", "1083", "1084", - "1278", + "1085", "1279", "1280", - "1283", - "1288", + "1281", + "1284", "1289", - "1306", - "1311", + "1290", + "1307", "1312", - "1313" + "1313", + "1314" ], "location": { "end": { @@ -124760,32 +124774,66 @@ ], "source": "function toJSON(obj: null): null;\nfunction toJSON(obj: T[]): Record[];\nfunction toJSON(obj: T): Record;\nfunction toJSON(obj: T | null): Record | null;\n\nfunction toJSON(obj: T | T[] | null): Record | Record[] | null {\n return JSON.parse(JSON.stringify(obj)) as Record | Record[] | null;\n}\n\nexport { toJSON };" }, - "src/modules/role/controllers/role.controller.ts": { + "src/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory.ts": { "language": "typescript", "mutants": [ { - "id": "3304", + "id": "511", "mutatorName": "BlockStatement", "replacement": "{}", - "statusReason": "src/modules/role/controllers/role.controller.ts(15,23): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", + "statusReason": "src/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory.ts(8,91): error TS2355: A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.\n", "status": "CompileError", "static": false, "coveredBy": [ - "1306" + "130", + "131", + "139", + "140", + "141", + "146", + "147", + "148", + "149", + "150", + "151", + "152", + "153", + "154", + "155", + "156", + "157", + "158", + "159", + "160", + "161", + "162", + "169", + "170", + "171", + "172", + "173", + "174", + "175", + "609", + "610", + "611", + "621", + "622", + "1284" ], "location": { "end": { - "column": 4, - "line": 17 + "column": 2, + "line": 10 }, "start": { - "column": 30, - "line": 15 + "column": 115, + "line": 8 } } } ], - "source": "import { Controller, Get, HttpStatus } from \"@nestjs/common\";\nimport { ApiOperation, ApiResponse, ApiTags } from \"@nestjs/swagger\";\n\nimport { ROLES } from \"@/modules/role/constants/role.constant\";\nimport { Role } from \"@/modules/role/types/role.type\";\n\nimport { ApiResources } from \"@/shared/api/enums/api.enum\";\n\n@ApiTags(\"🃏 Roles\")\n@Controller(ApiResources.ROLES)\nexport class RoleController {\n @Get()\n @ApiOperation({ summary: \"Get all available roles for games\" })\n @ApiResponse({ status: HttpStatus.OK, type: Role, isArray: true })\n private getRoles(): Role[] {\n return ROLES as Role[];\n }\n}" + "source": "import { plainToInstance } from \"class-transformer\";\n\nimport { GamePlayEligibleTargets } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/game-play-eligible-targets.schema\";\n\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\nimport { DEFAULT_PLAIN_TO_INSTANCE_OPTIONS } from \"@/shared/validation/constants/validation.constant\";\n\nfunction createGamePlayEligibleTargets(gamePlayEligibleTargets: GamePlayEligibleTargets): GamePlayEligibleTargets {\n return plainToInstance(GamePlayEligibleTargets, toJSON(gamePlayEligibleTargets), DEFAULT_PLAIN_TO_INSTANCE_OPTIONS);\n}\n\nexport { createGamePlayEligibleTargets };" } }, "schemaVersion": "1.0", @@ -127083,7 +127131,7 @@ } }, { - "id": "1319", + "id": "1320", "name": "Game Play Augmenter Service canGamePlayBeSkipped should return true when game play source name is raven.", "location": { "start": { @@ -128448,7 +128496,7 @@ } }, { - "id": "1320", + "id": "1321", "name": "Game Play Service isGroupGamePlaySuitableForCurrentPhase should return false when game plays source group is werewolves and all are powerless.", "location": { "start": { @@ -128824,7 +128872,7 @@ }, { "id": "399", - "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff delegation game play when sheriff is not in the game.", + "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff settling tie in votes game play when sheriff is not in the game.", "location": { "start": { "column": 6, @@ -128834,721 +128882,731 @@ }, { "id": "400", - "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff delegation game play when sheriff is dead.", + "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff settling tie in votes game play when sheriff is dead.", "location": { "start": { "column": 6, - "line": 506 + "line": 507 } } }, { "id": "401", - "name": "Game Play Maker Service handleTieInVotes should prepend sheriff delegation game play when sheriff is in the game.", + "name": "Game Play Maker Service handleTieInVotes should not prepend sheriff settling tie in votes game play when game options don't allow it.", "location": { "start": { "column": 6, - "line": 521 + "line": 523 } } }, { "id": "402", - "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when previous play is not a tie.", + "name": "Game Play Maker Service handleTieInVotes should prepend sheriff delegation game play when sheriff is in the game.", "location": { "start": { "column": 6, - "line": 536 + "line": 539 } } }, { "id": "403", - "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when there is no game history records.", + "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when previous play is not a tie.", "location": { "start": { "column": 6, - "line": 551 + "line": 555 } } }, { "id": "404", - "name": "Game Play Maker Service handleTieInVotes should not prepend vote game play when current play is due to a tie.", + "name": "Game Play Maker Service handleTieInVotes should prepend vote game play when there is no game history records.", "location": { "start": { "column": 6, - "line": 566 + "line": 571 } } }, { "id": "405", - "name": "Game Play Maker Service survivorsVote should return game as is when there is no vote.", + "name": "Game Play Maker Service handleTieInVotes should not prepend vote game play when current play is due to a tie.", "location": { "start": { "column": 6, - "line": 588 + "line": 587 } } }, { "id": "406", - "name": "Game Play Maker Service survivorsVote should return game as is when there is no nominated players.", + "name": "Game Play Maker Service survivorsVote should return game as is when there is no vote.", "location": { "start": { "column": 6, - "line": 603 + "line": 609 } } }, { "id": "407", - "name": "Game Play Maker Service survivorsVote should call handleTieInVotes method when there are several nominated players.", + "name": "Game Play Maker Service survivorsVote should return game as is when there is no nominated players.", "location": { "start": { "column": 6, - "line": 623 + "line": 624 } } }, { "id": "408", - "name": "Game Play Maker Service survivorsVote should call handleTieInVotes method with prepended all vote game play from judge when there are several nominated players and judge requested it.", + "name": "Game Play Maker Service survivorsVote should call handleTieInVotes method when there are several nominated players.", "location": { "start": { "column": 6, - "line": 643 + "line": 644 } } }, { "id": "409", - "name": "Game Play Maker Service survivorsVote should call killOrRevealPlayer method when there is one nominated player.", + "name": "Game Play Maker Service survivorsVote should call handleTieInVotes method with prepended all vote game play from judge when there are several nominated players and judge requested it.", "location": { "start": { "column": 6, - "line": 667 + "line": 664 } } }, { "id": "410", - "name": "Game Play Maker Service handleTieInSheriffElection should prepend survivors elect sheriff game play when current play is not due to a tie.", + "name": "Game Play Maker Service survivorsVote should call killOrRevealPlayer method when there is one nominated player.", "location": { "start": { "column": 6, - "line": 690 + "line": 688 } } }, { "id": "411", - "name": "Game Play Maker Service handleTieInSheriffElection should add sheriff attribute to a random nominated player when current play is due to a tie.", + "name": "Game Play Maker Service handleTieInSheriffElection should prepend survivors elect sheriff game play when current play is not due to a tie.", "location": { "start": { "column": 6, - "line": 707 + "line": 711 } } }, { "id": "412", - "name": "Game Play Maker Service handleTieInSheriffElection should return game as is when it's not possible to choose a random nominated player.", + "name": "Game Play Maker Service handleTieInSheriffElection should add sheriff attribute to a random nominated player when current play is due to a tie.", "location": { "start": { "column": 6, - "line": 735 + "line": 728 } } }, { "id": "413", - "name": "Game Play Maker Service survivorsElectSheriff should return game as is when there is no vote.", + "name": "Game Play Maker Service handleTieInSheriffElection should return game as is when it's not possible to choose a random nominated player.", "location": { "start": { "column": 6, - "line": 758 + "line": 756 } } }, { "id": "414", - "name": "Game Play Maker Service survivorsElectSheriff should return game as is when there is no nominated players.", + "name": "Game Play Maker Service survivorsElectSheriff should return game as is when there is no vote.", "location": { "start": { "column": 6, - "line": 773 + "line": 779 } } }, { "id": "415", - "name": "Game Play Maker Service survivorsElectSheriff should call handleTieInSheriffElection method when there is a tie in votes.", + "name": "Game Play Maker Service survivorsElectSheriff should return game as is when there is no nominated players.", "location": { "start": { "column": 6, - "line": 792 + "line": 794 } } }, { "id": "416", - "name": "Game Play Maker Service survivorsElectSheriff should add sheriff attribute to nominated player when called.", + "name": "Game Play Maker Service survivorsElectSheriff should call handleTieInSheriffElection method when there is a tie in votes.", "location": { "start": { "column": 6, - "line": 812 + "line": 813 } } }, { "id": "417", - "name": "Game Play Maker Service survivorsPlay should return game as is when upcoming play is not for all.", + "name": "Game Play Maker Service survivorsElectSheriff should add sheriff attribute to nominated player when called.", "location": { "start": { "column": 6, - "line": 846 + "line": 833 } } }, { "id": "418", - "name": "Game Play Maker Service survivorsPlay should call survivorsElectSheriff method when upcoming play is sheriff role delegation.", + "name": "Game Play Maker Service survivorsPlay should return game as is when upcoming play is not for all.", "location": { "start": { "column": 6, - "line": 854 + "line": 867 } } }, { "id": "419", - "name": "Game Play Maker Service survivorsPlay should call survivorsVote method when upcoming play is sheriff settling vote.", + "name": "Game Play Maker Service survivorsPlay should call survivorsElectSheriff method when upcoming play is sheriff role delegation.", "location": { "start": { "column": 6, - "line": 862 + "line": 875 } } }, { "id": "420", - "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no thief player in game.", + "name": "Game Play Maker Service survivorsPlay should call survivorsVote method when upcoming play is sheriff settling vote.", "location": { "start": { "column": 6, - "line": 872 + "line": 883 } } }, { "id": "421", - "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no chosen card.", + "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no thief player in game.", "location": { "start": { "column": 6, - "line": 892 + "line": 893 } } }, { "id": "422", - "name": "Game Play Maker Service thiefChoosesCard should return game as is when chosen card role is unknown.", + "name": "Game Play Maker Service thiefChoosesCard should return game as is when there is no chosen card.", "location": { "start": { "column": 6, - "line": 912 + "line": 913 } } }, { "id": "423", - "name": "Game Play Maker Service thiefChoosesCard should update thief role and side when called.", + "name": "Game Play Maker Service thiefChoosesCard should return game as is when chosen card role is unknown.", "location": { "start": { "column": 6, - "line": 932 + "line": 933 } } }, { "id": "424", - "name": "Game Play Maker Service scapegoatBansVoting should return game as is when there are no targets.", + "name": "Game Play Maker Service thiefChoosesCard should update thief role and side when called.", "location": { "start": { "column": 6, - "line": 967 + "line": 953 } } }, { "id": "425", - "name": "Game Play Maker Service scapegoatBansVoting should add scapegoat ban voting attributes to targets when called.", + "name": "Game Play Maker Service scapegoatBansVoting should return game as is when there are no targets.", "location": { "start": { "column": 6, - "line": 981 + "line": 988 } } }, { "id": "426", - "name": "Game Play Maker Service wolfHoundChoosesSide should return game as is when there is no wolf-hound in the game.", + "name": "Game Play Maker Service scapegoatBansVoting should add scapegoat ban voting attributes to targets when called.", "location": { "start": { "column": 6, - "line": 1009 + "line": 1002 } } }, { "id": "427", - "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on random side when chosen side is not set.", + "name": "Game Play Maker Service wolfHoundChoosesSide should return game as is when there is no wolf-hound in the game.", "location": { "start": { "column": 6, - "line": 1023 + "line": 1030 } } }, { "id": "428", - "name": "Game Play Maker Service wolfHoundChoosesSide should get a random side when chosen side is not set.", + "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on random side when chosen side is not set.", "location": { "start": { "column": 6, - "line": 1050 + "line": 1044 } } }, { "id": "429", - "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on the werewolves side when chosen side is werewolves.", + "name": "Game Play Maker Service wolfHoundChoosesSide should get a random side when chosen side is not set.", "location": { "start": { "column": 6, - "line": 1064 + "line": 1071 } } }, { "id": "430", - "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on the villagers side when chosen side is villagers.", + "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on the werewolves side when chosen side is werewolves.", "location": { "start": { "column": 6, - "line": 1090 + "line": 1085 } } }, { "id": "431", - "name": "Game Play Maker Service wildChildChoosesModel should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service wolfHoundChoosesSide should return wolf-hound on the villagers side when chosen side is villagers.", "location": { "start": { "column": 6, - "line": 1118 + "line": 1111 } } }, { "id": "432", - "name": "Game Play Maker Service wildChildChoosesModel should add worshiped attribute to target when called.", + "name": "Game Play Maker Service wildChildChoosesModel should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1132 + "line": 1139 } } }, { "id": "433", - "name": "Game Play Maker Service foxSniffs should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service wildChildChoosesModel should add worshiped attribute to target when called.", "location": { "start": { "column": 6, - "line": 1161 + "line": 1153 } } }, { "id": "434", - "name": "Game Play Maker Service foxSniffs should return game as is when there is no fox in the game.", + "name": "Game Play Maker Service foxSniffs should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1175 + "line": 1182 } } }, { "id": "435", - "name": "Game Play Maker Service foxSniffs should return game as is when fox is not powerless if misses werewolves by game options.", + "name": "Game Play Maker Service foxSniffs should return game as is when there is no fox in the game.", "location": { "start": { "column": 6, - "line": 1190 + "line": 1196 } } }, { "id": "436", - "name": "Game Play Maker Service foxSniffs should return game as is when fox sniffes a werewolf in the group.", + "name": "Game Play Maker Service foxSniffs should return game as is when fox is not powerless if misses werewolves by game options.", "location": { "start": { "column": 6, - "line": 1206 + "line": 1211 } } }, { "id": "437", - "name": "Game Play Maker Service foxSniffs should make fox powerless when there is no werewolf in the group.", + "name": "Game Play Maker Service foxSniffs should return game as is when fox sniffes a werewolf in the group.", "location": { "start": { "column": 6, - "line": 1222 + "line": 1227 } } }, { "id": "438", - "name": "Game Play Maker Service scandalmongerMarks should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service foxSniffs should make fox powerless when there is no werewolf in the group.", "location": { "start": { "column": 6, - "line": 1252 + "line": 1243 } } }, { "id": "439", - "name": "Game Play Maker Service scandalmongerMarks should add scandalmonger marked attribute to target when called.", + "name": "Game Play Maker Service scandalmongerMarks should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1266 + "line": 1273 } } }, { "id": "440", - "name": "Game Play Maker Service defenderProtects should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service scandalmongerMarks should add scandalmonger marked attribute to target when called.", "location": { "start": { "column": 6, - "line": 1295 + "line": 1287 } } }, { "id": "441", - "name": "Game Play Maker Service defenderProtects should add protected attribute to target when called.", + "name": "Game Play Maker Service defenderProtects should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1309 + "line": 1316 } } }, { "id": "442", - "name": "Game Play Maker Service hunterShoots should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service defenderProtects should add protected attribute to target when called.", "location": { "start": { "column": 6, - "line": 1338 + "line": 1330 } } }, { "id": "443", - "name": "Game Play Maker Service hunterShoots should call killOrRevealPlayer method when called.", + "name": "Game Play Maker Service hunterShoots should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1352 + "line": 1359 } } }, { "id": "444", - "name": "Game Play Maker Service witchUsesPotions should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service hunterShoots should call killOrRevealPlayer method when called.", "location": { "start": { "column": 6, - "line": 1370 + "line": 1373 } } }, { "id": "445", - "name": "Game Play Maker Service witchUsesPotions should add only one potion attributes to targets when called.", + "name": "Game Play Maker Service witchUsesPotions should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1384 + "line": 1391 } } }, { "id": "446", - "name": "Game Play Maker Service witchUsesPotions should add both potion attributes to targets when called.", + "name": "Game Play Maker Service witchUsesPotions should add only one potion attributes to targets when called.", "location": { "start": { "column": 6, - "line": 1411 + "line": 1405 } } }, { "id": "447", - "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are undefined.", + "name": "Game Play Maker Service witchUsesPotions should add both potion attributes to targets when called.", "location": { "start": { "column": 6, - "line": 1447 + "line": 1432 } } }, { "id": "448", - "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are empty.", + "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are undefined.", "location": { "start": { "column": 6, - "line": 1461 + "line": 1468 } } }, { "id": "449", - "name": "Game Play Maker Service piedPiperCharms should add pied piper charmed attributes to targets when called.", + "name": "Game Play Maker Service piedPiperCharms should return game as is when targets are empty.", "location": { "start": { "column": 6, - "line": 1475 + "line": 1482 } } }, { "id": "450", - "name": "Game Play Maker Service cupidCharms should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service piedPiperCharms should add pied piper charmed attributes to targets when called.", "location": { "start": { "column": 6, - "line": 1511 + "line": 1496 } } }, { "id": "451", - "name": "Game Play Maker Service cupidCharms should add in-love attribute to targets when called.", + "name": "Game Play Maker Service cupidCharms should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1525 + "line": 1532 } } }, { "id": "452", - "name": "Game Play Maker Service seerLooks should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service cupidCharms should add in-love attribute to targets when called.", "location": { "start": { "column": 6, - "line": 1561 + "line": 1546 } } }, { "id": "453", - "name": "Game Play Maker Service seerLooks should add seen attribute to target when called.", + "name": "Game Play Maker Service seerLooks should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1575 + "line": 1582 } } }, { "id": "454", - "name": "Game Play Maker Service whiteWerewolfEats should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service seerLooks should add seen attribute to target when called.", "location": { "start": { "column": 6, - "line": 1604 + "line": 1596 } } }, { "id": "455", - "name": "Game Play Maker Service whiteWerewolfEats should add eaten attribute by white werewolf to target when called.", + "name": "Game Play Maker Service whiteWerewolfEats should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1618 + "line": 1625 } } }, { "id": "456", - "name": "Game Play Maker Service bigBadWolfEats should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service whiteWerewolfEats should add eaten attribute by white werewolf to target when called.", "location": { "start": { "column": 6, - "line": 1647 + "line": 1639 } } }, { "id": "457", - "name": "Game Play Maker Service bigBadWolfEats should add eaten attribute by big bad wolf to target when called.", + "name": "Game Play Maker Service bigBadWolfEats should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1661 + "line": 1668 } } }, { "id": "458", - "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves when called.", + "name": "Game Play Maker Service bigBadWolfEats should add eaten attribute by big bad wolf to target when called.", "location": { "start": { "column": 6, - "line": 1690 + "line": 1682 } } }, { "id": "459", - "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is prejudiced manipulator.", + "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves when called.", "location": { "start": { "column": 6, - "line": 1715 + "line": 1711 } } }, { "id": "460", - "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is prejudiced manipulator and game options are changed.", + "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is prejudiced manipulator.", "location": { "start": { "column": 6, - "line": 1742 + "line": 1736 } } }, { "id": "461", - "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is pied piper.", + "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is prejudiced manipulator and game options are changed.", "location": { "start": { "column": 6, - "line": 1768 + "line": 1763 } } }, { "id": "462", - "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is pied piper and game options are changed.", + "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is pied piper.", "location": { "start": { "column": 6, - "line": 1795 + "line": 1789 } } }, { "id": "463", - "name": "Game Play Maker Service werewolvesEat should return game as is when expected target count is not reached.", + "name": "Game Play Maker Service accursedWolfFatherInfects should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is pied piper and game options are changed.", "location": { "start": { "column": 6, - "line": 1827 + "line": 1816 } } }, { "id": "464", - "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is not infected.", + "name": "Game Play Maker Service werewolvesEat should return game as is when expected target count is not reached.", "location": { "start": { "column": 6, - "line": 1842 + "line": 1848 } } }, { "id": "465", - "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is infected but not killable elder.", + "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is not infected.", "location": { "start": { "column": 6, - "line": 1871 + "line": 1863 } } }, { "id": "466", - "name": "Game Play Maker Service werewolvesEat should not infect target when target is not infected.", + "name": "Game Play Maker Service werewolvesEat should add eaten attribute by werewolves to target when target is infected but not killable elder.", "location": { "start": { "column": 6, - "line": 1900 + "line": 1892 } } }, { "id": "467", - "name": "Game Play Maker Service werewolvesEat should not infect target when target is infected but not killable elder.", + "name": "Game Play Maker Service werewolvesEat should not infect target when target is not infected.", "location": { "start": { "column": 6, - "line": 1916 + "line": 1921 } } }, { "id": "468", - "name": "Game Play Maker Service werewolvesEat should infect target when he's infected and not the elder.", + "name": "Game Play Maker Service werewolvesEat should not infect target when target is infected but not killable elder.", "location": { "start": { "column": 6, - "line": 1932 + "line": 1937 } } }, { "id": "469", - "name": "Game Play Maker Service werewolvesEat should infect target when he's infected and elder with only one life left.", + "name": "Game Play Maker Service werewolvesEat should infect target when he's infected and not the elder.", "location": { "start": { "column": 6, - "line": 1948 + "line": 1953 } } }, { "id": "470", + "name": "Game Play Maker Service werewolvesEat should infect target when he's infected and elder with only one life left.", + "location": { + "start": { + "column": 6, + "line": 1969 + } + } + }, + { + "id": "471", "name": "Game Play Maker Service werewolvesEat should infect target when he's infected and elder with zero one life left.", "location": { "start": { "column": 6, - "line": 1964 + "line": 1985 } } } ], - "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport lodash from \"lodash\";\n\nimport type { MakeGamePlayVoteWithRelationsDto } from \"@/modules/game/dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport { GamePlayCauses, GamePlayOccurrences, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport * as GameMutator from \"@/modules/game/helpers/game.mutator\";\nimport { GamePlayMakerService } from \"@/modules/game/providers/services/game-play/game-play-maker.service\";\nimport { GamePlayVoteService } from \"@/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport { PlayerKillerService } from \"@/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { UnexpectedExceptionReasons } from \"@/shared/exception/enums/unexpected-exception.enum\";\nimport * as UnexpectedExceptionFactory from \"@/shared/exception/helpers/unexpected-exception.factory\";\nimport { UnexpectedException } from \"@/shared/exception/types/unexpected-exception.type\";\n\nimport { createFakeMakeGamePlayTargetWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-target-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayVoteWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-vote-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-with-relations.dto.factory\";\nimport { createFakeGameAdditionalCard } from \"@tests/factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameOptions } from \"@tests/factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeFoxGameOptions, createFakePiedPiperGameOptions, createFakePrejudicedManipulatorGameOptions, createFakeRolesGameOptions } from \"@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayBigBadWolfEats, createFakeGamePlayCharmedMeetEachOther, createFakeGamePlayCupidCharms, createFakeGamePlayWolfHoundChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayDefenderProtects, createFakeGamePlayHunterShoots, createFakeGamePlayLoversMeetEachOther, createFakeGamePlayPiedPiperCharms, createFakeGamePlayScandalmongerMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayStutteringJudgeChoosesSign, createFakeGamePlaySurvivorsElectSheriff, createFakeGamePlaySurvivorsVote, createFakeGamePlayThiefChoosesCard, createFakeGamePlayThreeBrothersMeetEachOther, createFakeGamePlayTwoSistersMeetEachOther, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"@tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"@tests/factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByScapegoatPlayerAttribute, createFakeCharmedByPiedPiperPlayerAttribute, createFakeDrankDeathPotionByWitchPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute, createFakeEatenByWhiteWerewolfPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAccursedWolfFatherPlayerAttribute, createFakePowerlessByElderPlayerAttribute, createFakePowerlessByFoxPlayerAttribute, createFakeProtectedByDefenderPlayerAttribute, createFakeScandalmongerMarkedByScandalmongerPlayerAttribute, createFakeSeenBySeerPlayerAttribute, createFakeSheriffBySheriffPlayerAttribute, createFakeSheriffBySurvivorsPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"@tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerShotByHunterDeath, createFakePlayerVoteBySheriffDeath, createFakePlayerVoteBySurvivorsDeath, createFakePlayerVoteScapegoatedBySurvivorsDeath } from \"@tests/factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeElderAlivePlayer, createFakeWolfHoundAlivePlayer, createFakeFoxAlivePlayer, createFakeScandalmongerAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeThiefAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakePrejudicedManipulatorAlivePlayer, createFakePiedPiperAlivePlayer } from \"@tests/factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer } from \"@tests/factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Game Play Maker Service\", () => {\n let services: { gamePlayMaker: GamePlayMakerService };\n let mocks: {\n gamePlayMakerService: {\n accursedWolfFatherInfects: jest.SpyInstance;\n werewolvesEat: jest.SpyInstance;\n bigBadWolfEats: jest.SpyInstance;\n whiteWerewolfEats: jest.SpyInstance;\n seerLooks: jest.SpyInstance;\n cupidCharms: jest.SpyInstance;\n piedPiperCharms: jest.SpyInstance;\n witchUsesPotions: jest.SpyInstance;\n hunterShoots: jest.SpyInstance;\n defenderProtects: jest.SpyInstance;\n foxSniffs: jest.SpyInstance;\n wildChildChoosesModel: jest.SpyInstance;\n wolfHoundChoosesSide: jest.SpyInstance;\n scapegoatBansVoting: jest.SpyInstance;\n thiefChoosesCard: jest.SpyInstance;\n survivorsPlay: jest.SpyInstance;\n scandalmongerMarks: jest.SpyInstance;\n sheriffPlays: jest.SpyInstance;\n sheriffDelegates: jest.SpyInstance;\n sheriffSettlesVotes: jest.SpyInstance;\n handleTieInVotes: jest.SpyInstance;\n handleTieInSheriffElection: jest.SpyInstance;\n survivorsElectSheriff: jest.SpyInstance;\n survivorsVote: jest.SpyInstance;\n };\n playerKillerService: {\n killOrRevealPlayer: jest.SpyInstance;\n isElderKillable: jest.SpyInstance;\n getElderLivesCountAgainstWerewolves: jest.SpyInstance;\n };\n gamePlayVoteService: { getNominatedPlayers: jest.SpyInstance };\n gameMutator: { prependUpcomingPlayInGame: jest.SpyInstance };\n unexpectedExceptionFactory: {\n createNoCurrentGamePlayUnexpectedException: jest.SpyInstance;\n };\n lodash: { sample: jest.SpyInstance };\n };\n\n beforeEach(async() => {\n mocks = {\n gamePlayMakerService: {\n accursedWolfFatherInfects: jest.fn(),\n werewolvesEat: jest.fn(),\n bigBadWolfEats: jest.fn(),\n whiteWerewolfEats: jest.fn(),\n seerLooks: jest.fn(),\n cupidCharms: jest.fn(),\n piedPiperCharms: jest.fn(),\n witchUsesPotions: jest.fn(),\n hunterShoots: jest.fn(),\n defenderProtects: jest.fn(),\n foxSniffs: jest.fn(),\n wildChildChoosesModel: jest.fn(),\n wolfHoundChoosesSide: jest.fn(),\n scapegoatBansVoting: jest.fn(),\n thiefChoosesCard: jest.fn(),\n survivorsPlay: jest.fn(),\n scandalmongerMarks: jest.fn(),\n sheriffPlays: jest.fn(),\n sheriffDelegates: jest.fn(),\n sheriffSettlesVotes: jest.fn(),\n handleTieInVotes: jest.fn(),\n handleTieInSheriffElection: jest.fn(),\n survivorsElectSheriff: jest.fn(),\n survivorsVote: jest.fn(),\n },\n playerKillerService: {\n killOrRevealPlayer: jest.fn(),\n isElderKillable: jest.fn(),\n getElderLivesCountAgainstWerewolves: jest.fn(),\n },\n gamePlayVoteService: { getNominatedPlayers: jest.fn() },\n gameMutator: { prependUpcomingPlayInGame: jest.spyOn(GameMutator, \"prependUpcomingPlayInGame\").mockImplementation() },\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation() },\n lodash: { sample: jest.spyOn(lodash, \"sample\").mockImplementation() },\n };\n\n const module: TestingModule = await Test.createTestingModule({\n providers: [\n {\n provide: GamePlayVoteService,\n useValue: mocks.gamePlayVoteService,\n },\n {\n provide: PlayerKillerService,\n useValue: mocks.playerKillerService,\n },\n GamePlayMakerService,\n ],\n }).compile();\n\n services = { gamePlayMaker: module.get(GamePlayMakerService) };\n });\n\n describe(\"makeGamePlay\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.werewolvesEat = jest.spyOn(services.gamePlayMaker as unknown as { werewolvesEat }, \"werewolvesEat\").mockImplementation();\n mocks.gamePlayMakerService.bigBadWolfEats = jest.spyOn(services.gamePlayMaker as unknown as { bigBadWolfEats }, \"bigBadWolfEats\").mockImplementation();\n mocks.gamePlayMakerService.whiteWerewolfEats = jest.spyOn(services.gamePlayMaker as unknown as { whiteWerewolfEats }, \"whiteWerewolfEats\").mockImplementation();\n mocks.gamePlayMakerService.seerLooks = jest.spyOn(services.gamePlayMaker as unknown as { seerLooks }, \"seerLooks\").mockImplementation();\n mocks.gamePlayMakerService.cupidCharms = jest.spyOn(services.gamePlayMaker as unknown as { cupidCharms }, \"cupidCharms\").mockImplementation();\n mocks.gamePlayMakerService.piedPiperCharms = jest.spyOn(services.gamePlayMaker as unknown as { piedPiperCharms }, \"piedPiperCharms\").mockImplementation();\n mocks.gamePlayMakerService.witchUsesPotions = jest.spyOn(services.gamePlayMaker as unknown as { witchUsesPotions }, \"witchUsesPotions\").mockImplementation();\n mocks.gamePlayMakerService.hunterShoots = jest.spyOn(services.gamePlayMaker as unknown as { hunterShoots }, \"hunterShoots\").mockImplementation();\n mocks.gamePlayMakerService.defenderProtects = jest.spyOn(services.gamePlayMaker as unknown as { defenderProtects }, \"defenderProtects\").mockImplementation();\n mocks.gamePlayMakerService.foxSniffs = jest.spyOn(services.gamePlayMaker as unknown as { foxSniffs }, \"foxSniffs\").mockImplementation();\n mocks.gamePlayMakerService.wildChildChoosesModel = jest.spyOn(services.gamePlayMaker as unknown as { wildChildChoosesModel }, \"wildChildChoosesModel\").mockImplementation();\n mocks.gamePlayMakerService.wolfHoundChoosesSide = jest.spyOn(services.gamePlayMaker as unknown as { wolfHoundChoosesSide }, \"wolfHoundChoosesSide\").mockImplementation();\n mocks.gamePlayMakerService.scapegoatBansVoting = jest.spyOn(services.gamePlayMaker as unknown as { scapegoatBansVoting }, \"scapegoatBansVoting\").mockImplementation();\n mocks.gamePlayMakerService.thiefChoosesCard = jest.spyOn(services.gamePlayMaker as unknown as { thiefChoosesCard }, \"thiefChoosesCard\").mockImplementation();\n mocks.gamePlayMakerService.survivorsPlay = jest.spyOn(services.gamePlayMaker as unknown as { survivorsPlay }, \"survivorsPlay\").mockImplementation();\n mocks.gamePlayMakerService.scandalmongerMarks = jest.spyOn(services.gamePlayMaker as unknown as { scandalmongerMarks }, \"scandalmongerMarks\").mockImplementation();\n mocks.gamePlayMakerService.sheriffPlays = jest.spyOn(services.gamePlayMaker as unknown as { sheriffPlays }, \"sheriffPlays\").mockImplementation();\n });\n\n it(\"should throw error when game's current play is not set.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame();\n const interpolations = { gameId: game._id };\n const mockedError = new UnexpectedException(\"makeGamePlay\", UnexpectedExceptionReasons.NO_CURRENT_GAME_PLAY, { gameId: game._id.toString() });\n mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException.mockReturnValueOnce(mockedError);\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).rejects.toStrictEqual(mockedError);\n expect(mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"makeGamePlay\", interpolations);\n });\n\n it(\"should call no play method when source is not in available methods.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n const gamePlayMakerServiceMockKeys = Object.keys(mocks.gamePlayMakerService);\n for (const gamePlayMakerServiceMockKey of gamePlayMakerServiceMockKeys) {\n expect(mocks.gamePlayMakerService[gamePlayMakerServiceMockKey]).not.toHaveBeenCalled();\n }\n });\n\n it(\"should return game as is when source is not in available methods.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call werewolvesEat method when it's werewolves turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n \n expect(mocks.gamePlayMakerService.werewolvesEat).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n \n it(\"should return game as is when it's lovers turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayLoversMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's charmed people turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayCharmedMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n \n it(\"should call sheriffPlays method when it's sheriff's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.sheriffPlays).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call bigBadWolfEats method when it's big bad wolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.bigBadWolfEats).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call whiteWerewolfEats method when it's white werewolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.whiteWerewolfEats).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call seerLooks method when it's seer's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySeerLooks() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.seerLooks).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call cupidCharms method when it's cupid's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayCupidCharms() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.cupidCharms).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call piedPiperCharms method when it's pied piper's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.piedPiperCharms).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call witchUsesPotions method when it's witch's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.witchUsesPotions).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call hunterShoots method when it's hunter's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayHunterShoots() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.hunterShoots).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call defenderProtects method when it's defender's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayDefenderProtects() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.defenderProtects).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call foxSniffs method when it's fox's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.foxSniffs).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call wildChildChoosesModel method when it's wild child's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.wildChildChoosesModel).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call wolfHoundChoosesSide method when it's wolf-hound's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.wolfHoundChoosesSide).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call scapegoatBansVoting method when it's scapegoat's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayScapegoatBansVoting() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.scapegoatBansVoting).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call thiefChoosesCard method when it's thief's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.thiefChoosesCard).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call survivorsPlay method when it's all's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySurvivorsVote() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.survivorsPlay).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call scandalmongerMarks method when it's scandalmonger's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayScandalmongerMarks() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.scandalmongerMarks).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should return game as is when it's two sisters turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's three brothers turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayThreeBrothersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's stuttering judge turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayStutteringJudgeChoosesSign() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n });\n\n describe(\"sheriffSettlesVotes\", () => {\n it(\"should return game as is when target count is not the one expected.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGameWithCurrentPlay();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"sheriffSettlesVotes\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when sheriff delegates to a target.\", async() => {\n const targetedPlayer = createFakePlayer();\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })] });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlayMaker[\"sheriffSettlesVotes\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(targetedPlayer._id, game, createFakePlayerVoteBySheriffDeath());\n });\n });\n\n describe(\"sheriffDelegates\", () => {\n it(\"should return game as is when target count is not the one expected.\", () => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGameWithCurrentPlay();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should remove previous sheriff attribute and add it to the target when called.\", () => {\n const players = [\n createFakePlayer({ attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakePlayer(),\n createFakePlayer(),\n createFakePlayer(),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })] });\n const game = createFakeGameWithCurrentPlay({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({ ...players[0], attributes: [] }),\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffBySheriffPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"sheriffPlays\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.sheriffDelegates = jest.spyOn(services.gamePlayMaker as unknown as { sheriffDelegates }, \"sheriffDelegates\").mockImplementation();\n mocks.gamePlayMakerService.sheriffSettlesVotes = jest.spyOn(services.gamePlayMaker as unknown as { sheriffSettlesVotes }, \"sheriffSettlesVotes\").mockImplementation();\n });\n \n it(\"should return game as is when upcoming play is not for sheriff.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"sheriffPlays\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call sheriffDelegates method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"sheriffPlays\"](play, game);\n\n expect(mocks.gamePlayMakerService.sheriffDelegates).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call sheriffSettlesVotes method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"sheriffPlays\"](play, game);\n\n expect(mocks.gamePlayMakerService.sheriffSettlesVotes).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"handleTieInVotes\", () => {\n it(\"should not kill scapegoat when he's not the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should not kill scapegoat when he's dead.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer({ isAlive: false }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should not kill scapegoat when he's powerless.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByElderPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should kill scapegoat when he's in the game and alive.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const playerDeath = createFakePlayerVoteScapegoatedBySurvivorsDeath();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[0]._id, game, playerDeath);\n });\n\n it(\"should not prepend sheriff delegation game play when sheriff is not in the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should not prepend sheriff delegation game play when sheriff is dead.\", async() => {\n const players = [\n createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend sheriff delegation game play when sheriff is in the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend vote game play when previous play is not a tie.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n\n it(\"should prepend vote game play when there is no game history records.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, occurrence: GamePlayOccurrences.CONSEQUENTIAL });\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n\n it(\"should not prepend vote game play when current play is due to a tie.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, occurrence: GamePlayOccurrences.CONSEQUENTIAL });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n });\n \n describe(\"survivorsVote\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.handleTieInVotes = jest.spyOn(services.gamePlayMaker as unknown as { handleTieInVotes }, \"handleTieInVotes\").mockImplementation();\n });\n \n it(\"should return game as is when there is no vote.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n\n await expect(services.gamePlayMaker[\"survivorsVote\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no nominated players.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"survivorsVote\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n \n it(\"should call handleTieInVotes method when there are several nominated players.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [players[1], players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(game);\n });\n\n it(\"should call handleTieInVotes method with prepended all vote game play from judge when there are several nominated players and judge requested it.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: true });\n const nominatedPlayers = [players[1], players[2]];\n const expectedGame = createFakeGameWithCurrentPlay({\n ...game,\n upcomingPlays: [createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST, occurrence: GamePlayOccurrences.CONSEQUENTIAL })],\n });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when there is one nominated player.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [players[1]];\n const playerVoteBySurvivorsDeath = createFakePlayerVoteBySurvivorsDeath();\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerVoteBySurvivorsDeath);\n });\n });\n\n describe(\"handleTieInSheriffElection\", () => {\n it(\"should prepend survivors elect sheriff game play when current play is not due to a tie.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const prependedGamePlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(prependedGamePlay, game);\n });\n \n it(\"should add sheriff attribute to a random nominated player when current play is due to a tie.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n mocks.lodash.sample.mockReturnValue(players[0]);\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n attributes: [createFakeSheriffBySurvivorsPlayerAttribute()],\n }),\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when it's not possible to choose a random nominated player.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n mocks.lodash.sample.mockReturnValue(undefined);\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game)).toStrictEqual(expectedGame);\n });\n });\n \n describe(\"survivorsElectSheriff\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.handleTieInSheriffElection = jest.spyOn(services.gamePlayMaker as unknown as { handleTieInSheriffElection }, \"handleTieInSheriffElection\").mockImplementation();\n });\n \n it(\"should return game as is when there is no vote.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no nominated players.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should call handleTieInSheriffElection method when there is a tie in votes.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n const nominatedPlayers = [players[0], players[1]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n services.gamePlayMaker[\"survivorsElectSheriff\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInSheriffElection).toHaveBeenCalledExactlyOnceWith(nominatedPlayers, game);\n });\n\n it(\"should add sheriff attribute to nominated player when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([players[1]]);\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"survivorsPlay\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.survivorsElectSheriff = jest.spyOn(services.gamePlayMaker as unknown as { survivorsElectSheriff }, \"survivorsElectSheriff\").mockImplementation();\n mocks.gamePlayMakerService.survivorsVote = jest.spyOn(services.gamePlayMaker as unknown as { survivorsVote }, \"survivorsVote\").mockImplementation();\n });\n\n it(\"should return game as is when upcoming play is not for all.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"survivorsPlay\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call survivorsElectSheriff method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySurvivorsElectSheriff() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"survivorsPlay\"](play, game);\n\n expect(mocks.gamePlayMakerService.survivorsElectSheriff).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call survivorsVote method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySurvivorsVote() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"survivorsPlay\"](play, game);\n\n expect(mocks.gamePlayMakerService.survivorsVote).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"thiefChoosesCard\", () => {\n it(\"should return game as is when there is no thief player in game.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no chosen card.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when chosen card role is unknown.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard({}, { roleName: \"Toto\" }) });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should update thief role and side when called.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard({ roleName: RoleNames.WEREWOLF }),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedThiefPlayer = createFakePlayer({\n ...players[0],\n role: { ...players[0].role, current: RoleNames.WEREWOLF },\n side: { ...players[0].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n expectedThiefPlayer,\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"scapegoatBansVoting\", () => {\n it(\"should return game as is when there are no targets.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add scapegoat ban voting attributes to targets when called.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeCantVoteByScapegoatPlayerAttribute(game)] }),\n createFakePlayer({ ...players[2], attributes: [createFakeCantVoteByScapegoatPlayerAttribute(game)] }),\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"wolfHoundChoosesSide\", () => {\n it(\"should return game as is when there is no wolf-hound in the game.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.WEREWOLVES });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return wolf-hound on random side when chosen side is not set.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.VILLAGERS },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.lodash.sample.mockReturnValue(RoleSides.VILLAGERS);\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should get a random side when chosen side is not set.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game);\n\n expect(mocks.lodash.sample).toHaveBeenCalledExactlyOnceWith([RoleSides.VILLAGERS, RoleSides.WEREWOLVES]);\n });\n\n it(\"should return wolf-hound on the werewolves side when chosen side is werewolves.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.WEREWOLVES });\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n \n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return wolf-hound on the villagers side when chosen side is villagers.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.VILLAGERS });\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.VILLAGERS },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"wildChildChoosesModel\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeWolfHoundAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add worshiped attribute to target when called.\", () => {\n const players = [\n createFakeWolfHoundAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeWorshipedByWildChildPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"foxSniffs\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no fox in the game.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when fox is not powerless if misses werewolves by game options.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when fox sniffes a werewolf in the group.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should make fox powerless when there is no werewolf in the group.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeVillagerAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[0],\n attributes: [createFakePowerlessByFoxPlayerAttribute({ doesRemainAfterDeath: true })],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n expectedTargetedPlayer,\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"scandalmongerMarks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"scandalmongerMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add scandalmonger marked attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeScandalmongerMarkedByScandalmongerPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"scandalmongerMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"defenderProtects\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"defenderProtects\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add protected attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeProtectedByDefenderPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"defenderProtects\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"hunterShoots\", () => {\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"hunterShoots\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when called.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const playerDeath = createFakePlayerShotByHunterDeath();\n await services.gamePlayMaker[\"hunterShoots\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerDeath);\n });\n });\n\n describe(\"witchUsesPotions\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add only one potion attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WitchPotions.LIFE })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add both potion attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WitchPotions.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2], drankPotion: WitchPotions.DEATH }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeDrankDeathPotionByWitchPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"piedPiperCharms\", () => {\n it(\"should return game as is when targets are undefined.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when targets are empty.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [] });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add pied piper charmed attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeCharmedByPiedPiperPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeCharmedByPiedPiperPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"cupidCharms\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"cupidCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add in-love attribute to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeInLoveByCupidPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeInLoveByCupidPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"cupidCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"seerLooks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"seerLooks\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add seen attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeSeenBySeerPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"seerLooks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"whiteWerewolfEats\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by white werewolf to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWhiteWerewolfPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"bigBadWolfEats\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by big bad wolf to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByBigBadWolfPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"accursedWolfFatherInfects\", () => {\n it(\"should change target's side to werewolves when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is prejudiced manipulator.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePrejudicedManipulatorAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ prejudicedManipulator: createFakePrejudicedManipulatorGameOptions({ isPowerlessIfInfected: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n attributes: [createFakePowerlessByAccursedWolfFatherPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is prejudiced manipulator and game options are changed.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePrejudicedManipulatorAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ prejudicedManipulator: createFakePrejudicedManipulatorGameOptions({ isPowerlessIfInfected: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is pied piper.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePiedPiperAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ isPowerlessIfInfected: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n attributes: [createFakePowerlessByAccursedWolfFatherPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is pied piper and game options are changed.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePiedPiperAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ isPowerlessIfInfected: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"werewolvesEat\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.accursedWolfFatherInfects = jest.spyOn(services.gamePlayMaker as unknown as { accursedWolfFatherInfects }, \"accursedWolfFatherInfects\").mockImplementation();\n });\n\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is not infected.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWerewolvesPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is infected but not killable elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWerewolvesPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should not infect target when target is not infected.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).not.toHaveBeenCalled();\n });\n\n it(\"should not infect target when target is infected but not killable elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).not.toHaveBeenCalled();\n });\n\n it(\"should infect target when he's infected and not the elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n\n it(\"should infect target when he's infected and elder with only one life left.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(1);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n\n it(\"should infect target when he's infected and elder with zero one life left.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(0);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(game);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n });\n});" + "source": "import type { TestingModule } from \"@nestjs/testing\";\nimport { Test } from \"@nestjs/testing\";\nimport lodash from \"lodash\";\n\nimport type { MakeGamePlayVoteWithRelationsDto } from \"@/modules/game/dto/make-game-play/make-game-play-vote/make-game-play-vote-with-relations.dto\";\nimport { GamePlayCauses, GamePlayOccurrences, WitchPotions } from \"@/modules/game/enums/game-play.enum\";\nimport * as GameMutator from \"@/modules/game/helpers/game.mutator\";\nimport { GamePlayMakerService } from \"@/modules/game/providers/services/game-play/game-play-maker.service\";\nimport { GamePlayVoteService } from \"@/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service\";\nimport { PlayerKillerService } from \"@/modules/game/providers/services/player/player-killer.service\";\nimport type { Game } from \"@/modules/game/schemas/game.schema\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { UnexpectedExceptionReasons } from \"@/shared/exception/enums/unexpected-exception.enum\";\nimport * as UnexpectedExceptionFactory from \"@/shared/exception/helpers/unexpected-exception.factory\";\nimport { UnexpectedException } from \"@/shared/exception/types/unexpected-exception.type\";\n\nimport { createFakeMakeGamePlayTargetWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-target-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayVoteWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-vote-with-relations.dto.factory\";\nimport { createFakeMakeGamePlayWithRelationsDto } from \"@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-with-relations.dto.factory\";\nimport { createFakeGameAdditionalCard } from \"@tests/factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameOptions } from \"@tests/factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeFoxGameOptions, createFakePiedPiperGameOptions, createFakePrejudicedManipulatorGameOptions, createFakeRolesGameOptions, createFakeSheriffGameOptions } from \"@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory\";\nimport { createFakeGamePlayBigBadWolfEats, createFakeGamePlayCharmedMeetEachOther, createFakeGamePlayCupidCharms, createFakeGamePlayWolfHoundChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayDefenderProtects, createFakeGamePlayHunterShoots, createFakeGamePlayLoversMeetEachOther, createFakeGamePlayPiedPiperCharms, createFakeGamePlayScandalmongerMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayStutteringJudgeChoosesSign, createFakeGamePlaySurvivorsElectSheriff, createFakeGamePlaySurvivorsVote, createFakeGamePlayThiefChoosesCard, createFakeGamePlayThreeBrothersMeetEachOther, createFakeGamePlayTwoSistersMeetEachOther, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from \"@tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"@tests/factories/game/schemas/game.schema.factory\";\nimport { createFakeCantVoteByScapegoatPlayerAttribute, createFakeCharmedByPiedPiperPlayerAttribute, createFakeDrankDeathPotionByWitchPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute, createFakeEatenByWhiteWerewolfPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAccursedWolfFatherPlayerAttribute, createFakePowerlessByElderPlayerAttribute, createFakePowerlessByFoxPlayerAttribute, createFakeProtectedByDefenderPlayerAttribute, createFakeScandalmongerMarkedByScandalmongerPlayerAttribute, createFakeSeenBySeerPlayerAttribute, createFakeSheriffBySheriffPlayerAttribute, createFakeSheriffBySurvivorsPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from \"@tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakePlayerShotByHunterDeath, createFakePlayerVoteBySheriffDeath, createFakePlayerVoteBySurvivorsDeath, createFakePlayerVoteScapegoatedBySurvivorsDeath } from \"@tests/factories/game/schemas/player/player-death/player-death.schema.factory\";\nimport { createFakeElderAlivePlayer, createFakeWolfHoundAlivePlayer, createFakeFoxAlivePlayer, createFakeScandalmongerAlivePlayer, createFakeScapegoatAlivePlayer, createFakeSeerAlivePlayer, createFakeThiefAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer, createFakePrejudicedManipulatorAlivePlayer, createFakePiedPiperAlivePlayer } from \"@tests/factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer } from \"@tests/factories/game/schemas/player/player.schema.factory\";\n\ndescribe(\"Game Play Maker Service\", () => {\n let services: { gamePlayMaker: GamePlayMakerService };\n let mocks: {\n gamePlayMakerService: {\n accursedWolfFatherInfects: jest.SpyInstance;\n werewolvesEat: jest.SpyInstance;\n bigBadWolfEats: jest.SpyInstance;\n whiteWerewolfEats: jest.SpyInstance;\n seerLooks: jest.SpyInstance;\n cupidCharms: jest.SpyInstance;\n piedPiperCharms: jest.SpyInstance;\n witchUsesPotions: jest.SpyInstance;\n hunterShoots: jest.SpyInstance;\n defenderProtects: jest.SpyInstance;\n foxSniffs: jest.SpyInstance;\n wildChildChoosesModel: jest.SpyInstance;\n wolfHoundChoosesSide: jest.SpyInstance;\n scapegoatBansVoting: jest.SpyInstance;\n thiefChoosesCard: jest.SpyInstance;\n survivorsPlay: jest.SpyInstance;\n scandalmongerMarks: jest.SpyInstance;\n sheriffPlays: jest.SpyInstance;\n sheriffDelegates: jest.SpyInstance;\n sheriffSettlesVotes: jest.SpyInstance;\n handleTieInVotes: jest.SpyInstance;\n handleTieInSheriffElection: jest.SpyInstance;\n survivorsElectSheriff: jest.SpyInstance;\n survivorsVote: jest.SpyInstance;\n };\n playerKillerService: {\n killOrRevealPlayer: jest.SpyInstance;\n isElderKillable: jest.SpyInstance;\n getElderLivesCountAgainstWerewolves: jest.SpyInstance;\n };\n gamePlayVoteService: { getNominatedPlayers: jest.SpyInstance };\n gameMutator: { prependUpcomingPlayInGame: jest.SpyInstance };\n unexpectedExceptionFactory: {\n createNoCurrentGamePlayUnexpectedException: jest.SpyInstance;\n };\n lodash: { sample: jest.SpyInstance };\n };\n\n beforeEach(async() => {\n mocks = {\n gamePlayMakerService: {\n accursedWolfFatherInfects: jest.fn(),\n werewolvesEat: jest.fn(),\n bigBadWolfEats: jest.fn(),\n whiteWerewolfEats: jest.fn(),\n seerLooks: jest.fn(),\n cupidCharms: jest.fn(),\n piedPiperCharms: jest.fn(),\n witchUsesPotions: jest.fn(),\n hunterShoots: jest.fn(),\n defenderProtects: jest.fn(),\n foxSniffs: jest.fn(),\n wildChildChoosesModel: jest.fn(),\n wolfHoundChoosesSide: jest.fn(),\n scapegoatBansVoting: jest.fn(),\n thiefChoosesCard: jest.fn(),\n survivorsPlay: jest.fn(),\n scandalmongerMarks: jest.fn(),\n sheriffPlays: jest.fn(),\n sheriffDelegates: jest.fn(),\n sheriffSettlesVotes: jest.fn(),\n handleTieInVotes: jest.fn(),\n handleTieInSheriffElection: jest.fn(),\n survivorsElectSheriff: jest.fn(),\n survivorsVote: jest.fn(),\n },\n playerKillerService: {\n killOrRevealPlayer: jest.fn(),\n isElderKillable: jest.fn(),\n getElderLivesCountAgainstWerewolves: jest.fn(),\n },\n gamePlayVoteService: { getNominatedPlayers: jest.fn() },\n gameMutator: { prependUpcomingPlayInGame: jest.spyOn(GameMutator, \"prependUpcomingPlayInGame\").mockImplementation() },\n unexpectedExceptionFactory: { createNoCurrentGamePlayUnexpectedException: jest.spyOn(UnexpectedExceptionFactory, \"createNoCurrentGamePlayUnexpectedException\").mockImplementation() },\n lodash: { sample: jest.spyOn(lodash, \"sample\").mockImplementation() },\n };\n\n const module: TestingModule = await Test.createTestingModule({\n providers: [\n {\n provide: GamePlayVoteService,\n useValue: mocks.gamePlayVoteService,\n },\n {\n provide: PlayerKillerService,\n useValue: mocks.playerKillerService,\n },\n GamePlayMakerService,\n ],\n }).compile();\n\n services = { gamePlayMaker: module.get(GamePlayMakerService) };\n });\n\n describe(\"makeGamePlay\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.werewolvesEat = jest.spyOn(services.gamePlayMaker as unknown as { werewolvesEat }, \"werewolvesEat\").mockImplementation();\n mocks.gamePlayMakerService.bigBadWolfEats = jest.spyOn(services.gamePlayMaker as unknown as { bigBadWolfEats }, \"bigBadWolfEats\").mockImplementation();\n mocks.gamePlayMakerService.whiteWerewolfEats = jest.spyOn(services.gamePlayMaker as unknown as { whiteWerewolfEats }, \"whiteWerewolfEats\").mockImplementation();\n mocks.gamePlayMakerService.seerLooks = jest.spyOn(services.gamePlayMaker as unknown as { seerLooks }, \"seerLooks\").mockImplementation();\n mocks.gamePlayMakerService.cupidCharms = jest.spyOn(services.gamePlayMaker as unknown as { cupidCharms }, \"cupidCharms\").mockImplementation();\n mocks.gamePlayMakerService.piedPiperCharms = jest.spyOn(services.gamePlayMaker as unknown as { piedPiperCharms }, \"piedPiperCharms\").mockImplementation();\n mocks.gamePlayMakerService.witchUsesPotions = jest.spyOn(services.gamePlayMaker as unknown as { witchUsesPotions }, \"witchUsesPotions\").mockImplementation();\n mocks.gamePlayMakerService.hunterShoots = jest.spyOn(services.gamePlayMaker as unknown as { hunterShoots }, \"hunterShoots\").mockImplementation();\n mocks.gamePlayMakerService.defenderProtects = jest.spyOn(services.gamePlayMaker as unknown as { defenderProtects }, \"defenderProtects\").mockImplementation();\n mocks.gamePlayMakerService.foxSniffs = jest.spyOn(services.gamePlayMaker as unknown as { foxSniffs }, \"foxSniffs\").mockImplementation();\n mocks.gamePlayMakerService.wildChildChoosesModel = jest.spyOn(services.gamePlayMaker as unknown as { wildChildChoosesModel }, \"wildChildChoosesModel\").mockImplementation();\n mocks.gamePlayMakerService.wolfHoundChoosesSide = jest.spyOn(services.gamePlayMaker as unknown as { wolfHoundChoosesSide }, \"wolfHoundChoosesSide\").mockImplementation();\n mocks.gamePlayMakerService.scapegoatBansVoting = jest.spyOn(services.gamePlayMaker as unknown as { scapegoatBansVoting }, \"scapegoatBansVoting\").mockImplementation();\n mocks.gamePlayMakerService.thiefChoosesCard = jest.spyOn(services.gamePlayMaker as unknown as { thiefChoosesCard }, \"thiefChoosesCard\").mockImplementation();\n mocks.gamePlayMakerService.survivorsPlay = jest.spyOn(services.gamePlayMaker as unknown as { survivorsPlay }, \"survivorsPlay\").mockImplementation();\n mocks.gamePlayMakerService.scandalmongerMarks = jest.spyOn(services.gamePlayMaker as unknown as { scandalmongerMarks }, \"scandalmongerMarks\").mockImplementation();\n mocks.gamePlayMakerService.sheriffPlays = jest.spyOn(services.gamePlayMaker as unknown as { sheriffPlays }, \"sheriffPlays\").mockImplementation();\n });\n\n it(\"should throw error when game's current play is not set.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame();\n const interpolations = { gameId: game._id };\n const mockedError = new UnexpectedException(\"makeGamePlay\", UnexpectedExceptionReasons.NO_CURRENT_GAME_PLAY, { gameId: game._id.toString() });\n mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException.mockReturnValueOnce(mockedError);\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).rejects.toStrictEqual(mockedError);\n expect(mocks.unexpectedExceptionFactory.createNoCurrentGamePlayUnexpectedException).toHaveBeenCalledExactlyOnceWith(\"makeGamePlay\", interpolations);\n });\n\n it(\"should call no play method when source is not in available methods.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n const gamePlayMakerServiceMockKeys = Object.keys(mocks.gamePlayMakerService);\n for (const gamePlayMakerServiceMockKey of gamePlayMakerServiceMockKeys) {\n expect(mocks.gamePlayMakerService[gamePlayMakerServiceMockKey]).not.toHaveBeenCalled();\n }\n });\n\n it(\"should return game as is when source is not in available methods.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should call werewolvesEat method when it's werewolves turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWerewolvesEat() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n \n expect(mocks.gamePlayMakerService.werewolvesEat).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n \n it(\"should return game as is when it's lovers turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayLoversMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's charmed people turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayCharmedMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n \n it(\"should call sheriffPlays method when it's sheriff's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.sheriffPlays).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call bigBadWolfEats method when it's big bad wolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayBigBadWolfEats() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.bigBadWolfEats).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call whiteWerewolfEats method when it's white werewolf's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWhiteWerewolfEats() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.whiteWerewolfEats).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call seerLooks method when it's seer's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySeerLooks() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.seerLooks).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call cupidCharms method when it's cupid's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayCupidCharms() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.cupidCharms).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call piedPiperCharms method when it's pied piper's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayPiedPiperCharms() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.piedPiperCharms).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call witchUsesPotions method when it's witch's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWitchUsesPotions() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.witchUsesPotions).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call hunterShoots method when it's hunter's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayHunterShoots() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.hunterShoots).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call defenderProtects method when it's defender's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayDefenderProtects() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.defenderProtects).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call foxSniffs method when it's fox's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayFoxSniffs() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.foxSniffs).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call wildChildChoosesModel method when it's wild child's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWildChildChoosesModel() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.wildChildChoosesModel).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call wolfHoundChoosesSide method when it's wolf-hound's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.wolfHoundChoosesSide).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call scapegoatBansVoting method when it's scapegoat's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayScapegoatBansVoting() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.scapegoatBansVoting).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call thiefChoosesCard method when it's thief's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayThiefChoosesCard() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.thiefChoosesCard).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call survivorsPlay method when it's all's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlaySurvivorsVote() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.survivorsPlay).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call scandalmongerMarks method when it's scandalmonger's turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayScandalmongerMarks() });\n await services.gamePlayMaker.makeGamePlay(play, game);\n\n expect(mocks.gamePlayMakerService.scandalmongerMarks).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should return game as is when it's two sisters turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayTwoSistersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's three brothers turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayThreeBrothersMeetEachOther() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n\n it(\"should return game as is when it's stuttering judge turn.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGame({ currentPlay: createFakeGamePlayStutteringJudgeChoosesSign() });\n\n await expect(services.gamePlayMaker.makeGamePlay(play, game)).resolves.toStrictEqual(game);\n });\n });\n\n describe(\"sheriffSettlesVotes\", () => {\n it(\"should return game as is when target count is not the one expected.\", async() => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGameWithCurrentPlay();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"sheriffSettlesVotes\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when sheriff delegates to a target.\", async() => {\n const targetedPlayer = createFakePlayer();\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: targetedPlayer })] });\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n await services.gamePlayMaker[\"sheriffSettlesVotes\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(targetedPlayer._id, game, createFakePlayerVoteBySheriffDeath());\n });\n });\n\n describe(\"sheriffDelegates\", () => {\n it(\"should return game as is when target count is not the one expected.\", () => {\n const play = createFakeMakeGamePlayWithRelationsDto();\n const game = createFakeGameWithCurrentPlay();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should remove previous sheriff attribute and add it to the target when called.\", () => {\n const players = [\n createFakePlayer({ attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakePlayer(),\n createFakePlayer(),\n createFakePlayer(),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })] });\n const game = createFakeGameWithCurrentPlay({ players });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({ ...players[0], attributes: [] }),\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffBySheriffPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"sheriffDelegates\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"sheriffPlays\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.sheriffDelegates = jest.spyOn(services.gamePlayMaker as unknown as { sheriffDelegates }, \"sheriffDelegates\").mockImplementation();\n mocks.gamePlayMakerService.sheriffSettlesVotes = jest.spyOn(services.gamePlayMaker as unknown as { sheriffSettlesVotes }, \"sheriffSettlesVotes\").mockImplementation();\n });\n \n it(\"should return game as is when upcoming play is not for sheriff.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"sheriffPlays\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call sheriffDelegates method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffDelegates() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"sheriffPlays\"](play, game);\n\n expect(mocks.gamePlayMakerService.sheriffDelegates).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call sheriffSettlesVotes method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySheriffSettlesVotes() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"sheriffPlays\"](play, game);\n\n expect(mocks.gamePlayMakerService.sheriffSettlesVotes).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"handleTieInVotes\", () => {\n it(\"should not kill scapegoat when he's not the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should not kill scapegoat when he's dead.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer({ isAlive: false }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should not kill scapegoat when he's powerless.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer({ attributes: [createFakePowerlessByElderPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).not.toHaveBeenCalled();\n });\n\n it(\"should kill scapegoat when he's in the game and alive.\", async() => {\n const players = [\n createFakeScapegoatAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const playerDeath = createFakePlayerVoteScapegoatedBySurvivorsDeath();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[0]._id, game, playerDeath);\n });\n\n it(\"should not prepend sheriff settling tie in votes game play when sheriff is not in the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should not prepend sheriff settling tie in votes game play when sheriff is dead.\", async() => {\n const players = [\n createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should not prepend sheriff settling tie in votes game play when game options don't allow it.\", async() => {\n const players = [\n createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend sheriff delegation game play when sheriff is in the game.\", async() => {\n const players = [\n createFakeSeerAlivePlayer({ attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes();\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game);\n });\n\n it(\"should prepend vote game play when previous play is not a tie.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n\n it(\"should prepend vote game play when there is no game history records.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, occurrence: GamePlayOccurrences.CONSEQUENTIAL });\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n\n it(\"should not prepend vote game play when current play is due to a tie.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, occurrence: GamePlayOccurrences.CONSEQUENTIAL });\n const game = createFakeGameWithCurrentPlay({ players, currentPlay });\n mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game);\n await services.gamePlayMaker[\"handleTieInVotes\"](game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySurvivorsVote, game);\n });\n });\n \n describe(\"survivorsVote\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.handleTieInVotes = jest.spyOn(services.gamePlayMaker as unknown as { handleTieInVotes }, \"handleTieInVotes\").mockImplementation();\n });\n \n it(\"should return game as is when there is no vote.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n\n await expect(services.gamePlayMaker[\"survivorsVote\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no nominated players.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"survivorsVote\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n \n it(\"should call handleTieInVotes method when there are several nominated players.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [players[1], players[2]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(game);\n });\n\n it(\"should call handleTieInVotes method with prepended all vote game play from judge when there are several nominated players and judge requested it.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: true });\n const nominatedPlayers = [players[1], players[2]];\n const expectedGame = createFakeGameWithCurrentPlay({\n ...game,\n upcomingPlays: [createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST, occurrence: GamePlayOccurrences.CONSEQUENTIAL })],\n });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInVotes).toHaveBeenCalledExactlyOnceWith(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when there is one nominated player.\", async() => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes, doesJudgeRequestAnotherVote: false });\n const nominatedPlayers = [players[1]];\n const playerVoteBySurvivorsDeath = createFakePlayerVoteBySurvivorsDeath();\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n await services.gamePlayMaker[\"survivorsVote\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerVoteBySurvivorsDeath);\n });\n });\n\n describe(\"handleTieInSheriffElection\", () => {\n it(\"should prepend survivors elect sheriff game play when current play is not due to a tie.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.STUTTERING_JUDGE_REQUEST });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const prependedGamePlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game);\n\n expect(mocks.gameMutator.prependUpcomingPlayInGame).toHaveBeenCalledExactlyOnceWith(prependedGamePlay, game);\n });\n \n it(\"should add sheriff attribute to a random nominated player when current play is due to a tie.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n mocks.lodash.sample.mockReturnValue(players[0]);\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const expectedGame = createFakeGame({\n ...game,\n players: [\n createFakePlayer({\n ...players[0],\n attributes: [createFakeSheriffBySurvivorsPlayerAttribute()],\n }),\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when it's not possible to choose a random nominated player.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n mocks.lodash.sample.mockReturnValue(undefined);\n const currentPlay = createFakeGamePlaySurvivorsElectSheriff({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES });\n const upcomingPlays = [createFakeGamePlayHunterShoots()];\n const game = createFakeGameWithCurrentPlay({ currentPlay, players, upcomingPlays });\n const nominatedPlayers = [players[0], players[1]];\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"handleTieInSheriffElection\"](nominatedPlayers, game)).toStrictEqual(expectedGame);\n });\n });\n \n describe(\"survivorsElectSheriff\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.handleTieInSheriffElection = jest.spyOn(services.gamePlayMaker as unknown as { handleTieInSheriffElection }, \"handleTieInSheriffElection\").mockImplementation();\n });\n \n it(\"should return game as is when there is no vote.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no nominated players.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([]);\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should call handleTieInSheriffElection method when there is a tie in votes.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n const nominatedPlayers = [players[0], players[1]];\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue(nominatedPlayers);\n services.gamePlayMaker[\"survivorsElectSheriff\"](play, game);\n\n expect(mocks.gamePlayMakerService.handleTieInSheriffElection).toHaveBeenCalledExactlyOnceWith(nominatedPlayers, game);\n });\n\n it(\"should add sheriff attribute to nominated player when called.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const votes: MakeGamePlayVoteWithRelationsDto[] = [\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[0], target: players[1] }),\n createFakeMakeGamePlayVoteWithRelationsDto({ source: players[2], target: players[0] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ votes });\n mocks.gamePlayVoteService.getNominatedPlayers.mockReturnValue([players[1]]);\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }),\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"survivorsElectSheriff\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"survivorsPlay\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.survivorsElectSheriff = jest.spyOn(services.gamePlayMaker as unknown as { survivorsElectSheriff }, \"survivorsElectSheriff\").mockImplementation();\n mocks.gamePlayMakerService.survivorsVote = jest.spyOn(services.gamePlayMaker as unknown as { survivorsVote }, \"survivorsVote\").mockImplementation();\n });\n\n it(\"should return game as is when upcoming play is not for all.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayFoxSniffs() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"survivorsPlay\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call survivorsElectSheriff method when upcoming play is sheriff role delegation.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySurvivorsElectSheriff() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"survivorsPlay\"](play, game);\n\n expect(mocks.gamePlayMakerService.survivorsElectSheriff).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n\n it(\"should call survivorsVote method when upcoming play is sheriff settling vote.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlaySurvivorsVote() });\n const play = createFakeMakeGamePlayWithRelationsDto();\n await services.gamePlayMaker[\"survivorsPlay\"](play, game);\n\n expect(mocks.gamePlayMakerService.survivorsVote).toHaveBeenCalledExactlyOnceWith(play, game);\n });\n });\n\n describe(\"thiefChoosesCard\", () => {\n it(\"should return game as is when there is no thief player in game.\", () => {\n const players = [\n createFakeSeerAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no chosen card.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when chosen card role is unknown.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: createFakeGameAdditionalCard({}, { roleName: \"Toto\" }) });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should update thief role and side when called.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const additionalCards = [\n createFakeGameAdditionalCard({ roleName: RoleNames.WEREWOLF }),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n createFakeGameAdditionalCard(),\n ];\n const game = createFakeGameWithCurrentPlay({ players, additionalCards });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenCard: additionalCards[0] });\n const expectedThiefPlayer = createFakePlayer({\n ...players[0],\n role: { ...players[0].role, current: RoleNames.WEREWOLF },\n side: { ...players[0].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n expectedThiefPlayer,\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"thiefChoosesCard\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"scapegoatBansVoting\", () => {\n it(\"should return game as is when there are no targets.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add scapegoat ban voting attributes to targets when called.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n createFakePlayer({ ...players[1], attributes: [createFakeCantVoteByScapegoatPlayerAttribute(game)] }),\n createFakePlayer({ ...players[2], attributes: [createFakeCantVoteByScapegoatPlayerAttribute(game)] }),\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"scapegoatBansVoting\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"wolfHoundChoosesSide\", () => {\n it(\"should return game as is when there is no wolf-hound in the game.\", () => {\n const players = [\n createFakeThiefAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.WEREWOLVES });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return wolf-hound on random side when chosen side is not set.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.VILLAGERS },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.lodash.sample.mockReturnValue(RoleSides.VILLAGERS);\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should get a random side when chosen side is not set.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game);\n\n expect(mocks.lodash.sample).toHaveBeenCalledExactlyOnceWith([RoleSides.VILLAGERS, RoleSides.WEREWOLVES]);\n });\n\n it(\"should return wolf-hound on the werewolves side when chosen side is werewolves.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.WEREWOLVES });\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n \n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return wolf-hound on the villagers side when chosen side is villagers.\", () => {\n const players = [\n createFakeScandalmongerAlivePlayer(),\n createFakeWolfHoundAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ chosenSide: RoleSides.VILLAGERS });\n const expectedWolfHoundPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.VILLAGERS },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedWolfHoundPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"wolfHoundChoosesSide\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"wildChildChoosesModel\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeWolfHoundAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add worshiped attribute to target when called.\", () => {\n const players = [\n createFakeWolfHoundAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeWorshipedByWildChildPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"wildChildChoosesModel\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"foxSniffs\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when there is no fox in the game.\", () => {\n const players = [\n createFakeSeerAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when fox is not powerless if misses werewolves by game options.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when fox sniffes a werewolf in the group.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeWerewolfAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should make fox powerless when there is no werewolf in the group.\", () => {\n const players = [\n createFakeFoxAlivePlayer({ position: 0 }),\n createFakeScandalmongerAlivePlayer({ position: 1 }),\n createFakeVillagerAlivePlayer({ position: 2 }),\n createFakeWerewolfAlivePlayer({ position: 3 }),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ fox: createFakeFoxGameOptions({ isPowerlessIfMissesWerewolf: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[0],\n attributes: [createFakePowerlessByFoxPlayerAttribute({ doesRemainAfterDeath: true })],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n expectedTargetedPlayer,\n players[1],\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"foxSniffs\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"scandalmongerMarks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"scandalmongerMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add scandalmonger marked attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeScandalmongerMarkedByScandalmongerPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"scandalmongerMarks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"defenderProtects\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"defenderProtects\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add protected attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeProtectedByDefenderPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"defenderProtects\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"hunterShoots\", () => {\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n await expect(services.gamePlayMaker[\"hunterShoots\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should call killOrRevealPlayer method when called.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const playerDeath = createFakePlayerShotByHunterDeath();\n await services.gamePlayMaker[\"hunterShoots\"](play, game);\n\n expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[1]._id, game, playerDeath);\n });\n });\n\n describe(\"witchUsesPotions\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add only one potion attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WitchPotions.LIFE })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n \n it(\"should add both potion attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], drankPotion: WitchPotions.LIFE }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2], drankPotion: WitchPotions.DEATH }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeDrankLifePotionByWitchPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeDrankDeathPotionByWitchPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"witchUsesPotions\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"piedPiperCharms\", () => {\n it(\"should return game as is when targets are undefined.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should return game as is when targets are empty.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto({ targets: [] });\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add pied piper charmed attributes to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeCharmedByPiedPiperPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeCharmedByPiedPiperPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"piedPiperCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"cupidCharms\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"cupidCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add in-love attribute to targets when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] }),\n createFakeMakeGamePlayTargetWithRelationsDto({ player: players[2] }),\n ];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedFirstTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeInLoveByCupidPlayerAttribute()],\n });\n const expectedSecondTargetedPlayer = createFakePlayer({\n ...players[2],\n attributes: [createFakeInLoveByCupidPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedFirstTargetedPlayer,\n expectedSecondTargetedPlayer,\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"cupidCharms\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"seerLooks\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"seerLooks\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add seen attribute to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeSeenBySeerPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"seerLooks\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"whiteWerewolfEats\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by white werewolf to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWhiteWerewolfPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"whiteWerewolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"bigBadWolfEats\", () => {\n it(\"should return game as is when expected target count is not reached.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n\n expect(services.gamePlayMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by big bad wolf to target when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1] })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByBigBadWolfPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"bigBadWolfEats\"](play, game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"accursedWolfFatherInfects\", () => {\n it(\"should change target's side to werewolves when called.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is prejudiced manipulator.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePrejudicedManipulatorAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ prejudicedManipulator: createFakePrejudicedManipulatorGameOptions({ isPowerlessIfInfected: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n attributes: [createFakePowerlessByAccursedWolfFatherPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is prejudiced manipulator and game options are changed.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePrejudicedManipulatorAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ prejudicedManipulator: createFakePrejudicedManipulatorGameOptions({ isPowerlessIfInfected: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves and add powerless attribute from accursed wolf-father when target is pied piper.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePiedPiperAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ isPowerlessIfInfected: true }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n attributes: [createFakePowerlessByAccursedWolfFatherPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n\n it(\"should change target's side to werewolves but not add powerless attribute from accursed wolf-father when target is pied piper and game options are changed.\", () => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakePiedPiperAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ piedPiper: createFakePiedPiperGameOptions({ isPowerlessIfInfected: false }) }) });\n const game = createFakeGameWithCurrentPlay({ players, options });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n side: { ...players[1].side, current: RoleSides.WEREWOLVES },\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n\n expect(services.gamePlayMaker[\"accursedWolfFatherInfects\"](players[1], game)).toStrictEqual(expectedGame);\n });\n });\n\n describe(\"werewolvesEat\", () => {\n beforeEach(() => {\n mocks.gamePlayMakerService.accursedWolfFatherInfects = jest.spyOn(services.gamePlayMaker as unknown as { accursedWolfFatherInfects }, \"accursedWolfFatherInfects\").mockImplementation();\n });\n\n it(\"should return game as is when expected target count is not reached.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const play = createFakeMakeGamePlayWithRelationsDto();\n const expectedGame = createFakeGame(game);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is not infected.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWerewolvesPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should add eaten attribute by werewolves to target when target is infected but not killable elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n const expectedTargetedPlayer = createFakePlayer({\n ...players[1],\n attributes: [createFakeEatenByWerewolvesPlayerAttribute()],\n });\n const expectedGame = createFakeGame({\n ...game,\n players: [\n players[0],\n expectedTargetedPlayer,\n players[2],\n players[3],\n ],\n });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(expectedGame);\n\n await expect(services.gamePlayMaker[\"werewolvesEat\"](play, game)).resolves.toStrictEqual(expectedGame);\n });\n\n it(\"should not infect target when target is not infected.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: false })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).not.toHaveBeenCalled();\n });\n\n it(\"should not infect target when target is infected but not killable elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).not.toHaveBeenCalled();\n });\n\n it(\"should infect target when he's infected and not the elder.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeScandalmongerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(2);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n\n it(\"should infect target when he's infected and elder with only one life left.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(1);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n\n it(\"should infect target when he's infected and elder with zero one life left.\", async() => {\n const players = [\n createFakeFoxAlivePlayer(),\n createFakeElderAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({ players });\n const targets = [createFakeMakeGamePlayTargetWithRelationsDto({ player: players[1], isInfected: true })];\n const play = createFakeMakeGamePlayWithRelationsDto({ targets });\n mocks.playerKillerService.getElderLivesCountAgainstWerewolves.mockReturnValue(0);\n mocks.gamePlayMakerService.accursedWolfFatherInfects.mockReturnValue(game);\n await services.gamePlayMaker[\"werewolvesEat\"](play, game);\n\n expect(mocks.gamePlayMakerService.accursedWolfFatherInfects).toHaveBeenCalledExactlyOnceWith(players[1], game);\n });\n });\n});" }, "tests/unit/specs/modules/game/providers/services/player/player-killer.service.spec.ts": { "tests": [ { - "id": "471", + "id": "472", "name": "Player Killer Service killOrRevealPlayer should return game as is when player can't be revealed or killed.", "location": { "start": { @@ -129558,7 +129616,7 @@ } }, { - "id": "472", + "id": "473", "name": "Player Killer Service killOrRevealPlayer should call kill method when player is killable.", "location": { "start": { @@ -129568,7 +129626,7 @@ } }, { - "id": "473", + "id": "474", "name": "Player Killer Service killOrRevealPlayer should create can't find player exception when called after killing the player.", "location": { "start": { @@ -129578,7 +129636,7 @@ } }, { - "id": "474", + "id": "475", "name": "Player Killer Service killOrRevealPlayer should call reveal role method when player role must be revealed.", "location": { "start": { @@ -129588,7 +129646,7 @@ } }, { - "id": "475", + "id": "476", "name": "Player Killer Service applyPlayerRoleRevelationOutcomes should add can't vote attribute when player is idiot.", "location": { "start": { @@ -129598,7 +129656,7 @@ } }, { - "id": "476", + "id": "477", "name": "Player Killer Service applyPlayerRoleRevelationOutcomes should return the game as is when player is not an idiot.", "location": { "start": { @@ -129608,7 +129666,7 @@ } }, { - "id": "477", + "id": "478", "name": "Player Killer Service isElderKillable should return true when cause is not EATEN.", "location": { "start": { @@ -129618,7 +129676,7 @@ } }, { - "id": "478", + "id": "479", "name": "Player Killer Service isElderKillable should return false when cause is EATEN but elder still have at least one life left.", "location": { "start": { @@ -129628,7 +129686,7 @@ } }, { - "id": "479", + "id": "480", "name": "Player Killer Service isElderKillable should return true when cause is EATEN but elder has 0 life left.", "location": { "start": { @@ -129638,7 +129696,7 @@ } }, { - "id": "480", + "id": "481", "name": "Player Killer Service getElderLivesCountAgainstWerewolves should return same amount of lives when no werewolves attack against elder.", "location": { "start": { @@ -129648,7 +129706,7 @@ } }, { - "id": "481", + "id": "482", "name": "Player Killer Service getElderLivesCountAgainstWerewolves should return amount of lives minus one when werewolves attacked the elder on current turn.", "location": { "start": { @@ -129658,7 +129716,7 @@ } }, { - "id": "482", + "id": "483", "name": "Player Killer Service getElderLivesCountAgainstWerewolves should return amount of lives minus two when werewolves attacked the elder on current turn and also before that.", "location": { "start": { @@ -129668,7 +129726,7 @@ } }, { - "id": "483", + "id": "484", "name": "Player Killer Service getElderLivesCountAgainstWerewolves should return amount of lives minus one when elder was attacked three times but protected once and saved by witch once.", "location": { "start": { @@ -129678,7 +129736,7 @@ } }, { - "id": "484", + "id": "485", "name": "Player Killer Service getElderLivesCountAgainstWerewolves should return amount of lives minus 1 when elder was attacked but not protected or saved by witch.", "location": { "start": { @@ -129688,7 +129746,7 @@ } }, { - "id": "485", + "id": "486", "name": "Player Killer Service revealPlayerRole should create can't find player exception for later purposes when called.", "location": { "start": { @@ -129698,7 +129756,7 @@ } }, { - "id": "486", + "id": "487", "name": "Player Killer Service revealPlayerRole should reveal player role when called.", "location": { "start": { @@ -129708,7 +129766,7 @@ } }, { - "id": "487", + "id": "488", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is already revealed.", "location": { "start": { @@ -129718,7 +129776,7 @@ } }, { - "id": "488", + "id": "489", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player is dead but options doesn't allow the role to be revealed.", "location": { "start": { @@ -129728,7 +129786,7 @@ } }, { - "id": "489", + "id": "490", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is not idiot.", "location": { "start": { @@ -129738,7 +129796,7 @@ } }, { - "id": "490", + "id": "491", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is idiot but powerless.", "location": { "start": { @@ -129748,7 +129806,7 @@ } }, { - "id": "491", + "id": "492", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return false when player role is idiot but death cause is not vote.", "location": { "start": { @@ -129758,7 +129816,7 @@ } }, { - "id": "492", + "id": "493", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return true when player is dead and his role can be revealed to others.", "location": { "start": { @@ -129768,7 +129826,7 @@ } }, { - "id": "493", + "id": "494", "name": "Player Killer Service doesPlayerRoleMustBeRevealed should return true when player role is idiot and death cause is vote.", "location": { "start": { @@ -129778,7 +129836,7 @@ } }, { - "id": "494", + "id": "495", "name": "Player Killer Service removePlayerAttributesAfterDeath should remove player attributes which need to be removed after death when called.", "location": { "start": { @@ -129788,7 +129846,7 @@ } }, { - "id": "495", + "id": "496", "name": "Player Killer Service isIdiotKillable should return true when idiot is already revealed.", "location": { "start": { @@ -129798,7 +129856,7 @@ } }, { - "id": "496", + "id": "497", "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by other cause than a vote.", "location": { "start": { @@ -129808,7 +129866,7 @@ } }, { - "id": "497", + "id": "498", "name": "Player Killer Service isIdiotKillable should return true when idiot is killed by vote but powerless.", "location": { "start": { @@ -129818,7 +129876,7 @@ } }, { - "id": "498", + "id": "499", "name": "Player Killer Service isIdiotKillable should return false when idiot is not revealed, dies from votes and is not powerless.", "location": { "start": { @@ -129828,7 +129886,7 @@ } }, { - "id": "499", + "id": "500", "name": "Player Killer Service canPlayerBeEaten should return false when player is saved by the witch.", "location": { "start": { @@ -129838,7 +129896,7 @@ } }, { - "id": "500", + "id": "501", "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by defender and is not little girl.", "location": { "start": { @@ -129848,7 +129906,7 @@ } }, { - "id": "501", + "id": "502", "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by defender, is little girl but game options allows defender to protect her.", "location": { "start": { @@ -129858,7 +129916,7 @@ } }, { - "id": "502", + "id": "503", "name": "Player Killer Service canPlayerBeEaten should return true when player is protected by defender, is little girl but game options doesn't allow defender to protect her.", "location": { "start": { @@ -129868,7 +129926,7 @@ } }, { - "id": "503", + "id": "504", "name": "Player Killer Service canPlayerBeEaten should return false when little girl is saved by the witch.", "location": { "start": { @@ -129878,7 +129936,7 @@ } }, { - "id": "504", + "id": "505", "name": "Player Killer Service canPlayerBeEaten should return true when player defenseless.", "location": { "start": { @@ -129888,7 +129946,7 @@ } }, { - "id": "505", + "id": "506", "name": "Player Killer Service isPlayerKillable should return false when cause is EATEN and player can't be eaten.", "location": { "start": { @@ -129898,7 +129956,7 @@ } }, { - "id": "506", + "id": "507", "name": "Player Killer Service isPlayerKillable should not call can player be eaten validator when cause is not EATEN.", "location": { "start": { @@ -129908,7 +129966,7 @@ } }, { - "id": "507", + "id": "508", "name": "Player Killer Service isPlayerKillable should call is idiot killable when player is an idiot.", "location": { "start": { @@ -129918,7 +129976,7 @@ } }, { - "id": "508", + "id": "509", "name": "Player Killer Service isPlayerKillable should not call is idiot killable when player is not an idiot.", "location": { "start": { @@ -129928,7 +129986,7 @@ } }, { - "id": "509", + "id": "510", "name": "Player Killer Service isPlayerKillable should call is elder killable when player is an elder.", "location": { "start": { @@ -129938,7 +129996,7 @@ } }, { - "id": "510", + "id": "511", "name": "Player Killer Service isPlayerKillable should not call is elder killable when player is not an elder.", "location": { "start": { @@ -129948,7 +130006,7 @@ } }, { - "id": "511", + "id": "512", "name": "Player Killer Service isPlayerKillable should return true when there are no contraindications.", "location": { "start": { @@ -129958,7 +130016,7 @@ } }, { - "id": "512", + "id": "513", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when killed player doesn't have the worshiped attribute.", "location": { "start": { @@ -129968,7 +130026,7 @@ } }, { - "id": "513", + "id": "514", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when there is no wild child player.", "location": { "start": { @@ -129978,7 +130036,7 @@ } }, { - "id": "514", + "id": "515", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is dead.", "location": { "start": { @@ -129988,7 +130046,7 @@ } }, { - "id": "515", + "id": "516", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should return game as is when wild child player is powerless.", "location": { "start": { @@ -129998,7 +130056,7 @@ } }, { - "id": "516", + "id": "517", "name": "Player Killer Service applyWorshipedPlayerDeathOutcomes should transform wild child to a werewolf sided player when called.", "location": { "start": { @@ -130008,7 +130066,7 @@ } }, { - "id": "517", + "id": "518", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when killed player doesn't have the in love attribute.", "location": { "start": { @@ -130018,7 +130076,7 @@ } }, { - "id": "518", + "id": "519", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when the other lover is not found because no other one has the in love attribute.", "location": { "start": { @@ -130028,7 +130086,7 @@ } }, { - "id": "519", + "id": "520", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should return game as is when the other lover is not found because he is dead.", "location": { "start": { @@ -130038,7 +130096,7 @@ } }, { - "id": "520", + "id": "521", "name": "Player Killer Service applyInLovePlayerDeathOutcomes should kill the other lover when called.", "location": { "start": { @@ -130048,7 +130106,7 @@ } }, { - "id": "521", + "id": "522", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is not the sheriff.", "location": { "start": { @@ -130058,7 +130116,7 @@ } }, { - "id": "522", + "id": "523", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should return game as is when player is idiot and not powerless.", "location": { "start": { @@ -130068,7 +130126,7 @@ } }, { - "id": "523", + "id": "524", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with powerless idiot.", "location": { "start": { @@ -130078,7 +130136,7 @@ } }, { - "id": "524", + "id": "525", "name": "Player Killer Service applySheriffPlayerDeathOutcomes should prepend sheriff election game play when called with any other role.", "location": { "start": { @@ -130088,7 +130146,7 @@ } }, { - "id": "525", + "id": "526", "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call no methods when player doesn't have the right attributes.", "location": { "start": { @@ -130098,7 +130156,7 @@ } }, { - "id": "526", + "id": "527", "name": "Player Killer Service applyPlayerAttributesDeathOutcomes should call survivors methods when player have all attributes.", "location": { "start": { @@ -130108,7 +130166,7 @@ } }, { - "id": "527", + "id": "528", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game as is when player is not a werewolf sided player.", "location": { "start": { @@ -130118,7 +130176,7 @@ } }, { - "id": "528", + "id": "529", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game as is when player is a werewolf sided player but there is no big bad wolf in the game.", "location": { "start": { @@ -130128,7 +130186,7 @@ } }, { - "id": "529", + "id": "530", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game as is when player is a werewolf sided player but game options say that big bad wolf is not powerless if one werewolf dies.", "location": { "start": { @@ -130138,7 +130196,7 @@ } }, { - "id": "530", + "id": "531", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game as is when player is a werewolf sided player but killed player is big bad wolf himself.", "location": { "start": { @@ -130148,7 +130206,7 @@ } }, { - "id": "531", + "id": "532", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game as is when player is a werewolf sided player but big bad wolf is already powerless by werewolves.", "location": { "start": { @@ -130158,7 +130216,7 @@ } }, { - "id": "532", + "id": "533", "name": "Player Killer Service applyPlayerSideDeathOutcomes should return game with powerless big bad wolf when killer player is werewolf sided and big bad wolf is not already powerless by werewolves.", "location": { "start": { @@ -130168,7 +130226,7 @@ } }, { - "id": "533", + "id": "534", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is not rusty sword knight.", "location": { "start": { @@ -130178,7 +130236,7 @@ } }, { - "id": "534", + "id": "535", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -130188,7 +130246,7 @@ } }, { - "id": "535", + "id": "536", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when death cause is not eaten.", "location": { "start": { @@ -130198,7 +130256,7 @@ } }, { - "id": "536", + "id": "537", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game as is when no left alive werewolf is found.", "location": { "start": { @@ -130208,7 +130266,7 @@ } }, { - "id": "537", + "id": "538", "name": "Player Killer Service applyRustySwordKnightDeathOutcomes should return game with first left alive werewolf player with contaminated attribute when called.", "location": { "start": { @@ -130218,7 +130276,7 @@ } }, { - "id": "538", + "id": "539", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is not scapegoat.", "location": { "start": { @@ -130228,7 +130286,7 @@ } }, { - "id": "539", + "id": "540", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -130238,7 +130296,7 @@ } }, { - "id": "540", + "id": "541", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game as is when killed player was not scapegoated.", "location": { "start": { @@ -130248,7 +130306,7 @@ } }, { - "id": "541", + "id": "542", "name": "Player Killer Service applyScapegoatDeathOutcomes should return game with upcoming scapegoat bans votes play when called.", "location": { "start": { @@ -130258,7 +130316,7 @@ } }, { - "id": "542", + "id": "543", "name": "Player Killer Service applyElderDeathOutcomes should return game as is when killed player is not elder.", "location": { "start": { @@ -130268,7 +130326,7 @@ } }, { - "id": "543", + "id": "544", "name": "Player Killer Service applyElderDeathOutcomes should return game as is when killed player is powerless.", "location": { "start": { @@ -130278,7 +130336,7 @@ } }, { - "id": "544", + "id": "545", "name": "Player Killer Service applyElderDeathOutcomes should return game as is when elder doesn't take his revenge and idiot is not revealed.", "location": { "start": { @@ -130288,7 +130346,7 @@ } }, { - "id": "545", + "id": "546", "name": "Player Killer Service applyElderDeathOutcomes should game as is when elder doesn't take his revenge from game options.", "location": { "start": { @@ -130298,7 +130356,7 @@ } }, { - "id": "546", + "id": "547", "name": "Player Killer Service applyElderDeathOutcomes should return game with all villagers powerless when elder takes his revenge.", "location": { "start": { @@ -130308,7 +130366,7 @@ } }, { - "id": "547", + "id": "548", "name": "Player Killer Service applyElderDeathOutcomes should return game as is when idiot was revealed before but doesn't die on elder death thanks to game options.", "location": { "start": { @@ -130318,7 +130376,7 @@ } }, { - "id": "548", + "id": "549", "name": "Player Killer Service applyElderDeathOutcomes should return game with killed idiot when idiot was revealed before.", "location": { "start": { @@ -130328,7 +130386,7 @@ } }, { - "id": "549", + "id": "550", "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player is not hunter.", "location": { "start": { @@ -130338,7 +130396,7 @@ } }, { - "id": "550", + "id": "551", "name": "Player Killer Service applyHunterDeathOutcomes should return game as is when killed player powerless.", "location": { "start": { @@ -130348,7 +130406,7 @@ } }, { - "id": "551", + "id": "552", "name": "Player Killer Service applyHunterDeathOutcomes should return game with upcoming hunter shoots play when called.", "location": { "start": { @@ -130358,7 +130416,7 @@ } }, { - "id": "552", + "id": "553", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should return game as is without calling role method outcomes when killed player doesn't have the right role.", "location": { "start": { @@ -130368,7 +130426,7 @@ } }, { - "id": "553", + "id": "554", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed hunter outcomes method when killed player is hunter.", "location": { "start": { @@ -130378,7 +130436,7 @@ } }, { - "id": "554", + "id": "555", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed elder outcomes method when killed player is elder.", "location": { "start": { @@ -130388,7 +130446,7 @@ } }, { - "id": "555", + "id": "556", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed scapegoat outcomes method when killed player is scapegoat.", "location": { "start": { @@ -130398,7 +130456,7 @@ } }, { - "id": "556", + "id": "557", "name": "Player Killer Service applyPlayerRoleDeathOutcomes should call killed rusty sword knight outcomes method when killed player is rusty sword knight.", "location": { "start": { @@ -130408,7 +130466,7 @@ } }, { - "id": "557", + "id": "558", "name": "Player Killer Service applyPlayerDeathOutcomes should create unexpected exception for later purposes when called.", "location": { "start": { @@ -130418,7 +130476,7 @@ } }, { - "id": "558", + "id": "559", "name": "Player Killer Service applyPlayerDeathOutcomes should apply player role death outcomes when called.", "location": { "start": { @@ -130428,7 +130486,7 @@ } }, { - "id": "559", + "id": "560", "name": "Player Killer Service applyPlayerDeathOutcomes should apply player side death outcomes when called.", "location": { "start": { @@ -130438,7 +130496,7 @@ } }, { - "id": "560", + "id": "561", "name": "Player Killer Service applyPlayerDeathOutcomes should apply player attributes death outcomes when called.", "location": { "start": { @@ -130448,7 +130506,7 @@ } }, { - "id": "561", + "id": "562", "name": "Player Killer Service applyPlayerDeathOutcomes should not prepend survivors bury dead people when game already has this play.", "location": { "start": { @@ -130458,7 +130516,7 @@ } }, { - "id": "562", + "id": "563", "name": "Player Killer Service applyPlayerDeathOutcomes should prepend survivors bury dead people when game doesn't have this play.", "location": { "start": { @@ -130468,7 +130526,7 @@ } }, { - "id": "563", + "id": "564", "name": "Player Killer Service killPlayer should set player to dead and call death outcomes method when called.", "location": { "start": { @@ -130478,7 +130536,7 @@ } }, { - "id": "564", + "id": "565", "name": "Player Killer Service getPlayerToKillInGame should throw error when player is already dead.", "location": { "start": { @@ -130488,7 +130546,7 @@ } }, { - "id": "565", + "id": "566", "name": "Player Killer Service getPlayerToKillInGame should get player to kill when called.", "location": { "start": { @@ -130498,7 +130556,7 @@ } }, { - "id": "1321", + "id": "1322", "name": "Player Killer Service canPlayerBeEaten should return false when player is protected by guard, is little girl but game options allows guard to protect her.", "location": { "start": { @@ -130508,7 +130566,7 @@ } }, { - "id": "1322", + "id": "1323", "name": "Player Killer Service canPlayerBeEaten should return true when player is protected by guard, is little girl but game options doesn't allow guard to protect her.", "location": { "start": { @@ -130523,7 +130581,7 @@ "tests/e2e/specs/modules/game/controllers/game.controller.e2e-spec.ts": { "tests": [ { - "id": "566", + "id": "567", "name": "Game Controller GET /games should get no games when no populate yet.", "location": { "start": { @@ -130533,7 +130591,7 @@ } }, { - "id": "567", + "id": "568", "name": "Game Controller GET /games should get 3 games when 3 games were created.", "location": { "start": { @@ -130543,7 +130601,7 @@ } }, { - "id": "568", + "id": "569", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is not enough players.", "location": { "start": { @@ -130553,7 +130611,7 @@ } }, { - "id": "569", + "id": "570", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when the maximum of players is reached.", "location": { "start": { @@ -130563,7 +130621,7 @@ } }, { - "id": "570", + "id": "571", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when one of the player name is too short.", "location": { "start": { @@ -130573,7 +130631,7 @@ } }, { - "id": "571", + "id": "572", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when one of the player name is too long.", "location": { "start": { @@ -130583,7 +130641,7 @@ } }, { - "id": "572", + "id": "573", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when two players have the same name.", "location": { "start": { @@ -130593,7 +130651,7 @@ } }, { - "id": "573", + "id": "574", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when werewolf is in excluded roles", "location": { "start": { @@ -130603,7 +130661,7 @@ } }, { - "id": "574", + "id": "575", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when villager is in excluded roles.", "location": { "start": { @@ -130613,7 +130671,7 @@ } }, { - "id": "575", + "id": "576", "name": "Game Controller GET /games/random-composition should not allow getting random game composition when there is twice the same excluded role.", "location": { "start": { @@ -130623,7 +130681,7 @@ } }, { - "id": "576", + "id": "577", "name": "Game Controller GET /games/random-composition should get random composition when called.", "location": { "start": { @@ -130633,7 +130691,7 @@ } }, { - "id": "577", + "id": "578", "name": "Game Controller GET /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { @@ -130643,7 +130701,7 @@ } }, { - "id": "578", + "id": "579", "name": "Game Controller GET /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { @@ -130653,7 +130711,7 @@ } }, { - "id": "579", + "id": "580", "name": "Game Controller GET /game/:id should get a game when id exists in base.", "location": { "start": { @@ -130663,7 +130721,7 @@ } }, { - "id": "580", + "id": "581", "name": "Game Controller POST /games should not allow game creation when no players are provided.", "location": { "start": { @@ -130673,7 +130731,7 @@ } }, { - "id": "581", + "id": "582", "name": "Game Controller POST /games should not allow game creation when the minimum of players is not reached.", "location": { "start": { @@ -130683,7 +130741,7 @@ } }, { - "id": "582", + "id": "583", "name": "Game Controller POST /games should not allow game creation when the maximum of players is reached.", "location": { "start": { @@ -130693,7 +130751,7 @@ } }, { - "id": "583", + "id": "584", "name": "Game Controller POST /games should not allow game creation when one of the player name is too short.", "location": { "start": { @@ -130703,7 +130761,7 @@ } }, { - "id": "584", + "id": "585", "name": "Game Controller POST /games should not allow game creation when one of the player name is too long.", "location": { "start": { @@ -130713,7 +130771,7 @@ } }, { - "id": "585", + "id": "586", "name": "Game Controller POST /games should not allow game creation when two players have the same name.", "location": { "start": { @@ -130723,7 +130781,7 @@ } }, { - "id": "586", + "id": "587", "name": "Game Controller POST /games should not allow game creation when there is only one brother in the same game.", "location": { "start": { @@ -130733,7 +130791,7 @@ } }, { - "id": "587", + "id": "588", "name": "Game Controller POST /games should not allow game creation when there is two witches in the same game.", "location": { "start": { @@ -130743,7 +130801,7 @@ } }, { - "id": "588", + "id": "589", "name": "Game Controller POST /games should not allow game creation when there is no villager in game's composition.", "location": { "start": { @@ -130753,7 +130811,7 @@ } }, { - "id": "589", + "id": "590", "name": "Game Controller POST /games should not allow game creation when there is no werewolf in game's composition.", "location": { "start": { @@ -130763,7 +130821,7 @@ } }, { - "id": "590", + "id": "591", "name": "Game Controller POST /games should not allow game creation when one of the player position is lower than 0.", "location": { "start": { @@ -130773,7 +130831,7 @@ } }, { - "id": "591", + "id": "592", "name": "Game Controller POST /games should not allow game creation when one of the player position is not consistent faced to others.", "location": { "start": { @@ -130783,7 +130841,7 @@ } }, { - "id": "592", + "id": "593", "name": "Game Controller POST /games should not allow game creation when thief is in the game but additional cards are not set.", "location": { "start": { @@ -130793,7 +130851,7 @@ } }, { - "id": "593", + "id": "594", "name": "Game Controller POST /games should not allow game creation when thief is not in the game but additional cards are set.", "location": { "start": { @@ -130803,7 +130861,7 @@ } }, { - "id": "594", + "id": "595", "name": "Game Controller POST /games should not allow game creation when thief additional cards are more than the expected default limit.", "location": { "start": { @@ -130813,7 +130871,7 @@ } }, { - "id": "595", + "id": "596", "name": "Game Controller POST /games should not allow game creation when thief additional cards are less than the expected limit defined in options.", "location": { "start": { @@ -130823,7 +130881,7 @@ } }, { - "id": "596", + "id": "597", "name": "Game Controller POST /games should not allow game creation when one thief additional card is the thief himself.", "location": { "start": { @@ -130833,7 +130891,7 @@ } }, { - "id": "597", + "id": "598", "name": "Game Controller POST /games should not allow game creation when one thief additional card (thief role) is is not available for thief.", "location": { "start": { @@ -130843,7 +130901,7 @@ } }, { - "id": "598", + "id": "599", "name": "Game Controller POST /games should not allow game creation when one thief additional card (two-sisters role) is is not available for thief.", "location": { "start": { @@ -130853,7 +130911,7 @@ } }, { - "id": "599", + "id": "600", "name": "Game Controller POST /games should not allow game creation when one thief additional card (three-brothers role) is is not available for thief.", "location": { "start": { @@ -130863,7 +130921,7 @@ } }, { - "id": "600", + "id": "601", "name": "Game Controller POST /games should not allow game creation when two thief additional role cards exceed the maximum occurrences in game possible.", "location": { "start": { @@ -130873,7 +130931,7 @@ } }, { - "id": "601", + "id": "602", "name": "Game Controller POST /games should not allow game creation when one thief additional role card exceeds the maximum occurrences in game possible because another player has it.", "location": { "start": { @@ -130883,7 +130941,7 @@ } }, { - "id": "602", + "id": "603", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is in the game and one of the player's group is not set", "location": { "start": { @@ -130893,7 +130951,7 @@ } }, { - "id": "603", + "id": "604", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is in the game and there is only one group among players", "location": { "start": { @@ -130903,7 +130961,7 @@ } }, { - "id": "604", + "id": "605", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is in the game and there are three groups among players", "location": { "start": { @@ -130913,7 +130971,7 @@ } }, { - "id": "605", + "id": "606", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is in the game and one of the group name is too short", "location": { "start": { @@ -130923,7 +130981,7 @@ } }, { - "id": "606", + "id": "607", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is in the game and one of the group name is too long", "location": { "start": { @@ -130933,7 +130991,7 @@ } }, { - "id": "607", + "id": "608", "name": "Game Controller POST /games should not allow game creation when prejudiced manipulator is not in the game and there groups among players", "location": { "start": { @@ -130943,7 +131001,7 @@ } }, { - "id": "608", + "id": "609", "name": "Game Controller POST /games should create game when called.", "location": { "start": { @@ -130953,7 +131011,7 @@ } }, { - "id": "609", + "id": "610", "name": "Game Controller POST /games should create game with additional cards when thief is in the game.", "location": { "start": { @@ -130963,7 +131021,7 @@ } }, { - "id": "610", + "id": "611", "name": "Game Controller POST /games should create game with different options when called with options specified and some omitted.", "location": { "start": { @@ -130973,197 +131031,197 @@ } }, { - "id": "611", + "id": "612", "name": "Game Controller DELETE /game/:id should get a bad request error when id is not mongoId.", "location": { "start": { "column": 6, - "line": 954 + "line": 955 } } }, { - "id": "612", + "id": "613", "name": "Game Controller DELETE /game/:id should get a not found error when id doesn't exist in base.", "location": { "start": { "column": 6, - "line": 964 + "line": 965 } } }, { - "id": "613", + "id": "614", "name": "Game Controller DELETE /game/:id should get a bad request error when game doesn't have playing status.", "location": { "start": { "column": 6, - "line": 975 + "line": 976 } } }, { - "id": "614", + "id": "615", "name": "Game Controller DELETE /game/:id should update game status to canceled when called.", "location": { "start": { "column": 6, - "line": 991 + "line": 992 } } }, { - "id": "615", + "id": "616", "name": "Game Controller POST /game/:id/play should not allow game play when game id is not a mongo id.", "location": { "start": { "column": 6, - "line": 1010 + "line": 1011 } } }, { - "id": "616", + "id": "617", "name": "Game Controller POST /game/:id/play should not allow game play when player ids in targets must be unique.", "location": { "start": { "column": 8, - "line": 1040 + "line": 1041 } } }, { - "id": "617", + "id": "618", "name": "Game Controller POST /game/:id/play should not allow game play when game id not found.", "location": { "start": { "column": 6, - "line": 1054 + "line": 1055 } } }, { - "id": "618", + "id": "619", "name": "Game Controller POST /game/:id/play should not allow game play when payload contains unknown resources id.", "location": { "start": { "column": 6, - "line": 1065 + "line": 1066 } } }, { - "id": "619", + "id": "620", "name": "Game Controller POST /game/:id/play should not allow game play when payload is not valid.", "location": { "start": { "column": 6, - "line": 1095 + "line": 1096 } } }, { - "id": "620", + "id": "621", "name": "Game Controller POST /game/:id/play should make a game play when called with votes.", "location": { "start": { "column": 6, - "line": 1125 + "line": 1126 } } }, { - "id": "621", + "id": "622", "name": "Game Controller POST /game/:id/play should make a game play when called with targets.", "location": { "start": { "column": 6, - "line": 1213 + "line": 1214 } } }, { - "id": "622", + "id": "623", "name": "Game Controller GET /games/:id/history should get bad request error on getting game history when limit is negative.", "location": { "start": { "column": 8, - "line": 1322 + "line": 1323 } } }, { - "id": "623", + "id": "624", "name": "Game Controller GET /games/:id/history should get bad request error on getting game history when limit is not a number.", "location": { "start": { "column": 8, - "line": 1322 + "line": 1323 } } }, { - "id": "624", + "id": "625", "name": "Game Controller GET /games/:id/history should get bad request error on getting game history when order is not asc nor desc.", "location": { "start": { "column": 8, - "line": 1322 + "line": 1323 } } }, { - "id": "625", + "id": "626", "name": "Game Controller GET /games/:id/history should get a bad request error when id is not mongoId.", "location": { "start": { "column": 6, - "line": 1336 + "line": 1337 } } }, { - "id": "626", + "id": "627", "name": "Game Controller GET /games/:id/history should get a not found error when id doesn't exist in base.", "location": { "start": { "column": 6, - "line": 1346 + "line": 1347 } } }, { - "id": "627", + "id": "628", "name": "Game Controller GET /games/:id/history should return no game history records when game doesn't have any.", "location": { "start": { "column": 6, - "line": 1357 + "line": 1358 } } }, { - "id": "628", + "id": "629", "name": "Game Controller GET /games/:id/history should return 3 game history records when game have 3 records.", "location": { "start": { "column": 6, - "line": 1378 + "line": 1379 } } }, { - "id": "629", + "id": "630", "name": "Game Controller GET /games/:id/history should return last recent game history record when limit is 1 and order is desc.", "location": { "start": { "column": 6, - "line": 1412 + "line": 1413 } } }, { - "id": "1323", + "id": "1324", "name": "Game Controller POST /games should not allow game creation when one thief additional card is is not available for thief.", "location": { "start": { @@ -131173,12 +131231,12 @@ } } ], - "source": "import { faker } from \"@faker-js/faker\";\nimport type { BadRequestException, NotFoundException } from \"@nestjs/common\";\nimport { HttpStatus } from \"@nestjs/common\";\nimport { getModelToken } from \"@nestjs/mongoose\";\nimport type { NestFastifyApplication } from \"@nestjs/platform-fastify\";\nimport type { TestingModule } from \"@nestjs/testing\";\nimport type { Model, Types } from \"mongoose\";\nimport { stringify } from \"qs\";\n\nimport { ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES } from \"@/modules/role/constants/role.constant\";\nimport { DEFAULT_GAME_OPTIONS } from \"@/modules/game/constants/game-options/game-options.constant\";\nimport type { CreateGamePlayerDto } from \"@/modules/game/dto/create-game/create-game-player/create-game-player.dto\";\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport type { GetGameRandomCompositionDto } from \"@/modules/game/dto/get-game-random-composition/get-game-random-composition.dto\";\nimport type { MakeGamePlayDto } from \"@/modules/game/dto/make-game-play/make-game-play.dto\";\nimport { GamePlayActions, GamePlayCauses, GamePlayOccurrences } from \"@/modules/game/enums/game-play.enum\";\nimport { GamePhases, GameStatuses } from \"@/modules/game/enums/game.enum\";\nimport { PlayerGroups, PlayerInteractionTypes } from \"@/modules/game/enums/player.enum\";\nimport type { GameAdditionalCard } from \"@/modules/game/schemas/game-additional-card/game-additional-card.schema\";\nimport { GameHistoryRecord } from \"@/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameOptions } from \"@/modules/game/schemas/game-options/game-options.schema\";\nimport type { PlayerInteraction } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/player-interaction/player-interaction.schema\";\nimport type { GamePlay } from \"@/modules/game/schemas/game-play/game-play.schema\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { ApiSortOrder } from \"@/shared/api/enums/api.enum\";\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\n\nimport { truncateAllCollections } from \"@tests/e2e/helpers/mongoose.helper\";\nimport { initNestApp } from \"@tests/e2e/helpers/nest-app.helper\";\nimport { createFakeCreateGameAdditionalCardDto } from \"@tests/factories/game/dto/create-game/create-game-additional-card/create-game-additional-card.dto.factory\";\nimport { createFakeGameOptionsDto } from \"@tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory\";\nimport { createFakeCreateThiefGameOptionsDto } from \"@tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory\";\nimport { bulkCreateFakeCreateGamePlayerDto, createFakeCreateGamePlayerDto } from \"@tests/factories/game/dto/create-game/create-game-player/create-game-player.dto.factory\";\nimport { createFakeCreateGameDto, createFakeCreateGameWithPlayersDto } from \"@tests/factories/game/dto/create-game/create-game.dto.factory\";\nimport { createFakeGetGameHistoryDto } from \"@tests/factories/game/dto/get-game-history/get-game-history.dto.factory\";\nimport { createFakeMakeGamePlayDto } from \"@tests/factories/game/dto/make-game-play/make-game-play.dto.factory\";\nimport { createFakeGameAdditionalCard } from \"@tests/factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlaySource } from \"@tests/factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeCompositionGameOptions } from \"@tests/factories/game/schemas/game-options/composition-game-options.schema.factory\";\nimport { createFakeGameOptions } from \"@tests/factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeRolesGameOptions } from \"@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory\";\nimport { createFakeVotesGameOptions } from \"@tests/factories/game/schemas/game-options/votes-game-options.schema.factory\";\nimport { createFakeGamePlayEligibleTargetsBoundaries } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.schema.factory\";\nimport { createFakeGamePlayEligibleTargets } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/game-play-eligible-targets.schema.factory\";\nimport { createFakePlayerInteraction } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/interactable-player/player-interaction/player-interaction.schema.factory\";\nimport { createFakeGamePlaySource } from \"@tests/factories/game/schemas/game-play/game-play-source.schema.factory\";\nimport { createFakeGamePlayCupidCharms, createFakeGamePlayWolfHoundChoosesSide, createFakeGamePlayLoversMeetEachOther, createFakeGamePlaySeerLooks, createFakeGamePlaySurvivorsVote, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats } from \"@tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"@tests/factories/game/schemas/game.schema.factory\";\nimport { createFakeSeenBySeerPlayerAttribute } from \"@tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"@tests/factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer } from \"@tests/factories/game/schemas/player/player.schema.factory\";\nimport { createObjectIdFromString } from \"@tests/helpers/mongoose/mongoose.helper\";\nimport type { ExceptionResponse } from \"@tests/types/exception/exception.types\";\n\ndescribe(\"Game Controller\", () => {\n let app: NestFastifyApplication;\n let testingModule: TestingModule;\n let models: {\n game: Model;\n gameHistoryRecord: Model;\n };\n\n beforeAll(async() => {\n const { app: server, module } = await initNestApp();\n app = server;\n testingModule = module;\n models = {\n game: testingModule.get>(getModelToken(Game.name)),\n gameHistoryRecord: testingModule.get>(getModelToken(GameHistoryRecord.name)),\n };\n });\n\n beforeEach(async() => {\n await truncateAllCollections(testingModule);\n });\n\n afterEach(async() => {\n await truncateAllCollections(testingModule);\n });\n\n afterAll(async() => {\n await app.close();\n });\n\n describe(\"GET /games\", () => {\n it(\"should get no games when no populate yet.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should get 3 games when 3 games were created.\", async() => {\n const games = [\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n ];\n await models.game.create(games);\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toHaveLength(3);\n });\n });\n\n describe(\"GET /games/random-composition\", () => {\n it.each<{\n test: string;\n query: Record;\n errorMessage: string;\n }>([\n {\n test: \"should not allow getting random game composition when there is not enough players.\",\n query: { players: undefined },\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow getting random game composition when there is not enough players.\",\n query: { players: [{ name: \"Antoine\" }] },\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow getting random game composition when the maximum of players is reached.\",\n query: { players: bulkCreateFakeCreateGamePlayerDto(45) },\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n test: \"should not allow getting random game composition when one of the player name is too short.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: \"\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n },\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow getting random game composition when one of the player name is too long.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: faker.string.sample(31) }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n },\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow getting random game composition when two players have the same name.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n ],\n },\n errorMessage: \"players.name must be unique\",\n },\n {\n test: \"should not allow getting random game composition when werewolf is in excluded roles\",\n query: {\n \"players\": bulkCreateFakeCreateGamePlayerDto(4),\n \"excluded-roles\": [RoleNames.WEREWOLF, RoleNames.SEER],\n },\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n test: \"should not allow getting random game composition when villager is in excluded roles.\",\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [RoleNames.VILLAGER, RoleNames.SEER],\n },\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n test: \"should not allow getting random game composition when there is twice the same excluded role.\",\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [RoleNames.SEER, RoleNames.SEER],\n },\n errorMessage: \"excluded roles must be unique\",\n },\n ])(\"$test\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get random composition when called.\", async() => {\n const query: Partial = {\n players: [\n createFakeCreateGamePlayerDto({ name: \"1\" }),\n createFakeCreateGamePlayerDto({ name: \"2\" }),\n createFakeCreateGamePlayerDto({ name: \"3\" }),\n createFakeCreateGamePlayerDto({ name: \"4\" }),\n createFakeCreateGamePlayerDto({ name: \"5\" }),\n createFakeCreateGamePlayerDto({ name: \"6\" }),\n createFakeCreateGamePlayerDto({ name: \"7\" }),\n createFakeCreateGamePlayerDto({ name: \"8\" }),\n createFakeCreateGamePlayerDto({ name: \"9\" }),\n createFakeCreateGamePlayerDto({ name: \"10\" }),\n createFakeCreateGamePlayerDto({ name: \"11\" }),\n createFakeCreateGamePlayerDto({ name: \"12\" }),\n createFakeCreateGamePlayerDto({ name: \"13\" }),\n createFakeCreateGamePlayerDto({ name: \"14\" }),\n createFakeCreateGamePlayerDto({ name: \"15\" }),\n createFakeCreateGamePlayerDto({ name: \"16\" }),\n createFakeCreateGamePlayerDto({ name: \"17\" }),\n createFakeCreateGamePlayerDto({ name: \"18\" }),\n createFakeCreateGamePlayerDto({ name: \"19\" }),\n createFakeCreateGamePlayerDto({ name: \"20\" }),\n createFakeCreateGamePlayerDto({ name: \"21\" }),\n createFakeCreateGamePlayerDto({ name: \"22\" }),\n createFakeCreateGamePlayerDto({ name: \"23\" }),\n createFakeCreateGamePlayerDto({ name: \"24\" }),\n createFakeCreateGamePlayerDto({ name: \"25\" }),\n createFakeCreateGamePlayerDto({ name: \"26\" }),\n createFakeCreateGamePlayerDto({ name: \"27\" }),\n createFakeCreateGamePlayerDto({ name: \"28\" }),\n createFakeCreateGamePlayerDto({ name: \"29\" }),\n createFakeCreateGamePlayerDto({ name: \"30\" }),\n createFakeCreateGamePlayerDto({ name: \"31\" }),\n createFakeCreateGamePlayerDto({ name: \"32\" }),\n createFakeCreateGamePlayerDto({ name: \"33\" }),\n createFakeCreateGamePlayerDto({ name: \"34\" }),\n createFakeCreateGamePlayerDto({ name: \"35\" }),\n createFakeCreateGamePlayerDto({ name: \"36\" }),\n createFakeCreateGamePlayerDto({ name: \"37\" }),\n createFakeCreateGamePlayerDto({ name: \"38\" }),\n createFakeCreateGamePlayerDto({ name: \"39\" }),\n createFakeCreateGamePlayerDto({ name: \"40\" }),\n ], arePowerfulVillagerRolesPrioritized: false,\n };\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n const players = response.json();\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(players).toSatisfyAll(({ role, side }) =>\n role.current !== undefined && role.current === role.original &&\n side.current !== undefined && side.current === side.original);\n });\n });\n\n describe(\"GET /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a game when id exists in base.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /games\", () => {\n it.each<{\n test: string;\n payload: CreateGameDto;\n errorMessage: string;\n }>([\n {\n test: \"should not allow game creation when no players are provided.\",\n payload: createFakeCreateGameDto({}, { players: undefined }),\n errorMessage: \"players must be an array\",\n },\n {\n test: \"should not allow game creation when the minimum of players is not reached.\",\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(3) }),\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow game creation when the maximum of players is reached.\",\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(45) }),\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n test: \"should not allow game creation when one of the player name is too short.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: \"\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n }),\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow game creation when one of the player name is too long.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: faker.string.sample(31) }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n }),\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow game creation when two players have the same name.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: \"John\", role: { name: RoleNames.THREE_BROTHERS } }),\n createFakeCreateGamePlayerDto({ name: \"John\" }),\n ],\n }),\n errorMessage: \"players.name must be unique\",\n },\n {\n test: \"should not allow game creation when there is only one brother in the same game.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THREE_BROTHERS } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"players.role minimum occurrences in game must be reached. Please check `minInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when there is two witches in the same game.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n ],\n }),\n errorMessage: \"players.role can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when there is no villager in game's composition.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n ],\n }),\n errorMessage: \"one of the players.role must have at least one role from `villagers` side\",\n },\n {\n test: \"should not allow game creation when there is no werewolf in game's composition.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"one of the players.role must have at least one role from `werewolves` side\",\n },\n {\n test: \"should not allow game creation when one of the player position is lower than 0.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, position: -1 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"players.0.position must not be less than 0\",\n },\n {\n test: \"should not allow game creation when one of the player position is not consistent faced to others.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, position: 0 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER }, position: 1 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, position: 2 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, position: 666 }),\n ],\n }),\n errorMessage: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\",\n },\n {\n test: \"should not allow game creation when thief is in the game but additional cards are not set.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n }),\n errorMessage: \"additionalCards must be set if there is a player with role `thief`\",\n },\n {\n test: \"should not allow game creation when thief is not in the game but additional cards are set.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards can't be set if there is no player with role `thief`\",\n },\n {\n test: \"should not allow game creation when thief additional cards are more than the expected default limit.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards length must be equal to options.roles.thief.additionalCardsCount\",\n },\n {\n test: \"should not allow game creation when thief additional cards are less than the expected limit defined in options.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n options: createFakeGameOptions({ roles: createFakeRolesGameOptions({ thief: createFakeCreateThiefGameOptionsDto({ additionalCardsCount: 4 }) }) }),\n }),\n errorMessage: \"additionalCards length must be equal to options.roles.thief.additionalCardsCount\",\n },\n {\n test: \"should not allow game creation when one thief additional card is the thief himself.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.THIEF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (thief role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (two-sisters role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.TWO_SISTERS } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (three-brothers role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THREE_BROTHERS } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when two thief additional role cards exceed the maximum occurrences in game possible.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WOLF_HOUND, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WOLF_HOUND, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when one thief additional role card exceeds the maximum occurrences in game possible because another player has it.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WITCH, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the player's group is not set\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX } }),\n ],\n }),\n errorMessage: \"each player must have a group if there is a player with role `prejudiced-manipulator`\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and there is only one group among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"there must be exactly two groups among players when `prejudiced-manipulator` in the game\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and there are three groups among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"tata\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"tutu\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"there must be exactly two groups among players when `prejudiced-manipulator` in the game\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the group name is too short\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"players.1.group must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the group name is too long\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"I'm the longest name for a group that you ever seen\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"I'm the longest name for a group that you ever seen\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"players.2.group must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is not in the game and there groups among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, group: \"tata\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"tutu\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"any player can't have a group if there is no player with role `prejudiced-manipulator`\",\n },\n ])(\"$test\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(`should create game when called.`, async() => {\n const payload = createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, name: \"Antoine\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, name: \"Mathis\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER }, name: \"Virgil\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF }, name: \"JB\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.CUPID }, name: \"Doudou\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, name: \"Juju\" }),\n ],\n }, { options: undefined });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === RoleNames.VILLAGER_VILLAGER,\n },\n side: {\n current: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n original: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n const interaction: PlayerInteraction = {\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF,\n };\n const expectedCurrentPlay: GamePlay = {\n action: GamePlayActions.ELECT_SHERIFF,\n source: { name: PlayerGroups.SURVIVORS, players: expectedPlayers },\n occurrence: GamePlayOccurrences.ANYTIME,\n eligibleTargets: {\n boundaries: {\n min: 1,\n max: 6,\n },\n interactablePlayers: [\n {\n player: expectedPlayers[0],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[1],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[2],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[3],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[4],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[5],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n };\n const expectedGame: Game = {\n _id: expect.any(String) as Types.ObjectId,\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: toJSON([\n createFakeGamePlayCupidCharms(),\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayLoversMeetEachOther(),\n createFakeGamePlayWerewolvesEat(),\n createFakeGamePlayWhiteWerewolfEats(),\n ]) as GamePlay[],\n options: DEFAULT_GAME_OPTIONS,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n };\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual(expectedGame);\n });\n \n it(`should create game with additional cards when thief is in the game.`, async() => {\n const payload = createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF }, name: \"Antoine\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, name: \"Mathis\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER }, name: \"Virgil\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF }, name: \"JB\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.CUPID }, name: \"Doudou\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, name: \"Juju\" }),\n ],\n additionalCards: [\n createFakeGameAdditionalCard({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeGameAdditionalCard({ roleName: RoleNames.ACCURSED_WOLF_FATHER, recipient: RoleNames.THIEF }),\n ],\n }, { options: undefined });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === RoleNames.VILLAGER_VILLAGER,\n },\n side: {\n current: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER, RoleNames.THIEF].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n original: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER, RoleNames.THIEF].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n const expectedGameAdditionalCards = payload.additionalCards?.map(additionalCard => ({\n _id: expect.any(String) as Types.ObjectId,\n roleName: additionalCard.roleName,\n recipient: additionalCard.recipient,\n isUsed: false,\n }));\n const interaction: PlayerInteraction = {\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF,\n };\n const expectedCurrentPlay: GamePlay = {\n action: GamePlayActions.ELECT_SHERIFF,\n source: { name: PlayerGroups.SURVIVORS, players: expectedPlayers },\n occurrence: GamePlayOccurrences.ANYTIME,\n eligibleTargets: {\n boundaries: {\n min: 1,\n max: 6,\n },\n interactablePlayers: [\n {\n player: expectedPlayers[0],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[1],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[2],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[3],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[4],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[5],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n };\n const expectedGame: Game = {\n _id: expect.any(String) as Types.ObjectId,\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: toJSON([\n createFakeGamePlayThiefChoosesCard(),\n createFakeGamePlayCupidCharms(),\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayLoversMeetEachOther(),\n createFakeGamePlayWerewolvesEat(),\n createFakeGamePlayWhiteWerewolfEats(),\n ]) as GamePlay[],\n additionalCards: expectedGameAdditionalCards,\n options: DEFAULT_GAME_OPTIONS,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n };\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual(expectedGame);\n });\n\n it(`should create game with different options when called with options specified and some omitted.`, async() => {\n const options: Partial = {\n roles: {\n areRevealedOnDeath: false,\n doSkipCallIfNoTarget: true,\n sheriff: {\n isEnabled: false,\n electedAt: {\n turn: 5,\n phase: GamePhases.DAY,\n },\n hasDoubledVote: false,\n },\n bigBadWolf: { isPowerlessIfWerewolfDies: false },\n whiteWerewolf: { wakingUpInterval: 5 },\n seer: {\n isTalkative: false,\n canSeeRoles: false,\n },\n cupid: { lovers: { doRevealRoleToEachOther: true } },\n littleGirl: { isProtectedByDefender: true },\n defender: { canProtectTwice: true },\n elder: {\n livesCountAgainstWerewolves: 1,\n doesTakeHisRevenge: false,\n },\n idiot: { doesDieOnElderDeath: false },\n twoSisters: { wakingUpInterval: 0 },\n threeBrothers: { wakingUpInterval: 5 },\n fox: { isPowerlessIfMissesWerewolf: false },\n bearTamer: { doesGrowlIfInfected: false },\n stutteringJudge: { voteRequestsCount: 3 },\n wildChild: { isTransformationRevealed: true },\n wolfHound: {\n isChosenSideRevealed: true,\n isSideRandomlyChosen: true,\n },\n thief: {\n mustChooseBetweenWerewolves: false,\n isChosenCardRevealed: true,\n additionalCardsCount: 4,\n },\n piedPiper: {\n charmedPeopleCountPerNight: 1,\n isPowerlessIfInfected: false,\n },\n scandalmonger: { markPenalty: 5 },\n witch: { doesKnowWerewolvesTargets: false },\n prejudicedManipulator: { isPowerlessIfInfected: false },\n },\n };\n const payload = createFakeCreateGameWithPlayersDto({}, { options });\n const expectedOptions = createFakeGameOptionsDto({\n ...options,\n composition: createFakeCompositionGameOptions({ isHidden: DEFAULT_GAME_OPTIONS.composition.isHidden }),\n votes: createFakeVotesGameOptions({ canBeSkipped: DEFAULT_GAME_OPTIONS.votes.canBeSkipped }),\n });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json().options).toStrictEqual(toJSON(expectedOptions) as GameOptions);\n });\n });\n\n describe(\"DELETE /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"DELETE\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a bad request error when game doesn't have playing status.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GameStatuses.CANCELED, currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad mutation for Game with id \"${game._id.toString()}\"`,\n error: `Game doesn't have status with value \"playing\"`,\n });\n });\n\n it(\"should update game status to canceled when called.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GameStatuses.PLAYING, currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n status: GameStatuses.CANCELED,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /game/:id/play\", () => {\n it(\"should not allow game play when game id is not a mongo id.\", async() => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/123/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it.each<{\n test: string;\n payload: MakeGamePlayDto;\n errorMessage: string;\n }>([\n {\n test: \"should not allow game play when player ids in targets must be unique.\",\n payload: createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }, { playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }] }),\n errorMessage: \"targets.playerId must be unique\",\n },\n {\n test: \"should not allow game play when player ids in targets must be unique.\",\n payload: createFakeMakeGamePlayDto({\n votes: [\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n ],\n }),\n errorMessage: \"votes.sourceId must be unique\",\n },\n ])(\"$test\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${faker.database.mongodbObjectId()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should not allow game play when game id not found.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${unknownId}/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should not allow game play when payload contains unknown resources id.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({\n status: GameStatuses.PLAYING,\n currentPlay: createFakeGamePlayWolfHoundChoosesSide(),\n upcomingPlays: [createFakeGamePlaySurvivorsVote()],\n players,\n });\n await models.game.create(game);\n const unknownPlayerId = faker.database.mongodbObjectId();\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(unknownPlayerId) }] });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.NOT_FOUND,\n message: `Player with id \"${unknownPlayerId.toString()}\" not found`,\n error: \"Game Play - Player in `targets.player` is not in the game players\",\n });\n });\n\n it(\"should not allow game play when payload is not valid.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const game = createFakeGame({\n status: GameStatuses.PLAYING,\n currentPlay: createFakeGamePlaySurvivorsVote({ canBeSkipped: false }),\n players,\n options,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({});\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad game play payload`,\n error: \"`votes` is required on this current game's state\",\n });\n });\n\n it(\"should make a game play when called with votes.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const currentPlay = createFakeGamePlaySurvivorsVote({\n source: createFakeGamePlaySource({ name: PlayerGroups.SURVIVORS, players }),\n eligibleTargets: {\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 4,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.VOTE })],\n },\n {\n player: players[1],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.VOTE })],\n },\n ],\n },\n });\n const game = createFakeGame({\n status: GameStatuses.PLAYING,\n currentPlay,\n upcomingPlays: [\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayWerewolvesEat(),\n ],\n players,\n options,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({\n votes: [\n { sourceId: players[0]._id, targetId: players[1]._id },\n { sourceId: players[1]._id, targetId: players[0]._id },\n ],\n });\n const interaction = createFakePlayerInteraction({\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.VOTE,\n });\n const expectedCurrentPlay = createFakeGamePlaySurvivorsVote({\n cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES,\n source: createFakeGamePlaySource({ name: PlayerGroups.SURVIVORS, players }),\n eligibleTargets: {\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 4,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [interaction],\n },\n {\n player: players[1],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: expectedCurrentPlay,\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n \n it(\"should make a game play when called with targets.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySeerLooks({\n source: createFakeGamePlaySource({\n name: RoleNames.SEER,\n players: [players[1]],\n }),\n eligibleTargets: createFakeGamePlayEligibleTargets({\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 1,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.LOOK })],\n },\n ],\n }),\n });\n const game = createFakeGame({\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n currentPlay,\n upcomingPlays: [createFakeGamePlayWerewolvesEat()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] });\n const interaction = createFakePlayerInteraction({\n source: PlayerGroups.WEREWOLVES,\n type: PlayerInteractionTypes.EAT,\n });\n const expectedCurrentPlay = createFakeGamePlayWerewolvesEat({\n source: createFakeGamePlaySource({\n name: PlayerGroups.WEREWOLVES,\n players: [createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }), players[3]],\n }),\n eligibleTargets: {\n interactablePlayers: [\n {\n player: players[1],\n interactions: [interaction],\n },\n {\n player: players[2],\n interactions: [interaction],\n },\n ],\n boundaries: {\n min: 1,\n max: 1,\n },\n },\n canBeSkipped: false,\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: [],\n players: [\n createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }),\n players[1],\n players[2],\n players[3],\n ],\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"GET /games/:id/history\", () => {\n it.each<{\n test: string;\n query: Record;\n errorMessage: string;\n }>([\n {\n test: \"should get bad request error on getting game history when limit is negative.\",\n query: { limit: -1 },\n errorMessage: \"limit must not be less than 0\",\n },\n {\n test: \"should get bad request error on getting game history when limit is not a number.\",\n query: { limit: \"lol\" },\n errorMessage: \"limit must be an integer number\",\n },\n {\n test: \"should get bad request error on getting game history when order is not asc nor desc.\",\n query: { order: \"unknown\" },\n errorMessage: \"order must be one of the following values: asc, desc\",\n },\n ])(\"$test\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${faker.database.mongodbObjectId()}/history`,\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123/history\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should return no game history records when game doesn't have any.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${secondGame._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should return 3 game history records when game have 3 records.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2022-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2023-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2024-01-01\") }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[0]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[1]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n\n it(\"should return last recent game history record when limit is 1 and order is desc.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const getGameHistoryDto = createFakeGetGameHistoryDto({ limit: 1, order: ApiSortOrder.DESC });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2022-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2023-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2024-01-01\") }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n query: stringify(getGameHistoryDto),\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n });\n});" + "source": "import { faker } from \"@faker-js/faker\";\nimport type { BadRequestException, NotFoundException } from \"@nestjs/common\";\nimport { HttpStatus } from \"@nestjs/common\";\nimport { getModelToken } from \"@nestjs/mongoose\";\nimport type { NestFastifyApplication } from \"@nestjs/platform-fastify\";\nimport type { TestingModule } from \"@nestjs/testing\";\nimport type { Model, Types } from \"mongoose\";\nimport { stringify } from \"qs\";\n\nimport { ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES } from \"@/modules/role/constants/role.constant\";\nimport { DEFAULT_GAME_OPTIONS } from \"@/modules/game/constants/game-options/game-options.constant\";\nimport type { CreateGamePlayerDto } from \"@/modules/game/dto/create-game/create-game-player/create-game-player.dto\";\nimport type { CreateGameDto } from \"@/modules/game/dto/create-game/create-game.dto\";\nimport type { GetGameRandomCompositionDto } from \"@/modules/game/dto/get-game-random-composition/get-game-random-composition.dto\";\nimport type { MakeGamePlayDto } from \"@/modules/game/dto/make-game-play/make-game-play.dto\";\nimport { GamePlayActions, GamePlayCauses, GamePlayOccurrences } from \"@/modules/game/enums/game-play.enum\";\nimport { GamePhases, GameStatuses } from \"@/modules/game/enums/game.enum\";\nimport { PlayerGroups, PlayerInteractionTypes } from \"@/modules/game/enums/player.enum\";\nimport type { GameAdditionalCard } from \"@/modules/game/schemas/game-additional-card/game-additional-card.schema\";\nimport { GameHistoryRecord } from \"@/modules/game/schemas/game-history-record/game-history-record.schema\";\nimport type { GameOptions } from \"@/modules/game/schemas/game-options/game-options.schema\";\nimport type { PlayerInteraction } from \"@/modules/game/schemas/game-play/game-play-eligible-targets/interactable-player/player-interaction/player-interaction.schema\";\nimport type { GamePlay } from \"@/modules/game/schemas/game-play/game-play.schema\";\nimport { Game } from \"@/modules/game/schemas/game.schema\";\nimport type { Player } from \"@/modules/game/schemas/player/player.schema\";\nimport { RoleNames, RoleSides } from \"@/modules/role/enums/role.enum\";\n\nimport { ApiSortOrder } from \"@/shared/api/enums/api.enum\";\nimport { toJSON } from \"@/shared/misc/helpers/object.helper\";\n\nimport { truncateAllCollections } from \"@tests/e2e/helpers/mongoose.helper\";\nimport { initNestApp } from \"@tests/e2e/helpers/nest-app.helper\";\nimport { createFakeCreateGameAdditionalCardDto } from \"@tests/factories/game/dto/create-game/create-game-additional-card/create-game-additional-card.dto.factory\";\nimport { createFakeGameOptionsDto } from \"@tests/factories/game/dto/create-game/create-game-options/create-game-options.dto.factory\";\nimport { createFakeCreateThiefGameOptionsDto } from \"@tests/factories/game/dto/create-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.factory\";\nimport { bulkCreateFakeCreateGamePlayerDto, createFakeCreateGamePlayerDto } from \"@tests/factories/game/dto/create-game/create-game-player/create-game-player.dto.factory\";\nimport { createFakeCreateGameDto, createFakeCreateGameWithPlayersDto } from \"@tests/factories/game/dto/create-game/create-game.dto.factory\";\nimport { createFakeGetGameHistoryDto } from \"@tests/factories/game/dto/get-game-history/get-game-history.dto.factory\";\nimport { createFakeMakeGamePlayDto } from \"@tests/factories/game/dto/make-game-play/make-game-play.dto.factory\";\nimport { createFakeGameAdditionalCard } from \"@tests/factories/game/schemas/game-additional-card/game-additional-card.schema.factory\";\nimport { createFakeGameHistoryRecord, createFakeGameHistoryRecordPlay, createFakeGameHistoryRecordPlaySource } from \"@tests/factories/game/schemas/game-history-record/game-history-record.schema.factory\";\nimport { createFakeCompositionGameOptions } from \"@tests/factories/game/schemas/game-options/composition-game-options.schema.factory\";\nimport { createFakeGameOptions } from \"@tests/factories/game/schemas/game-options/game-options.schema.factory\";\nimport { createFakeRolesGameOptions } from \"@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory\";\nimport { createFakeVotesGameOptions } from \"@tests/factories/game/schemas/game-options/votes-game-options.schema.factory\";\nimport { createFakeGamePlayEligibleTargetsBoundaries } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.schema.factory\";\nimport { createFakeGamePlayEligibleTargets } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/game-play-eligible-targets.schema.factory\";\nimport { createFakePlayerInteraction } from \"@tests/factories/game/schemas/game-play/game-play-eligibile-targets/interactable-player/player-interaction/player-interaction.schema.factory\";\nimport { createFakeGamePlaySource } from \"@tests/factories/game/schemas/game-play/game-play-source.schema.factory\";\nimport { createFakeGamePlayCupidCharms, createFakeGamePlayWolfHoundChoosesSide, createFakeGamePlayLoversMeetEachOther, createFakeGamePlaySeerLooks, createFakeGamePlaySurvivorsVote, createFakeGamePlayThiefChoosesCard, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats } from \"@tests/factories/game/schemas/game-play/game-play.schema.factory\";\nimport { createFakeGame, createFakeGameWithCurrentPlay } from \"@tests/factories/game/schemas/game.schema.factory\";\nimport { createFakeSeenBySeerPlayerAttribute } from \"@tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory\";\nimport { createFakeSeerAlivePlayer, createFakeVillagerAlivePlayer, createFakeWerewolfAlivePlayer } from \"@tests/factories/game/schemas/player/player-with-role.schema.factory\";\nimport { createFakePlayer } from \"@tests/factories/game/schemas/player/player.schema.factory\";\nimport { createObjectIdFromString } from \"@tests/helpers/mongoose/mongoose.helper\";\nimport type { ExceptionResponse } from \"@tests/types/exception/exception.types\";\n\ndescribe(\"Game Controller\", () => {\n let app: NestFastifyApplication;\n let testingModule: TestingModule;\n let models: {\n game: Model;\n gameHistoryRecord: Model;\n };\n\n beforeAll(async() => {\n const { app: server, module } = await initNestApp();\n app = server;\n testingModule = module;\n models = {\n game: testingModule.get>(getModelToken(Game.name)),\n gameHistoryRecord: testingModule.get>(getModelToken(GameHistoryRecord.name)),\n };\n });\n\n beforeEach(async() => {\n await truncateAllCollections(testingModule);\n });\n\n afterEach(async() => {\n await truncateAllCollections(testingModule);\n });\n\n afterAll(async() => {\n await app.close();\n });\n\n describe(\"GET /games\", () => {\n it(\"should get no games when no populate yet.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should get 3 games when 3 games were created.\", async() => {\n const games = [\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() }),\n ];\n await models.game.create(games);\n const response = await app.inject({\n method: \"GET\",\n url: \"/games\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toHaveLength(3);\n });\n });\n\n describe(\"GET /games/random-composition\", () => {\n it.each<{\n test: string;\n query: Record;\n errorMessage: string;\n }>([\n {\n test: \"should not allow getting random game composition when there is not enough players.\",\n query: { players: undefined },\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow getting random game composition when there is not enough players.\",\n query: { players: [{ name: \"Antoine\" }] },\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow getting random game composition when the maximum of players is reached.\",\n query: { players: bulkCreateFakeCreateGamePlayerDto(45) },\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n test: \"should not allow getting random game composition when one of the player name is too short.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: \"\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n },\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow getting random game composition when one of the player name is too long.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: faker.string.sample(31) }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n },\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow getting random game composition when two players have the same name.\",\n query: {\n players: [\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n ],\n },\n errorMessage: \"players.name must be unique\",\n },\n {\n test: \"should not allow getting random game composition when werewolf is in excluded roles\",\n query: {\n \"players\": bulkCreateFakeCreateGamePlayerDto(4),\n \"excluded-roles\": [RoleNames.WEREWOLF, RoleNames.SEER],\n },\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n test: \"should not allow getting random game composition when villager is in excluded roles.\",\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [RoleNames.VILLAGER, RoleNames.SEER],\n },\n errorMessage: \"excludedRoles should not contain villager, werewolf values\",\n },\n {\n test: \"should not allow getting random game composition when there is twice the same excluded role.\",\n query: {\n players: bulkCreateFakeCreateGamePlayerDto(4),\n excludedRoles: [RoleNames.SEER, RoleNames.SEER],\n },\n errorMessage: \"excluded roles must be unique\",\n },\n ])(\"$test\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get random composition when called.\", async() => {\n const query: Partial = {\n players: [\n createFakeCreateGamePlayerDto({ name: \"1\" }),\n createFakeCreateGamePlayerDto({ name: \"2\" }),\n createFakeCreateGamePlayerDto({ name: \"3\" }),\n createFakeCreateGamePlayerDto({ name: \"4\" }),\n createFakeCreateGamePlayerDto({ name: \"5\" }),\n createFakeCreateGamePlayerDto({ name: \"6\" }),\n createFakeCreateGamePlayerDto({ name: \"7\" }),\n createFakeCreateGamePlayerDto({ name: \"8\" }),\n createFakeCreateGamePlayerDto({ name: \"9\" }),\n createFakeCreateGamePlayerDto({ name: \"10\" }),\n createFakeCreateGamePlayerDto({ name: \"11\" }),\n createFakeCreateGamePlayerDto({ name: \"12\" }),\n createFakeCreateGamePlayerDto({ name: \"13\" }),\n createFakeCreateGamePlayerDto({ name: \"14\" }),\n createFakeCreateGamePlayerDto({ name: \"15\" }),\n createFakeCreateGamePlayerDto({ name: \"16\" }),\n createFakeCreateGamePlayerDto({ name: \"17\" }),\n createFakeCreateGamePlayerDto({ name: \"18\" }),\n createFakeCreateGamePlayerDto({ name: \"19\" }),\n createFakeCreateGamePlayerDto({ name: \"20\" }),\n createFakeCreateGamePlayerDto({ name: \"21\" }),\n createFakeCreateGamePlayerDto({ name: \"22\" }),\n createFakeCreateGamePlayerDto({ name: \"23\" }),\n createFakeCreateGamePlayerDto({ name: \"24\" }),\n createFakeCreateGamePlayerDto({ name: \"25\" }),\n createFakeCreateGamePlayerDto({ name: \"26\" }),\n createFakeCreateGamePlayerDto({ name: \"27\" }),\n createFakeCreateGamePlayerDto({ name: \"28\" }),\n createFakeCreateGamePlayerDto({ name: \"29\" }),\n createFakeCreateGamePlayerDto({ name: \"30\" }),\n createFakeCreateGamePlayerDto({ name: \"31\" }),\n createFakeCreateGamePlayerDto({ name: \"32\" }),\n createFakeCreateGamePlayerDto({ name: \"33\" }),\n createFakeCreateGamePlayerDto({ name: \"34\" }),\n createFakeCreateGamePlayerDto({ name: \"35\" }),\n createFakeCreateGamePlayerDto({ name: \"36\" }),\n createFakeCreateGamePlayerDto({ name: \"37\" }),\n createFakeCreateGamePlayerDto({ name: \"38\" }),\n createFakeCreateGamePlayerDto({ name: \"39\" }),\n createFakeCreateGamePlayerDto({ name: \"40\" }),\n ], arePowerfulVillagerRolesPrioritized: false,\n };\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/random-composition\",\n query: stringify(query),\n });\n const players = response.json();\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(players).toSatisfyAll(({ role, side }) =>\n role.current !== undefined && role.current === role.original &&\n side.current !== undefined && side.current === side.original);\n });\n });\n\n describe(\"GET /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a game when id exists in base.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /games\", () => {\n it.each<{\n test: string;\n payload: CreateGameDto;\n errorMessage: string;\n }>([\n {\n test: \"should not allow game creation when no players are provided.\",\n payload: createFakeCreateGameDto({}, { players: undefined }),\n errorMessage: \"players must be an array\",\n },\n {\n test: \"should not allow game creation when the minimum of players is not reached.\",\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(3) }),\n errorMessage: \"players must contain at least 4 elements\",\n },\n {\n test: \"should not allow game creation when the maximum of players is reached.\",\n payload: createFakeCreateGameDto({ players: bulkCreateFakeCreateGamePlayerDto(45) }),\n errorMessage: \"players must contain no more than 40 elements\",\n },\n {\n test: \"should not allow game creation when one of the player name is too short.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: \"\" }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n }),\n errorMessage: \"players.0.name must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow game creation when one of the player name is too long.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: faker.string.sample(31) }),\n createFakeCreateGamePlayerDto({ name: \"JB\" }),\n createFakeCreateGamePlayerDto({ name: \"Olivia\" }),\n createFakeCreateGamePlayerDto({ name: \"Thomas\" }),\n ],\n }),\n errorMessage: \"players.0.name must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow game creation when two players have the same name.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ name: \"John\", role: { name: RoleNames.THREE_BROTHERS } }),\n createFakeCreateGamePlayerDto({ name: \"John\" }),\n ],\n }),\n errorMessage: \"players.name must be unique\",\n },\n {\n test: \"should not allow game creation when there is only one brother in the same game.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THREE_BROTHERS } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"players.role minimum occurrences in game must be reached. Please check `minInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when there is two witches in the same game.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n ],\n }),\n errorMessage: \"players.role can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when there is no villager in game's composition.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n ],\n }),\n errorMessage: \"one of the players.role must have at least one role from `villagers` side\",\n },\n {\n test: \"should not allow game creation when there is no werewolf in game's composition.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"one of the players.role must have at least one role from `werewolves` side\",\n },\n {\n test: \"should not allow game creation when one of the player position is lower than 0.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, position: -1 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER } }),\n ],\n }),\n errorMessage: \"players.0.position must not be less than 0\",\n },\n {\n test: \"should not allow game creation when one of the player position is not consistent faced to others.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, position: 0 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER }, position: 1 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, position: 2 }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, position: 666 }),\n ],\n }),\n errorMessage: \"players.position must be all set or all undefined. Please check that every player has unique position, from 0 to players.length - 1\",\n },\n {\n test: \"should not allow game creation when thief is in the game but additional cards are not set.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n }),\n errorMessage: \"additionalCards must be set if there is a player with role `thief`\",\n },\n {\n test: \"should not allow game creation when thief is not in the game but additional cards are set.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards can't be set if there is no player with role `thief`\",\n },\n {\n test: \"should not allow game creation when thief additional cards are more than the expected default limit.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards length must be equal to options.roles.thief.additionalCardsCount\",\n },\n {\n test: \"should not allow game creation when thief additional cards are less than the expected limit defined in options.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n options: createFakeGameOptions({ roles: createFakeRolesGameOptions({ thief: createFakeCreateThiefGameOptionsDto({ additionalCardsCount: 4 }) }) }),\n }),\n errorMessage: \"additionalCards length must be equal to options.roles.thief.additionalCardsCount\",\n },\n {\n test: \"should not allow game creation when one thief additional card is the thief himself.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.THIEF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (thief role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (two-sisters role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.TWO_SISTERS } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when one thief additional card (three-brothers role) is is not available for thief.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THREE_BROTHERS } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.TWO_SISTERS, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: `additionalCards.roleName must be one of the following values: ${ELIGIBLE_THIEF_ADDITIONAL_CARDS_ROLES.toString()}`,\n },\n {\n test: \"should not allow game creation when two thief additional role cards exceed the maximum occurrences in game possible.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WOLF_HOUND, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WOLF_HOUND, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when one thief additional role card exceeds the maximum occurrences in game possible because another player has it.\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PIED_PIPER } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF } }),\n ],\n additionalCards: [\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WITCH, recipient: RoleNames.THIEF }),\n createFakeCreateGameAdditionalCardDto({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n ],\n }),\n errorMessage: \"additionalCards.roleName can't exceed role maximum occurrences in game. Please check `maxInGame` property of roles\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the player's group is not set\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH } }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX } }),\n ],\n }),\n errorMessage: \"each player must have a group if there is a player with role `prejudiced-manipulator`\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and there is only one group among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"there must be exactly two groups among players when `prejudiced-manipulator` in the game\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and there are three groups among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"tata\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"tutu\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"there must be exactly two groups among players when `prejudiced-manipulator` in the game\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the group name is too short\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"players.1.group must be longer than or equal to 1 characters\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is in the game and one of the group name is too long\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.PREJUDICED_MANIPULATOR }, group: \"I'm the longest name for a group that you ever seen\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"I'm the longest name for a group that you ever seen\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"players.2.group must be shorter than or equal to 30 characters\",\n },\n {\n test: \"should not allow game creation when prejudiced manipulator is not in the game and there groups among players\",\n payload: createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, group: \"toto\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, group: \"tata\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WITCH }, group: \"tutu\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.FOX }, group: \"toto\" }),\n ],\n }),\n errorMessage: \"any player can't have a group if there is no player with role `prejudiced-manipulator`\",\n },\n ])(\"$test\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(`should create game when called.`, async() => {\n const payload = createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER }, name: \"Antoine\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, name: \"Mathis\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER }, name: \"Virgil\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF }, name: \"JB\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.CUPID }, name: \"Doudou\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, name: \"Juju\" }),\n ],\n }, { options: undefined });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === RoleNames.VILLAGER_VILLAGER,\n },\n side: {\n current: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n original: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n const interaction: PlayerInteraction = {\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF,\n };\n const expectedCurrentPlay: GamePlay = {\n action: GamePlayActions.ELECT_SHERIFF,\n source: { name: PlayerGroups.SURVIVORS, players: expectedPlayers },\n occurrence: GamePlayOccurrences.ANYTIME,\n eligibleTargets: {\n boundaries: {\n min: 1,\n max: 6,\n },\n interactablePlayers: [\n {\n player: expectedPlayers[0],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[1],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[2],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[3],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[4],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[5],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n };\n const expectedGame: Game = {\n _id: expect.any(String) as Types.ObjectId,\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: toJSON([\n createFakeGamePlayCupidCharms(),\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayLoversMeetEachOther(),\n createFakeGamePlayWerewolvesEat(),\n createFakeGamePlayWhiteWerewolfEats(),\n ]) as GamePlay[],\n options: DEFAULT_GAME_OPTIONS,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n };\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual(expectedGame);\n });\n \n it(`should create game with additional cards when thief is in the game.`, async() => {\n const payload = createFakeCreateGameDto({\n players: [\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.THIEF }, name: \"Antoine\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WEREWOLF }, name: \"Mathis\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.VILLAGER_VILLAGER }, name: \"Virgil\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.WHITE_WEREWOLF }, name: \"JB\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.CUPID }, name: \"Doudou\" }),\n createFakeCreateGamePlayerDto({ role: { name: RoleNames.SEER }, name: \"Juju\" }),\n ],\n additionalCards: [\n createFakeGameAdditionalCard({ roleName: RoleNames.WEREWOLF, recipient: RoleNames.THIEF }),\n createFakeGameAdditionalCard({ roleName: RoleNames.ACCURSED_WOLF_FATHER, recipient: RoleNames.THIEF }),\n ],\n }, { options: undefined });\n const expectedPlayers = payload.players.map((player, index) => ({\n _id: expect.any(String) as Types.ObjectId,\n name: player.name,\n role: {\n current: player.role.name,\n original: player.role.name,\n isRevealed: player.role.name === RoleNames.VILLAGER_VILLAGER,\n },\n side: {\n current: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER, RoleNames.THIEF].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n original: [RoleNames.VILLAGER, RoleNames.VILLAGER_VILLAGER, RoleNames.CUPID, RoleNames.SEER, RoleNames.THIEF].includes(player.role.name) ? RoleSides.VILLAGERS : RoleSides.WEREWOLVES,\n },\n attributes: [],\n position: index,\n isAlive: true,\n }));\n const expectedGameAdditionalCards = payload.additionalCards?.map(additionalCard => ({\n _id: expect.any(String) as Types.ObjectId,\n roleName: additionalCard.roleName,\n recipient: additionalCard.recipient,\n isUsed: false,\n }));\n const interaction: PlayerInteraction = {\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.CHOOSE_AS_SHERIFF,\n };\n const expectedCurrentPlay: GamePlay = {\n action: GamePlayActions.ELECT_SHERIFF,\n source: { name: PlayerGroups.SURVIVORS, players: expectedPlayers },\n occurrence: GamePlayOccurrences.ANYTIME,\n eligibleTargets: {\n boundaries: {\n min: 1,\n max: 6,\n },\n interactablePlayers: [\n {\n player: expectedPlayers[0],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[1],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[2],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[3],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[4],\n interactions: [interaction],\n },\n {\n player: expectedPlayers[5],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n };\n const expectedGame: Game = {\n _id: expect.any(String) as Types.ObjectId,\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n turn: 1,\n tick: 1,\n players: expectedPlayers,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: toJSON([\n createFakeGamePlayThiefChoosesCard(),\n createFakeGamePlayCupidCharms(),\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayLoversMeetEachOther(),\n createFakeGamePlayWerewolvesEat(),\n createFakeGamePlayWhiteWerewolfEats(),\n ]) as GamePlay[],\n additionalCards: expectedGameAdditionalCards,\n options: DEFAULT_GAME_OPTIONS,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n };\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json()).toStrictEqual(expectedGame);\n });\n\n it(`should create game with different options when called with options specified and some omitted.`, async() => {\n const options: Partial = {\n roles: {\n areRevealedOnDeath: false,\n doSkipCallIfNoTarget: true,\n sheriff: {\n isEnabled: false,\n electedAt: {\n turn: 5,\n phase: GamePhases.DAY,\n },\n hasDoubledVote: false,\n mustSettleTieInVotes: false,\n },\n bigBadWolf: { isPowerlessIfWerewolfDies: false },\n whiteWerewolf: { wakingUpInterval: 5 },\n seer: {\n isTalkative: false,\n canSeeRoles: false,\n },\n cupid: { lovers: { doRevealRoleToEachOther: true } },\n littleGirl: { isProtectedByDefender: true },\n defender: { canProtectTwice: true },\n elder: {\n livesCountAgainstWerewolves: 1,\n doesTakeHisRevenge: false,\n },\n idiot: { doesDieOnElderDeath: false },\n twoSisters: { wakingUpInterval: 0 },\n threeBrothers: { wakingUpInterval: 5 },\n fox: { isPowerlessIfMissesWerewolf: false },\n bearTamer: { doesGrowlIfInfected: false },\n stutteringJudge: { voteRequestsCount: 3 },\n wildChild: { isTransformationRevealed: true },\n wolfHound: {\n isChosenSideRevealed: true,\n isSideRandomlyChosen: true,\n },\n thief: {\n mustChooseBetweenWerewolves: false,\n isChosenCardRevealed: true,\n additionalCardsCount: 4,\n },\n piedPiper: {\n charmedPeopleCountPerNight: 1,\n isPowerlessIfInfected: false,\n },\n scandalmonger: { markPenalty: 5 },\n witch: { doesKnowWerewolvesTargets: false },\n prejudicedManipulator: { isPowerlessIfInfected: false },\n },\n };\n const payload = createFakeCreateGameWithPlayersDto({}, { options });\n const expectedOptions = createFakeGameOptionsDto({\n ...options,\n composition: createFakeCompositionGameOptions({ isHidden: DEFAULT_GAME_OPTIONS.composition.isHidden }),\n votes: createFakeVotesGameOptions({ canBeSkipped: DEFAULT_GAME_OPTIONS.votes.canBeSkipped }),\n });\n const response = await app.inject({\n method: \"POST\",\n url: \"/games\",\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.CREATED);\n expect(response.json().options).toStrictEqual(toJSON(expectedOptions) as GameOptions);\n });\n });\n\n describe(\"DELETE /game/:id\", () => {\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"DELETE\",\n url: \"/games/123\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${unknownId}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should get a bad request error when game doesn't have playing status.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GameStatuses.CANCELED, currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad mutation for Game with id \"${game._id.toString()}\"`,\n error: `Game doesn't have status with value \"playing\"`,\n });\n });\n\n it(\"should update game status to canceled when called.\", async() => {\n const game = createFakeGameWithCurrentPlay({ status: GameStatuses.PLAYING, currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n await models.game.create(game);\n const response = await app.inject({\n method: \"DELETE\",\n url: `/games/${game._id.toString()}`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(game) as Game,\n status: GameStatuses.CANCELED,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"POST /game/:id/play\", () => {\n it(\"should not allow game play when game id is not a mongo id.\", async() => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/123/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it.each<{\n test: string;\n payload: MakeGamePlayDto;\n errorMessage: string;\n }>([\n {\n test: \"should not allow game play when player ids in targets must be unique.\",\n payload: createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }, { playerId: createObjectIdFromString(\"507f1f77bcf86cd799439011\") }] }),\n errorMessage: \"targets.playerId must be unique\",\n },\n {\n test: \"should not allow game play when player ids in targets must be unique.\",\n payload: createFakeMakeGamePlayDto({\n votes: [\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n { sourceId: createObjectIdFromString(\"507f1f77bcf86cd799439011\"), targetId: createObjectIdFromString(\"507f1f77bcf86cd799439012\") },\n ],\n }),\n errorMessage: \"votes.sourceId must be unique\",\n },\n ])(\"$test\", async({\n payload,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${faker.database.mongodbObjectId()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should not allow game play when game id not found.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${unknownId}/play`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should not allow game play when payload contains unknown resources id.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const game = createFakeGameWithCurrentPlay({\n status: GameStatuses.PLAYING,\n currentPlay: createFakeGamePlayWolfHoundChoosesSide(),\n upcomingPlays: [createFakeGamePlaySurvivorsVote()],\n players,\n });\n await models.game.create(game);\n const unknownPlayerId = faker.database.mongodbObjectId();\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: createObjectIdFromString(unknownPlayerId) }] });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.NOT_FOUND,\n message: `Player with id \"${unknownPlayerId.toString()}\" not found`,\n error: \"Game Play - Player in `targets.player` is not in the game players\",\n });\n });\n\n it(\"should not allow game play when payload is not valid.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const game = createFakeGame({\n status: GameStatuses.PLAYING,\n currentPlay: createFakeGamePlaySurvivorsVote({ canBeSkipped: false }),\n players,\n options,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({});\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json()).toStrictEqual({\n statusCode: HttpStatus.BAD_REQUEST,\n message: `Bad game play payload`,\n error: \"`votes` is required on this current game's state\",\n });\n });\n\n it(\"should make a game play when called with votes.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const options = createFakeGameOptions({ votes: createFakeVotesGameOptions({ canBeSkipped: false }) });\n const currentPlay = createFakeGamePlaySurvivorsVote({\n source: createFakeGamePlaySource({ name: PlayerGroups.SURVIVORS, players }),\n eligibleTargets: {\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 4,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.VOTE })],\n },\n {\n player: players[1],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.VOTE })],\n },\n ],\n },\n });\n const game = createFakeGame({\n status: GameStatuses.PLAYING,\n currentPlay,\n upcomingPlays: [\n createFakeGamePlaySeerLooks(),\n createFakeGamePlayWerewolvesEat(),\n ],\n players,\n options,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({\n votes: [\n { sourceId: players[0]._id, targetId: players[1]._id },\n { sourceId: players[1]._id, targetId: players[0]._id },\n ],\n });\n const interaction = createFakePlayerInteraction({\n source: PlayerGroups.SURVIVORS,\n type: PlayerInteractionTypes.VOTE,\n });\n const expectedCurrentPlay = createFakeGamePlaySurvivorsVote({\n cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES,\n source: createFakeGamePlaySource({ name: PlayerGroups.SURVIVORS, players }),\n eligibleTargets: {\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 4,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [interaction],\n },\n {\n player: players[1],\n interactions: [interaction],\n },\n ],\n },\n canBeSkipped: false,\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: expectedCurrentPlay,\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n \n it(\"should make a game play when called with targets.\", async() => {\n const players = [\n createFakeWerewolfAlivePlayer(),\n createFakeSeerAlivePlayer(),\n createFakeVillagerAlivePlayer(),\n createFakeWerewolfAlivePlayer(),\n ];\n const currentPlay = createFakeGamePlaySeerLooks({\n source: createFakeGamePlaySource({\n name: RoleNames.SEER,\n players: [players[1]],\n }),\n eligibleTargets: createFakeGamePlayEligibleTargets({\n boundaries: createFakeGamePlayEligibleTargetsBoundaries({\n min: 1,\n max: 1,\n }),\n interactablePlayers: [\n {\n player: players[0],\n interactions: [createFakePlayerInteraction({ type: PlayerInteractionTypes.LOOK })],\n },\n ],\n }),\n });\n const game = createFakeGame({\n phase: GamePhases.NIGHT,\n status: GameStatuses.PLAYING,\n currentPlay,\n upcomingPlays: [createFakeGamePlayWerewolvesEat()],\n players,\n });\n await models.game.create(game);\n const payload = createFakeMakeGamePlayDto({ targets: [{ playerId: players[0]._id }] });\n const interaction = createFakePlayerInteraction({\n source: PlayerGroups.WEREWOLVES,\n type: PlayerInteractionTypes.EAT,\n });\n const expectedCurrentPlay = createFakeGamePlayWerewolvesEat({\n source: createFakeGamePlaySource({\n name: PlayerGroups.WEREWOLVES,\n players: [createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }), players[3]],\n }),\n eligibleTargets: {\n interactablePlayers: [\n {\n player: players[1],\n interactions: [interaction],\n },\n {\n player: players[2],\n interactions: [interaction],\n },\n ],\n boundaries: {\n min: 1,\n max: 1,\n },\n },\n canBeSkipped: false,\n });\n const expectedGame = createFakeGame({\n ...game,\n tick: game.tick + 1,\n currentPlay: expectedCurrentPlay,\n upcomingPlays: [],\n players: [\n createFakePlayer({ ...players[0], attributes: [createFakeSeenBySeerPlayerAttribute()] }),\n players[1],\n players[2],\n players[3],\n ],\n });\n const response = await app.inject({\n method: \"POST\",\n url: `/games/${game._id.toString()}/play`,\n payload,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual({\n ...toJSON(expectedGame) as Game,\n createdAt: expect.any(String) as Date,\n updatedAt: expect.any(String) as Date,\n });\n });\n });\n\n describe(\"GET /games/:id/history\", () => {\n it.each<{\n test: string;\n query: Record;\n errorMessage: string;\n }>([\n {\n test: \"should get bad request error on getting game history when limit is negative.\",\n query: { limit: -1 },\n errorMessage: \"limit must not be less than 0\",\n },\n {\n test: \"should get bad request error on getting game history when limit is not a number.\",\n query: { limit: \"lol\" },\n errorMessage: \"limit must be an integer number\",\n },\n {\n test: \"should get bad request error on getting game history when order is not asc nor desc.\",\n query: { order: \"unknown\" },\n errorMessage: \"order must be one of the following values: asc, desc\",\n },\n ])(\"$test\", async({\n query,\n errorMessage,\n }) => {\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${faker.database.mongodbObjectId()}/history`,\n query: stringify(query),\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toContainEqual(errorMessage);\n });\n\n it(\"should get a bad request error when id is not mongoId.\", async() => {\n const response = await app.inject({\n method: \"GET\",\n url: \"/games/123/history\",\n });\n\n expect(response.statusCode).toBe(HttpStatus.BAD_REQUEST);\n expect(response.json().message).toBe(\"Validation failed (Mongo ObjectId is expected)\");\n });\n\n it(\"should get a not found error when id doesn't exist in base.\", async() => {\n const unknownId = faker.database.mongodbObjectId();\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${unknownId}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.NOT_FOUND);\n expect(response.json().message).toBe(`Game with id \"${unknownId}\" not found`);\n });\n\n it(\"should return no game history records when game doesn't have any.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${secondGame._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([]);\n });\n\n it(\"should return 3 game history records when game have 3 records.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2022-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2023-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2024-01-01\") }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[0]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[1]),\n createdAt: expect.any(String) as Date,\n },\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n\n it(\"should return last recent game history record when limit is 1 and order is desc.\", async() => {\n const game = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const getGameHistoryDto = createFakeGetGameHistoryDto({ limit: 1, order: ApiSortOrder.DESC });\n const secondGame = createFakeGameWithCurrentPlay({ currentPlay: createFakeGamePlayWolfHoundChoosesSide() });\n const gameHistoryRecordPlay = createFakeGameHistoryRecordPlay({ source: createFakeGameHistoryRecordPlaySource({ name: RoleNames.BIG_BAD_WOLF }) });\n const gameHistoryRecords = [\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2022-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2023-01-01\") }),\n createFakeGameHistoryRecord({ gameId: game._id, play: gameHistoryRecordPlay, createdAt: new Date(\"2024-01-01\") }),\n ];\n await models.game.insertMany([game, secondGame]);\n await models.gameHistoryRecord.insertMany(gameHistoryRecords);\n\n const response = await app.inject({\n method: \"GET\",\n url: `/games/${game._id.toString()}/history`,\n query: stringify(getGameHistoryDto),\n });\n\n expect(response.statusCode).toBe(HttpStatus.OK);\n expect(response.json()).toStrictEqual([\n {\n ...toJSON(gameHistoryRecords[2]),\n createdAt: expect.any(String) as Date,\n },\n ] as GameHistoryRecord[]);\n });\n });\n});" }, "tests/unit/specs/modules/game/providers/services/game-history/game-history-record.service.spec.ts": { "tests": [ { - "id": "630", + "id": "631", "name": "Game History Record Service createGameHistoryRecord should create game history record when called with valid data.", "location": { "start": { @@ -131188,7 +131246,7 @@ } }, { - "id": "631", + "id": "632", "name": "Game History Record Service getLastGameHistoryDefenderProtectsRecord should get game history when defender protected when called.", "location": { "start": { @@ -131198,7 +131256,7 @@ } }, { - "id": "632", + "id": "633", "name": "Game History Record Service getLastGameHistoryTieInVotesRecord should get game history when all voted and there was a tie when called.", "location": { "start": { @@ -131208,7 +131266,7 @@ } }, { - "id": "633", + "id": "634", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used life potion when called.", "location": { "start": { @@ -131218,7 +131276,7 @@ } }, { - "id": "634", + "id": "635", "name": "Game History Record Service getGameHistoryWitchUsesSpecificPotionRecords should get game history records when witch used death potion when called.", "location": { "start": { @@ -131228,7 +131286,7 @@ } }, { - "id": "635", + "id": "636", "name": "Game History Record Service getGameHistoryAccursedWolfFatherInfectedRecords should get game history records when accursed wolf-father infected a player when called.", "location": { "start": { @@ -131238,7 +131296,7 @@ } }, { - "id": "636", + "id": "637", "name": "Game History Record Service getGameHistoryJudgeRequestRecords should get game history records when stuttering judge requested another vote when called.", "location": { "start": { @@ -131248,7 +131306,7 @@ } }, { - "id": "637", + "id": "638", "name": "Game History Record Service didJudgeMakeHisSign should return true when there are records of stuttering judge make his sign.", "location": { "start": { @@ -131258,7 +131316,7 @@ } }, { - "id": "638", + "id": "639", "name": "Game History Record Service didJudgeMakeHisSign should return false when there are no records of stuttering judge make his sign.", "location": { "start": { @@ -131268,7 +131326,7 @@ } }, { - "id": "639", + "id": "640", "name": "Game History Record Service getGameHistoryWerewolvesEatElderRecords should get game history records when any kind of werewolves eat elder when called.", "location": { "start": { @@ -131278,7 +131336,7 @@ } }, { - "id": "640", + "id": "641", "name": "Game History Record Service getGameHistoryElderProtectedFromWerewolvesRecords should get game history records when elder is protected from werewolves when called.", "location": { "start": { @@ -131288,7 +131346,7 @@ } }, { - "id": "641", + "id": "642", "name": "Game History Record Service getGameHistoryPhaseRecords should call getGameHistoryPhaseRecords method when called.", "location": { "start": { @@ -131298,7 +131356,7 @@ } }, { - "id": "642", + "id": "643", "name": "Game History Record Service getPreviousGameHistoryRecord should previous game history record when called.", "location": { "start": { @@ -131308,7 +131366,7 @@ } }, { - "id": "643", + "id": "644", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should throw error when there is no current play for the game.", "location": { "start": { @@ -131318,7 +131376,7 @@ } }, { - "id": "644", + "id": "645", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should generate current game history to insert when called.", "location": { "start": { @@ -131328,7 +131386,7 @@ } }, { - "id": "645", + "id": "646", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordPlayToInsert method when called.", "location": { "start": { @@ -131338,7 +131396,7 @@ } }, { - "id": "646", + "id": "647", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordRevealedPlayersToInsert method when called.", "location": { "start": { @@ -131348,7 +131406,7 @@ } }, { - "id": "647", + "id": "648", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordDeadPlayersToInsert method when called.", "location": { "start": { @@ -131358,7 +131416,7 @@ } }, { - "id": "648", + "id": "649", "name": "Game History Record Service generateCurrentGameHistoryRecordToInsert should call generateCurrentGameHistoryRecordPlayVotingToInsert method when called with votes.", "location": { "start": { @@ -131368,7 +131426,7 @@ } }, { - "id": "649", + "id": "650", "name": "Game History Record Service getGameHistory should call getGameHistory repository method when called.", "location": { "start": { @@ -131378,7 +131436,7 @@ } }, { - "id": "650", + "id": "651", "name": "Game History Record Service generateCurrentGameHistoryRecordDeadPlayersToInsert should generate current game history dead players when called.", "location": { "start": { @@ -131388,7 +131446,7 @@ } }, { - "id": "651", + "id": "652", "name": "Game History Record Service generateCurrentGameHistoryRecordDeadPlayersToInsert should return undefined when there is no dead players.", "location": { "start": { @@ -131398,7 +131456,7 @@ } }, { - "id": "652", + "id": "653", "name": "Game History Record Service generateCurrentGameHistoryRecordRevealedPlayersToInsert should generate current game history revealed players but alive when called.", "location": { "start": { @@ -131408,7 +131466,7 @@ } }, { - "id": "653", + "id": "654", "name": "Game History Record Service generateCurrentGameHistoryRecordRevealedPlayersToInsert should return undefined when there is no new revealed players.", "location": { "start": { @@ -131418,7 +131476,7 @@ } }, { - "id": "654", + "id": "655", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayToInsert should generate current game history record play to insert when called.", "location": { "start": { @@ -131428,7 +131486,7 @@ } }, { - "id": "655", + "id": "656", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return sheriff election when there is a sheriff in the game.", "location": { "start": { @@ -131438,7 +131496,7 @@ } }, { - "id": "656", + "id": "657", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return tie when there is no sheriff in the game after election.", "location": { "start": { @@ -131448,7 +131506,7 @@ } }, { - "id": "657", + "id": "658", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return skipped when there are no vote set.", "location": { "start": { @@ -131458,7 +131516,7 @@ } }, { - "id": "658", + "id": "659", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return skipped when votes are empty.", "location": { "start": { @@ -131468,7 +131526,7 @@ } }, { - "id": "659", + "id": "660", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return death when there is at least one dead player from votes.", "location": { "start": { @@ -131478,7 +131536,7 @@ } }, { - "id": "660", + "id": "661", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return death when there is at least one dead player from scapegoat votes.", "location": { "start": { @@ -131488,7 +131546,7 @@ } }, { - "id": "661", + "id": "662", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return inconsequential when there is no death from votes and current play was already after a tie.", "location": { "start": { @@ -131498,7 +131556,7 @@ } }, { - "id": "662", + "id": "663", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return inconsequential when there is no death from votes, current play was not already after a tie but only one player was nominated.", "location": { "start": { @@ -131508,7 +131566,7 @@ } }, { - "id": "663", + "id": "664", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingResultToInsert should return tie when there is no death from votes, current play was not after a tie and there are several nominated players.", "location": { "start": { @@ -131518,7 +131576,7 @@ } }, { - "id": "664", + "id": "665", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should generate current game history record play voting when called.", "location": { "start": { @@ -131528,7 +131586,7 @@ } }, { - "id": "665", + "id": "666", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should generate current game history record play voting without nominated players when no nominated players are found.", "location": { "start": { @@ -131538,7 +131596,7 @@ } }, { - "id": "666", + "id": "667", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call getNominatedPlayers method with undefined votes when called without votes.", "location": { "start": { @@ -131548,7 +131606,7 @@ } }, { - "id": "667", + "id": "668", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call getNominatedPlayers method with votes when called.", "location": { "start": { @@ -131558,7 +131616,7 @@ } }, { - "id": "668", + "id": "669", "name": "Game History Record Service generateCurrentGameHistoryRecordPlayVotingToInsert should call generateCurrentGameHistoryRecordPlayVotingResultToInsert method when called.", "location": { "start": { @@ -131568,7 +131626,7 @@ } }, { - "id": "669", + "id": "670", "name": "Game History Record Service generateCurrentGameHistoryRecordPlaySourceToInsert should generate current game history record play source when called.", "location": { "start": { @@ -131578,7 +131636,7 @@ } }, { - "id": "670", + "id": "671", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when source is not in the game.", "location": { "start": { @@ -131588,7 +131646,7 @@ } }, { - "id": "671", + "id": "672", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a target is not in the game.", "location": { "start": { @@ -131598,7 +131656,7 @@ } }, { - "id": "672", + "id": "673", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote source is not in the game.", "location": { "start": { @@ -131608,7 +131666,7 @@ } }, { - "id": "673", + "id": "674", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when a vote target is not in the game.", "location": { "start": { @@ -131618,7 +131676,7 @@ } }, { - "id": "674", + "id": "675", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should throw resource not found error when chosen card is not in the game.", "location": { "start": { @@ -131628,7 +131686,7 @@ } }, { - "id": "675", + "id": "676", "name": "Game History Record Service validateGameHistoryRecordToInsertPlayData should not throw any errors when called with valid play data.", "location": { "start": { @@ -131638,7 +131696,7 @@ } }, { - "id": "676", + "id": "677", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when game is not found with specified gameId.", "location": { "start": { @@ -131648,7 +131706,7 @@ } }, { - "id": "677", + "id": "678", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a revealed player is not in the game.", "location": { "start": { @@ -131658,7 +131716,7 @@ } }, { - "id": "678", + "id": "679", "name": "Game History Record Service validateGameHistoryRecordToInsertData should throw resource not found error when a dead player is not in the game.", "location": { "start": { @@ -131668,7 +131726,7 @@ } }, { - "id": "679", + "id": "680", "name": "Game History Record Service validateGameHistoryRecordToInsertData should not throw any errors when called with valid data.", "location": { "start": { @@ -131683,7 +131741,7 @@ "tests/e2e/specs/modules/game/providers/repositories/game-history-record.repository.e2e-spec.ts": { "tests": [ { - "id": "680", + "id": "681", "name": "Game History Record Repository getGameHistory should get nothing when there are no record.", "location": { "start": { @@ -131693,7 +131751,7 @@ } }, { - "id": "681", + "id": "682", "name": "Game History Record Repository getGameHistory should get all ascending records when called with gameId with records with default get game history dto.", "location": { "start": { @@ -131703,7 +131761,7 @@ } }, { - "id": "682", + "id": "683", "name": "Game History Record Repository getGameHistory should get only one record when called with get game history dto limit set to 1.", "location": { "start": { @@ -131713,7 +131771,7 @@ } }, { - "id": "683", + "id": "684", "name": "Game History Record Repository getGameHistory should get records in descending order when called with get game history dto order set to DESC.", "location": { "start": { @@ -131723,7 +131781,7 @@ } }, { - "id": "684", + "id": "685", "name": "Game History Record Repository create should not create history record when turn is lower than 1.", "location": { "start": { @@ -131733,7 +131791,7 @@ } }, { - "id": "685", + "id": "686", "name": "Game History Record Repository create should not create history record when tick is lower than 1.", "location": { "start": { @@ -131743,7 +131801,7 @@ } }, { - "id": "686", + "id": "687", "name": "Game History Record Repository create should not create history record when phase is not in enum.", "location": { "start": { @@ -131753,7 +131811,7 @@ } }, { - "id": "687", + "id": "688", "name": "Game History Record Repository create should not create history record when players in play's source is empty.", "location": { "start": { @@ -131763,7 +131821,7 @@ } }, { - "id": "688", + "id": "689", "name": "Game History Record Repository create should not create history record when source in play's source is not in enum.", "location": { "start": { @@ -131773,7 +131831,7 @@ } }, { - "id": "689", + "id": "690", "name": "Game History Record Repository create should not create history record when potion in play's target is not in enum.", "location": { "start": { @@ -131783,7 +131841,7 @@ } }, { - "id": "690", + "id": "691", "name": "Game History Record Repository create should not create history record when voting result is not in enum.", "location": { "start": { @@ -131793,7 +131851,7 @@ } }, { - "id": "691", + "id": "692", "name": "Game History Record Repository create should not create history record when chosen side is not in enum.", "location": { "start": { @@ -131803,7 +131861,7 @@ } }, { - "id": "692", + "id": "693", "name": "Game History Record Repository create should create history record when called.", "location": { "start": { @@ -131813,7 +131871,7 @@ } }, { - "id": "693", + "id": "694", "name": "Game History Record Repository getLastGameHistoryDefenderProtectsRecord should return no record when there is no defender play in the history.", "location": { "start": { @@ -131823,7 +131881,7 @@ } }, { - "id": "694", + "id": "695", "name": "Game History Record Repository getLastGameHistoryDefenderProtectsRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -131833,7 +131891,7 @@ } }, { - "id": "695", + "id": "696", "name": "Game History Record Repository getLastGameHistoryDefenderProtectsRecord should return the last defender game history play record when called.", "location": { "start": { @@ -131843,7 +131901,7 @@ } }, { - "id": "696", + "id": "697", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no vote play in the history.", "location": { "start": { @@ -131853,7 +131911,7 @@ } }, { - "id": "697", + "id": "698", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there is no tie in vote play in the history.", "location": { "start": { @@ -131863,7 +131921,7 @@ } }, { - "id": "698", + "id": "699", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return no record when there gameId is not the good one.", "location": { "start": { @@ -131873,7 +131931,7 @@ } }, { - "id": "699", + "id": "700", "name": "Game History Record Repository getLastGameHistoryTieInVotesRecord should return the last tie in vote game history play record when called.", "location": { "start": { @@ -131883,7 +131941,7 @@ } }, { - "id": "700", + "id": "701", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch play.", "location": { "start": { @@ -131893,7 +131951,7 @@ } }, { - "id": "701", + "id": "702", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using life potion play.", "location": { "start": { @@ -131903,7 +131961,7 @@ } }, { - "id": "702", + "id": "703", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using life potion for this gameId when called.", "location": { "start": { @@ -131913,7 +131971,7 @@ } }, { - "id": "703", + "id": "704", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get no record when there are no witch using death potion play.", "location": { "start": { @@ -131923,7 +131981,7 @@ } }, { - "id": "704", + "id": "705", "name": "Game History Record Repository getGameHistoryWitchUsesSpecificPotionRecords should get records of witch using death potion for this gameId when called.", "location": { "start": { @@ -131933,7 +131991,7 @@ } }, { - "id": "705", + "id": "706", "name": "Game History Record Repository getGameHistoryAccursedWolfFatherInfectedRecords should get no record when there are no eat play.", "location": { "start": { @@ -131943,7 +132001,7 @@ } }, { - "id": "706", + "id": "707", "name": "Game History Record Repository getGameHistoryAccursedWolfFatherInfectedRecords should get records of accursed wolf-father infected for this gameId when called.", "location": { "start": { @@ -131953,7 +132011,7 @@ } }, { - "id": "707", + "id": "708", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get no record when there are no vote with judge request play.", "location": { "start": { @@ -131963,7 +132021,7 @@ } }, { - "id": "708", + "id": "709", "name": "Game History Record Repository getGameHistoryJudgeRequestRecords should get records of stuttering judge requesting another vote for this gameId when called.", "location": { "start": { @@ -131973,7 +132031,7 @@ } }, { - "id": "709", + "id": "710", "name": "Game History Record Repository getGameHistoryJudgeChoosesHisSignRecords should get no records when stuttering judge did not choose his sign for game id.", "location": { "start": { @@ -131983,7 +132041,7 @@ } }, { - "id": "710", + "id": "711", "name": "Game History Record Repository getGameHistoryJudgeChoosesHisSignRecords should get records when stuttering judge chose his sign for game id.", "location": { "start": { @@ -131993,7 +132051,7 @@ } }, { - "id": "711", + "id": "712", "name": "Game History Record Repository getGameHistoryWerewolvesEatElderRecords should get no record when there are no eat play.", "location": { "start": { @@ -132003,7 +132061,7 @@ } }, { - "id": "712", + "id": "713", "name": "Game History Record Repository getGameHistoryWerewolvesEatElderRecords should get records of elder eaten by any kind of werewolves for this gameId when called.", "location": { "start": { @@ -132013,7 +132071,7 @@ } }, { - "id": "713", + "id": "714", "name": "Game History Record Repository getGameHistoryElderProtectedFromWerewolvesRecords should get game history where elder is protected from werewolves records for gameId when called.", "location": { "start": { @@ -132023,7 +132081,7 @@ } }, { - "id": "714", + "id": "715", "name": "Game History Record Repository getPreviousGameHistoryRecord should get no record when game doesn't have history yet.", "location": { "start": { @@ -132033,7 +132091,7 @@ } }, { - "id": "715", + "id": "716", "name": "Game History Record Repository getPreviousGameHistoryRecord should get previous game history record for gameId when called.", "location": { "start": { @@ -132043,7 +132101,7 @@ } }, { - "id": "716", + "id": "717", "name": "Game History Record Repository getGameHistoryPhaseRecords should get 3 records when called with gameId, turn and phase.", "location": { "start": { @@ -132058,7 +132116,7 @@ "tests/unit/specs/modules/game/helpers/game.helper.spec.ts": { "tests": [ { - "id": "717", + "id": "718", "name": "Game Helper getPlayerDtoWithRole should return player with role when a player has this role.", "location": { "start": { @@ -132068,7 +132126,7 @@ } }, { - "id": "718", + "id": "719", "name": "Game Helper getPlayerDtoWithRole should return undefined when player with role is not found.", "location": { "start": { @@ -132078,7 +132136,7 @@ } }, { - "id": "719", + "id": "720", "name": "Game Helper getPlayerWithCurrentRole should return player with role when a player has this role.", "location": { "start": { @@ -132088,7 +132146,7 @@ } }, { - "id": "720", + "id": "721", "name": "Game Helper getPlayerWithCurrentRole should return undefined when player with role is not found.", "location": { "start": { @@ -132098,7 +132156,7 @@ } }, { - "id": "721", + "id": "722", "name": "Game Helper getPlayersWithCurrentRole should return players when they have this role.", "location": { "start": { @@ -132108,7 +132166,7 @@ } }, { - "id": "722", + "id": "723", "name": "Game Helper getPlayersWithCurrentRole should return empty array when no one has the role.", "location": { "start": { @@ -132118,7 +132176,7 @@ } }, { - "id": "723", + "id": "724", "name": "Game Helper getPlayersWithCurrentSide should return werewolves when they have this side.", "location": { "start": { @@ -132128,7 +132186,7 @@ } }, { - "id": "724", + "id": "725", "name": "Game Helper getPlayersWithCurrentSide should return villagers when they have this side.", "location": { "start": { @@ -132138,7 +132196,7 @@ } }, { - "id": "725", + "id": "726", "name": "Game Helper getPlayerWithId should get player with specific id when called with this id.", "location": { "start": { @@ -132148,7 +132206,7 @@ } }, { - "id": "726", + "id": "727", "name": "Game Helper getPlayerWithId should return undefined when called with unknown id.", "location": { "start": { @@ -132158,7 +132216,7 @@ } }, { - "id": "727", + "id": "728", "name": "Game Helper getPlayerWithIdOrThrow should get player with specific id when called with this id.", "location": { "start": { @@ -132168,7 +132226,7 @@ } }, { - "id": "728", + "id": "729", "name": "Game Helper getPlayerWithIdOrThrow should throw error when called with unknown id.", "location": { "start": { @@ -132178,7 +132236,7 @@ } }, { - "id": "729", + "id": "730", "name": "Game Helper getPlayerWithName should get player with specific name when called with this name.", "location": { "start": { @@ -132188,7 +132246,7 @@ } }, { - "id": "730", + "id": "731", "name": "Game Helper getPlayerWithName should return undefined when called with unknown name.", "location": { "start": { @@ -132198,7 +132256,7 @@ } }, { - "id": "731", + "id": "732", "name": "Game Helper getPlayerWithNameOrThrow should get player with specific name when called with this id.", "location": { "start": { @@ -132208,7 +132266,7 @@ } }, { - "id": "732", + "id": "733", "name": "Game Helper getPlayerWithNameOrThrow should throw error when called with unknown name.", "location": { "start": { @@ -132218,7 +132276,7 @@ } }, { - "id": "733", + "id": "734", "name": "Game Helper getAdditionalCardWithId should get card with specific id when called with this id.", "location": { "start": { @@ -132228,7 +132286,7 @@ } }, { - "id": "734", + "id": "735", "name": "Game Helper getAdditionalCardWithId should return undefined when cards are undefined.", "location": { "start": { @@ -132238,7 +132296,7 @@ } }, { - "id": "735", + "id": "736", "name": "Game Helper getAdditionalCardWithId should return undefined when called with unknown id.", "location": { "start": { @@ -132248,7 +132306,7 @@ } }, { - "id": "736", + "id": "737", "name": "Game Helper areAllWerewolvesAlive should return false when empty array is provided.", "location": { "start": { @@ -132258,7 +132316,7 @@ } }, { - "id": "737", + "id": "738", "name": "Game Helper areAllWerewolvesAlive should return true when all werewolves are alive.", "location": { "start": { @@ -132268,7 +132326,7 @@ } }, { - "id": "738", + "id": "739", "name": "Game Helper areAllWerewolvesAlive should return true when at least one werewolf is dead.", "location": { "start": { @@ -132278,7 +132336,7 @@ } }, { - "id": "739", + "id": "740", "name": "Game Helper areAllVillagersAlive should return false when empty array is provided.", "location": { "start": { @@ -132288,7 +132346,7 @@ } }, { - "id": "740", + "id": "741", "name": "Game Helper areAllVillagersAlive should return true when all villagers are alive.", "location": { "start": { @@ -132298,7 +132356,7 @@ } }, { - "id": "741", + "id": "742", "name": "Game Helper areAllVillagersAlive should return true when at least one villager is dead.", "location": { "start": { @@ -132308,7 +132366,7 @@ } }, { - "id": "742", + "id": "743", "name": "Game Helper areAllPlayersDead should return false when empty array is provided.", "location": { "start": { @@ -132318,7 +132376,7 @@ } }, { - "id": "743", + "id": "744", "name": "Game Helper areAllPlayersDead should return false when at least one player is alive.", "location": { "start": { @@ -132328,7 +132386,7 @@ } }, { - "id": "744", + "id": "745", "name": "Game Helper areAllPlayersDead should return true when all players are dead.", "location": { "start": { @@ -132338,7 +132396,7 @@ } }, { - "id": "745", + "id": "746", "name": "Game Helper getPlayerWithActiveAttributeName should return first player with attribute when called.", "location": { "start": { @@ -132348,7 +132406,7 @@ } }, { - "id": "746", + "id": "747", "name": "Game Helper getPlayerWithActiveAttributeName should return undefined when player with attribute is not found.", "location": { "start": { @@ -132358,7 +132416,7 @@ } }, { - "id": "747", + "id": "748", "name": "Game Helper getPlayersWithActiveAttributeName should return players when they have the attribute.", "location": { "start": { @@ -132368,7 +132426,7 @@ } }, { - "id": "748", + "id": "749", "name": "Game Helper getPlayersWithActiveAttributeName should return empty array when none has the attribute.", "location": { "start": { @@ -132378,7 +132436,7 @@ } }, { - "id": "749", + "id": "750", "name": "Game Helper getAlivePlayers should get all alive players when called.", "location": { "start": { @@ -132388,7 +132446,7 @@ } }, { - "id": "750", + "id": "751", "name": "Game Helper getAliveVillagerSidedPlayers should get all alive villager sided players when called.", "location": { "start": { @@ -132398,7 +132456,7 @@ } }, { - "id": "751", + "id": "752", "name": "Game Helper getAliveWerewolfSidedPlayers should get all alive werewolf sided players when called.", "location": { "start": { @@ -132408,7 +132466,7 @@ } }, { - "id": "752", + "id": "753", "name": "Game Helper getLeftToCharmByPiedPiperPlayers should get left to charm by pied piper players when called.", "location": { "start": { @@ -132418,7 +132476,7 @@ } }, { - "id": "753", + "id": "754", "name": "Game Helper getLeftToEatByWerewolvesPlayers should return left to eat by werewolves players when called.", "location": { "start": { @@ -132428,7 +132486,7 @@ } }, { - "id": "754", + "id": "755", "name": "Game Helper getLeftToEatByWhiteWerewolfPlayers should return left to eat by white werewolf players when called.", "location": { "start": { @@ -132438,7 +132496,7 @@ } }, { - "id": "755", + "id": "756", "name": "Game Helper getGroupOfPlayers should return all alive players when group is survivors.", "location": { "start": { @@ -132448,7 +132506,7 @@ } }, { - "id": "756", + "id": "757", "name": "Game Helper getGroupOfPlayers should return players in love when group is lovers.", "location": { "start": { @@ -132458,7 +132516,7 @@ } }, { - "id": "757", + "id": "758", "name": "Game Helper getGroupOfPlayers should return charmed players when group is charmed.", "location": { "start": { @@ -132468,7 +132526,7 @@ } }, { - "id": "758", + "id": "759", "name": "Game Helper getGroupOfPlayers should return villagers when group is villagers.", "location": { "start": { @@ -132478,7 +132536,7 @@ } }, { - "id": "759", + "id": "760", "name": "Game Helper getGroupOfPlayers should return werewolves when group is werewolves.", "location": { "start": { @@ -132488,7 +132546,7 @@ } }, { - "id": "760", + "id": "761", "name": "Game Helper isGameSourceRole should return true when source is role.", "location": { "start": { @@ -132498,7 +132556,7 @@ } }, { - "id": "761", + "id": "762", "name": "Game Helper isGameSourceRole should return false when source is group.", "location": { "start": { @@ -132508,7 +132566,7 @@ } }, { - "id": "762", + "id": "763", "name": "Game Helper isGameSourceGroup should return true when source is group.", "location": { "start": { @@ -132518,7 +132576,7 @@ } }, { - "id": "763", + "id": "764", "name": "Game Helper isGameSourceGroup should return false when source is role.", "location": { "start": { @@ -132528,7 +132586,7 @@ } }, { - "id": "764", + "id": "765", "name": "Game Helper getNonexistentPlayerId should return undefined when all candidate ids are found.", "location": { "start": { @@ -132538,7 +132596,7 @@ } }, { - "id": "765", + "id": "766", "name": "Game Helper getNonexistentPlayerId should return unknown id when one candidate id is not found.", "location": { "start": { @@ -132548,7 +132606,7 @@ } }, { - "id": "766", + "id": "767", "name": "Game Helper getNonexistentPlayer should return undefined when all candidate ids are found.", "location": { "start": { @@ -132558,7 +132616,7 @@ } }, { - "id": "767", + "id": "768", "name": "Game Helper getNonexistentPlayer should return unknown id when one candidate id is not found.", "location": { "start": { @@ -132568,7 +132626,7 @@ } }, { - "id": "768", + "id": "769", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left and right neighbors when called.", "location": { "start": { @@ -132578,7 +132636,7 @@ } }, { - "id": "769", + "id": "770", "name": "Game Helper getFoxSniffedPlayers should get 3 targets with left neighbor when right is dead.", "location": { "start": { @@ -132588,7 +132646,7 @@ } }, { - "id": "770", + "id": "771", "name": "Game Helper getFoxSniffedPlayers should get 2 targets with left neighbor when all rights are dead.", "location": { "start": { @@ -132598,7 +132656,7 @@ } }, { - "id": "771", + "id": "772", "name": "Game Helper getFoxSniffedPlayers should get only 1 target when all neighbors.", "location": { "start": { @@ -132608,7 +132666,7 @@ } }, { - "id": "772", + "id": "773", "name": "Game Helper getFoxSniffedPlayers should throw error when player is not found in game.", "location": { "start": { @@ -132618,7 +132676,7 @@ } }, { - "id": "773", + "id": "774", "name": "Game Helper getNearestAliveNeighbor should throw error when player is not found in game.", "location": { "start": { @@ -132628,7 +132686,7 @@ } }, { - "id": "774", + "id": "775", "name": "Game Helper getNearestAliveNeighbor should get the nearest right alive player when called with right direction.", "location": { "start": { @@ -132638,7 +132696,7 @@ } }, { - "id": "775", + "id": "776", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive player when called with left direction.", "location": { "start": { @@ -132648,7 +132706,7 @@ } }, { - "id": "776", + "id": "777", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive villager player when called with left direction and villager side.", "location": { "start": { @@ -132658,7 +132716,7 @@ } }, { - "id": "777", + "id": "778", "name": "Game Helper getNearestAliveNeighbor should get the nearest left alive werewolf player when called with left direction and werewolf side.", "location": { "start": { @@ -132668,7 +132726,7 @@ } }, { - "id": "778", + "id": "779", "name": "Game Helper getNearestAliveNeighbor should return the other alive player when there are only two alive players.", "location": { "start": { @@ -132678,7 +132736,7 @@ } }, { - "id": "779", + "id": "780", "name": "Game Helper getNearestAliveNeighbor should return undefined when can't find player with conditions.", "location": { "start": { @@ -132688,7 +132746,7 @@ } }, { - "id": "780", + "id": "781", "name": "Game Helper getNearestAliveNeighbor should return undefined when there are no alive players.", "location": { "start": { @@ -132698,7 +132756,7 @@ } }, { - "id": "781", + "id": "782", "name": "Game Helper getNearestAliveNeighbor should return undefined when there is no alive werewolf to find.", "location": { "start": { @@ -132708,7 +132766,7 @@ } }, { - "id": "782", + "id": "783", "name": "Game Helper getNearestAliveNeighbor should return undefined when player is alone.", "location": { "start": { @@ -132718,7 +132776,7 @@ } }, { - "id": "783", + "id": "784", "name": "Game Helper getAllowedToVotePlayers should return all alive players which can vote when called.", "location": { "start": { @@ -132728,7 +132786,7 @@ } }, { - "id": "784", + "id": "785", "name": "Game Helper doesGameHaveCurrentOrUpcomingPlaySourceAndAction should return true when game has current play source and action.", "location": { "start": { @@ -132738,7 +132796,7 @@ } }, { - "id": "785", + "id": "786", "name": "Game Helper doesGameHaveCurrentOrUpcomingPlaySourceAndAction should return true when game has upcoming play source and action.", "location": { "start": { @@ -132748,7 +132806,7 @@ } }, { - "id": "786", + "id": "787", "name": "Game Helper doesGameHaveCurrentOrUpcomingPlaySourceAndAction should return false when game has no current or upcoming play source and action.", "location": { "start": { @@ -132763,7 +132821,7 @@ "tests/unit/specs/modules/game/providers/services/game-victory/game-victory.service.spec.ts": { "tests": [ { - "id": "787", + "id": "788", "name": "Game Victory Service isGameOver should throw error when game's current play is not set.", "location": { "start": { @@ -132773,7 +132831,7 @@ } }, { - "id": "788", + "id": "789", "name": "Game Victory Service isGameOver should return true when all players are dead.", "location": { "start": { @@ -132783,7 +132841,7 @@ } }, { - "id": "789", + "id": "790", "name": "Game Victory Service isGameOver should return false when there is a incoming shoot by hunter play.", "location": { "start": { @@ -132793,7 +132851,7 @@ } }, { - "id": "790", + "id": "791", "name": "Game Victory Service isGameOver should return false when current play is shoot by hunter play.", "location": { "start": { @@ -132803,7 +132861,7 @@ } }, { - "id": "791", + "id": "792", "name": "Game Victory Service isGameOver should return true when werewolves win.", "location": { "start": { @@ -132813,7 +132871,7 @@ } }, { - "id": "792", + "id": "793", "name": "Game Victory Service isGameOver should return true when villagers win.", "location": { "start": { @@ -132823,7 +132881,7 @@ } }, { - "id": "793", + "id": "794", "name": "Game Victory Service isGameOver should return true when lovers win.", "location": { "start": { @@ -132833,7 +132891,7 @@ } }, { - "id": "794", + "id": "795", "name": "Game Victory Service isGameOver should return true when white werewolf wins.", "location": { "start": { @@ -132843,7 +132901,7 @@ } }, { - "id": "795", + "id": "796", "name": "Game Victory Service isGameOver should return true when pied piper wins.", "location": { "start": { @@ -132853,7 +132911,7 @@ } }, { - "id": "796", + "id": "797", "name": "Game Victory Service isGameOver should return true when angel wins.", "location": { "start": { @@ -132863,7 +132921,7 @@ } }, { - "id": "797", + "id": "798", "name": "Game Victory Service generateGameVictoryData should return no winners when all players are dead.", "location": { "start": { @@ -132873,7 +132931,7 @@ } }, { - "id": "798", + "id": "799", "name": "Game Victory Service generateGameVictoryData should return angel victory when angel wins.", "location": { "start": { @@ -132883,7 +132941,7 @@ } }, { - "id": "799", + "id": "800", "name": "Game Victory Service generateGameVictoryData should return lovers victory when lovers win.", "location": { "start": { @@ -132893,7 +132951,7 @@ } }, { - "id": "800", + "id": "801", "name": "Game Victory Service generateGameVictoryData should return pied piper victory when pied piper wins.", "location": { "start": { @@ -132903,7 +132961,7 @@ } }, { - "id": "801", + "id": "802", "name": "Game Victory Service generateGameVictoryData should return white werewolf victory when white werewolf wins.", "location": { "start": { @@ -132913,7 +132971,7 @@ } }, { - "id": "802", + "id": "803", "name": "Game Victory Service generateGameVictoryData should return prejudiced manipulator victory when prejudiced manipulator wins.", "location": { "start": { @@ -132923,7 +132981,7 @@ } }, { - "id": "803", + "id": "804", "name": "Game Victory Service generateGameVictoryData should return werewolves victory when werewolves win.", "location": { "start": { @@ -132933,7 +132991,7 @@ } }, { - "id": "804", + "id": "805", "name": "Game Victory Service generateGameVictoryData should return villagers victory when villagers win.", "location": { "start": { @@ -132943,7 +133001,7 @@ } }, { - "id": "805", + "id": "806", "name": "Game Victory Service generateGameVictoryData should return undefined when no victory can't be generated.", "location": { "start": { @@ -132953,7 +133011,7 @@ } }, { - "id": "806", + "id": "807", "name": "Game Victory Service doWerewolvesWin should return false when there are no players provided.", "location": { "start": { @@ -132963,7 +133021,7 @@ } }, { - "id": "807", + "id": "808", "name": "Game Victory Service doWerewolvesWin should return false when there are no werewolves among players.", "location": { "start": { @@ -132973,7 +133031,7 @@ } }, { - "id": "808", + "id": "809", "name": "Game Victory Service doWerewolvesWin should return false when there are at least one alive villager among players.", "location": { "start": { @@ -132983,7 +133041,7 @@ } }, { - "id": "809", + "id": "810", "name": "Game Victory Service doWerewolvesWin should return true when all villagers are dead.", "location": { "start": { @@ -132993,7 +133051,7 @@ } }, { - "id": "810", + "id": "811", "name": "Game Victory Service doVillagersWin should return false when there are no players provided.", "location": { "start": { @@ -133003,7 +133061,7 @@ } }, { - "id": "811", + "id": "812", "name": "Game Victory Service doVillagersWin should return false when there are no villagers among players.", "location": { "start": { @@ -133013,7 +133071,7 @@ } }, { - "id": "812", + "id": "813", "name": "Game Victory Service doVillagersWin should return false when there are at least one alive werewolf among players.", "location": { "start": { @@ -133023,7 +133081,7 @@ } }, { - "id": "813", + "id": "814", "name": "Game Victory Service doVillagersWin should return true when all werewolves are dead.", "location": { "start": { @@ -133033,7 +133091,7 @@ } }, { - "id": "814", + "id": "815", "name": "Game Victory Service doLoversWin should return false when there are no players provided.", "location": { "start": { @@ -133043,7 +133101,7 @@ } }, { - "id": "815", + "id": "816", "name": "Game Victory Service doLoversWin should return false when there are no lovers among players.", "location": { "start": { @@ -133053,7 +133111,7 @@ } }, { - "id": "816", + "id": "817", "name": "Game Victory Service doLoversWin should return false when there are at least one alive non-lover player among players.", "location": { "start": { @@ -133063,7 +133121,7 @@ } }, { - "id": "817", + "id": "818", "name": "Game Victory Service doLoversWin should return true when all non-lover players are dead.", "location": { "start": { @@ -133073,7 +133131,7 @@ } }, { - "id": "818", + "id": "819", "name": "Game Victory Service doesWhiteWerewolfWin should return false when no players are provided.", "location": { "start": { @@ -133083,7 +133141,7 @@ } }, { - "id": "819", + "id": "820", "name": "Game Victory Service doesWhiteWerewolfWin should return false when there is no white werewolf among players.", "location": { "start": { @@ -133093,7 +133151,7 @@ } }, { - "id": "820", + "id": "821", "name": "Game Victory Service doesWhiteWerewolfWin should return false when there is at least one alive players among players except white werewolf himself.", "location": { "start": { @@ -133103,7 +133161,7 @@ } }, { - "id": "821", + "id": "822", "name": "Game Victory Service doesWhiteWerewolfWin should return false when all players are dead even white werewolf himself.", "location": { "start": { @@ -133113,7 +133171,7 @@ } }, { - "id": "822", + "id": "823", "name": "Game Victory Service doesWhiteWerewolfWin should return true when all players are dead except white werewolf.", "location": { "start": { @@ -133123,7 +133181,7 @@ } }, { - "id": "823", + "id": "824", "name": "Game Victory Service doesPiedPiperWin should return false when no players are provided.", "location": { "start": { @@ -133133,7 +133191,7 @@ } }, { - "id": "824", + "id": "825", "name": "Game Victory Service doesPiedPiperWin should return false when there is no pied piper among players.", "location": { "start": { @@ -133143,7 +133201,7 @@ } }, { - "id": "825", + "id": "826", "name": "Game Victory Service doesPiedPiperWin should return false when pied piper is dead but all are charmed.", "location": { "start": { @@ -133153,7 +133211,7 @@ } }, { - "id": "826", + "id": "827", "name": "Game Victory Service doesPiedPiperWin should return false when pied piper is powerless but all are charmed.", "location": { "start": { @@ -133163,7 +133221,7 @@ } }, { - "id": "827", + "id": "828", "name": "Game Victory Service doesPiedPiperWin should return false when there are still left to charm players.", "location": { "start": { @@ -133173,7 +133231,7 @@ } }, { - "id": "828", + "id": "829", "name": "Game Victory Service doesPiedPiperWin should return false when all are charmed but pied piper is powerless because infected.", "location": { "start": { @@ -133183,7 +133241,7 @@ } }, { - "id": "829", + "id": "830", "name": "Game Victory Service doesPiedPiperWin should return true when all are charmed but pied piper is not powerless because infected.", "location": { "start": { @@ -133193,7 +133251,7 @@ } }, { - "id": "830", + "id": "831", "name": "Game Victory Service doesPiedPiperWin should return true when all are charmed and pied piper is not infected anyway.", "location": { "start": { @@ -133203,7 +133261,7 @@ } }, { - "id": "831", + "id": "832", "name": "Game Victory Service doesAngelWin should return false when no players are provided.", "location": { "start": { @@ -133213,7 +133271,7 @@ } }, { - "id": "832", + "id": "833", "name": "Game Victory Service doesAngelWin should return false when there is no angel among players.", "location": { "start": { @@ -133223,7 +133281,7 @@ } }, { - "id": "833", + "id": "834", "name": "Game Victory Service doesAngelWin should return false when angel is still alive.", "location": { "start": { @@ -133233,7 +133291,7 @@ } }, { - "id": "834", + "id": "835", "name": "Game Victory Service doesAngelWin should return false when angel is dead but has no death cause.", "location": { "start": { @@ -133243,7 +133301,7 @@ } }, { - "id": "835", + "id": "836", "name": "Game Victory Service doesAngelWin should return false when angel is dead but powerless.", "location": { "start": { @@ -133253,7 +133311,7 @@ } }, { - "id": "836", + "id": "837", "name": "Game Victory Service doesAngelWin should return false when it's not first turn of the game.", "location": { "start": { @@ -133263,7 +133321,7 @@ } }, { - "id": "837", + "id": "838", "name": "Game Victory Service doesAngelWin should return false when angel is not dead from vote or eaten cause.", "location": { "start": { @@ -133273,7 +133331,7 @@ } }, { - "id": "838", + "id": "839", "name": "Game Victory Service doesAngelWin should return false when angel dead for shot cause on night phase.", "location": { "start": { @@ -133283,7 +133341,7 @@ } }, { - "id": "839", + "id": "840", "name": "Game Victory Service doesAngelWin should return false when angel dead for vote cause but on phase day.", "location": { "start": { @@ -133293,7 +133351,7 @@ } }, { - "id": "840", + "id": "841", "name": "Game Victory Service doesAngelWin should return true when angel is dead from eaten cause.", "location": { "start": { @@ -133303,7 +133361,7 @@ } }, { - "id": "841", + "id": "842", "name": "Game Victory Service doesAngelWin should return true when angel is dead from vote cause.", "location": { "start": { @@ -133313,7 +133371,7 @@ } }, { - "id": "842", + "id": "843", "name": "Game Victory Service doesPrejudicedManipulatorWin should return false when no players are provided.", "location": { "start": { @@ -133323,7 +133381,7 @@ } }, { - "id": "843", + "id": "844", "name": "Game Victory Service doesPrejudicedManipulatorWin should return false when there is no prejudiced manipulator among players.", "location": { "start": { @@ -133333,7 +133391,7 @@ } }, { - "id": "844", + "id": "845", "name": "Game Victory Service doesPrejudicedManipulatorWin should return false when prejudiced manipulator is dead.", "location": { "start": { @@ -133343,7 +133401,7 @@ } }, { - "id": "845", + "id": "846", "name": "Game Victory Service doesPrejudicedManipulatorWin should return false when prejudiced manipulator is powerless.", "location": { "start": { @@ -133353,7 +133411,7 @@ } }, { - "id": "846", + "id": "847", "name": "Game Victory Service doesPrejudicedManipulatorWin should return false when one of the prejudiced manipulator's other group is still alive.", "location": { "start": { @@ -133363,7 +133421,7 @@ } }, { - "id": "847", + "id": "848", "name": "Game Victory Service doesPrejudicedManipulatorWin should return true when every one of the prejudiced manipulator's other group is dead.", "location": { "start": { @@ -133378,7 +133436,7 @@ "tests/unit/specs/modules/game/providers/services/game.service.spec.ts": { "tests": [ { - "id": "848", + "id": "849", "name": "Game Service getGames should get all games when called.", "location": { "start": { @@ -133388,7 +133446,7 @@ } }, { - "id": "849", + "id": "850", "name": "Game Service createGame should throw error when can't generate upcoming plays.", "location": { "start": { @@ -133398,7 +133456,7 @@ } }, { - "id": "850", + "id": "851", "name": "Game Service createGame should call createGame repository method when called.", "location": { "start": { @@ -133408,7 +133466,7 @@ } }, { - "id": "851", + "id": "852", "name": "Game Service createGame should call augmentCurrentGamePlay method when called.", "location": { "start": { @@ -133418,7 +133476,7 @@ } }, { - "id": "852", + "id": "853", "name": "Game Service createGame should call updateGame repository method when called.", "location": { "start": { @@ -133428,7 +133486,7 @@ } }, { - "id": "853", + "id": "854", "name": "Game Service cancelGame should throw error when game is not playing.", "location": { "start": { @@ -133438,7 +133496,7 @@ } }, { - "id": "854", + "id": "855", "name": "Game Service cancelGame should call update method when game can be canceled.", "location": { "start": { @@ -133448,7 +133506,7 @@ } }, { - "id": "855", + "id": "856", "name": "Game Service makeGamePlay should throw an error when game is not playing.", "location": { "start": { @@ -133458,7 +133516,7 @@ } }, { - "id": "856", + "id": "857", "name": "Game Service makeGamePlay should call play validator method when called.", "location": { "start": { @@ -133468,7 +133526,7 @@ } }, { - "id": "857", + "id": "858", "name": "Game Service makeGamePlay should call play maker method when called.", "location": { "start": { @@ -133478,7 +133536,7 @@ } }, { - "id": "858", + "id": "859", "name": "Game Service makeGamePlay should call remove obsolete upcoming plays method when called.", "location": { "start": { @@ -133488,7 +133546,7 @@ } }, { - "id": "859", + "id": "860", "name": "Game Service makeGamePlay should call proceed to next game play method when called.", "location": { "start": { @@ -133498,7 +133556,7 @@ } }, { - "id": "860", + "id": "861", "name": "Game Service makeGamePlay should call handle game phase completion method when phase is ending.", "location": { "start": { @@ -133508,7 +133566,7 @@ } }, { - "id": "861", + "id": "862", "name": "Game Service makeGamePlay should call generate current game history record method when called.", "location": { "start": { @@ -133518,7 +133576,7 @@ } }, { - "id": "862", + "id": "863", "name": "Game Service makeGamePlay should call createGameHistoryRecord method when called.", "location": { "start": { @@ -133528,7 +133586,7 @@ } }, { - "id": "863", + "id": "864", "name": "Game Service makeGamePlay should call update method when called.", "location": { "start": { @@ -133538,7 +133596,7 @@ } }, { - "id": "864", + "id": "865", "name": "Game Service makeGamePlay should call set game over method when the game is done.", "location": { "start": { @@ -133548,7 +133606,7 @@ } }, { - "id": "865", + "id": "866", "name": "Game Service makeGamePlay should augment current game play when the game is not over.", "location": { "start": { @@ -133558,7 +133616,7 @@ } }, { - "id": "866", + "id": "867", "name": "Game Service makeGamePlay should not augment current game play when the game is over.", "location": { "start": { @@ -133568,7 +133626,7 @@ } }, { - "id": "867", + "id": "868", "name": "Game Service validateGameIsPlaying should throw error when game is not playing.", "location": { "start": { @@ -133578,7 +133636,7 @@ } }, { - "id": "868", + "id": "869", "name": "Game Service validateGameIsPlaying should not throw error when game is playing.", "location": { "start": { @@ -133588,7 +133646,7 @@ } }, { - "id": "869", + "id": "870", "name": "Game Service handleGamePhaseCompletion should call apply ending phase outcomes method when called.", "location": { "start": { @@ -133598,7 +133656,7 @@ } }, { - "id": "870", + "id": "871", "name": "Game Service handleGamePhaseCompletion should call decrease remaining phases attributes to players method when called.", "location": { "start": { @@ -133608,7 +133666,7 @@ } }, { - "id": "871", + "id": "872", "name": "Game Service handleGamePhaseCompletion should call switch phase method when called.", "location": { "start": { @@ -133618,7 +133676,7 @@ } }, { - "id": "872", + "id": "873", "name": "Game Service handleGamePhaseCompletion should call apply starting phase outcomes method when called.", "location": { "start": { @@ -133628,7 +133686,7 @@ } }, { - "id": "873", + "id": "874", "name": "Game Service handleGamePhaseCompletion should call proceed to next game play method when called.", "location": { "start": { @@ -133638,7 +133696,7 @@ } }, { - "id": "874", + "id": "875", "name": "Game Service handleGamePhaseCompletion should not call handle game phase completion method when phase is not ending.", "location": { "start": { @@ -133648,7 +133706,7 @@ } }, { - "id": "875", + "id": "876", "name": "Game Service handleGamePhaseCompletion should call handle game phase completion method when phase is ending.", "location": { "start": { @@ -133658,7 +133716,7 @@ } }, { - "id": "876", + "id": "877", "name": "Game Service updateGame should throw an error when game not found by update repository method.", "location": { "start": { @@ -133668,7 +133726,7 @@ } }, { - "id": "877", + "id": "878", "name": "Game Service updateGame should return updated game when called.", "location": { "start": { @@ -133678,7 +133736,7 @@ } }, { - "id": "878", + "id": "879", "name": "Game Service setGameAsOver should set game as over when called.", "location": { "start": { @@ -133688,7 +133746,7 @@ } }, { - "id": "879", + "id": "880", "name": "Game Service updateGameAsOver should set game as over when called.", "location": { "start": { @@ -133698,7 +133756,7 @@ } }, { - "id": "880", + "id": "881", "name": "Game Service updateGameAsOver should call update game when called.", "location": { "start": { @@ -133713,7 +133771,7 @@ "tests/unit/specs/modules/game/providers/services/game-phase/game-phase.service.spec.ts": { "tests": [ { - "id": "881", + "id": "882", "name": "Game Phase Service applyEndingGamePhaseOutcomes should call applyEndingGamePhasePlayerAttributesOutcomesToPlayers method when called.", "location": { "start": { @@ -133723,7 +133781,7 @@ } }, { - "id": "882", + "id": "883", "name": "Game Phase Service switchPhaseAndAppendGamePhaseUpcomingPlays should switch to night and append upcoming night plays when game's current phase is DAY.", "location": { "start": { @@ -133733,7 +133791,7 @@ } }, { - "id": "883", + "id": "884", "name": "Game Phase Service switchPhaseAndAppendGamePhaseUpcomingPlays should switch to day and append upcoming day plays when game's current phase is NIGHT.", "location": { "start": { @@ -133743,7 +133801,7 @@ } }, { - "id": "884", + "id": "885", "name": "Game Phase Service applyStartingGamePhaseOutcomes should do nothing when game's current phase is NIGHT.", "location": { "start": { @@ -133753,7 +133811,7 @@ } }, { - "id": "885", + "id": "886", "name": "Game Phase Service applyStartingGamePhaseOutcomes should call applyStartingDayPlayerRoleOutcomesToPlayers method when game's current phase is DAY.", "location": { "start": { @@ -133763,7 +133821,7 @@ } }, { - "id": "886", + "id": "887", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayers should call ending game phase method for each player when called.", "location": { "start": { @@ -133773,7 +133831,7 @@ } }, { - "id": "887", + "id": "888", "name": "Game Phase Service applyEndingDayPlayerAttributesOutcomesToPlayer should do nothing when player doesn't have the contaminated attribute.", "location": { "start": { @@ -133783,7 +133841,7 @@ } }, { - "id": "888", + "id": "889", "name": "Game Phase Service applyEndingDayPlayerAttributesOutcomesToPlayer should call contaminated method when player has the contaminated attribute.", "location": { "start": { @@ -133793,7 +133851,7 @@ } }, { - "id": "889", + "id": "890", "name": "Game Phase Service applyEndingNightPlayerAttributesOutcomesToPlayer should create cant find player exception in case player is not found in game when called.", "location": { "start": { @@ -133803,7 +133861,7 @@ } }, { - "id": "890", + "id": "891", "name": "Game Phase Service applyEndingNightPlayerAttributesOutcomesToPlayer should do nothing when player doesn't have any ending night attributes.", "location": { "start": { @@ -133813,7 +133871,7 @@ } }, { - "id": "891", + "id": "892", "name": "Game Phase Service applyEndingNightPlayerAttributesOutcomesToPlayer should call all attributes outcomes methods when player has every attributes.", "location": { "start": { @@ -133823,7 +133881,7 @@ } }, { - "id": "892", + "id": "893", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayer should call ending night method when game phase is night.", "location": { "start": { @@ -133833,7 +133891,7 @@ } }, { - "id": "893", + "id": "894", "name": "Game Phase Service applyEndingGamePhasePlayerAttributesOutcomesToPlayer should call ending day method when game phase is day.", "location": { "start": { @@ -133843,7 +133901,7 @@ } }, { - "id": "894", + "id": "895", "name": "Game Phase Service applyStartingDayBearTamerRoleOutcomes should return game as is when none of the bear tamer neighbor is a werewolf and bear tamer is not infected.", "location": { "start": { @@ -133853,7 +133911,7 @@ } }, { - "id": "895", + "id": "896", "name": "Game Phase Service applyStartingDayBearTamerRoleOutcomes should return game as is when bear tamer is infected but options specify that it doesn't growl if it's the case.", "location": { "start": { @@ -133863,7 +133921,7 @@ } }, { - "id": "896", + "id": "897", "name": "Game Phase Service applyStartingDayBearTamerRoleOutcomes should add bear tamer player growled attribute when he is infected, even if none of his neighbors are werewolves.", "location": { "start": { @@ -133873,7 +133931,7 @@ } }, { - "id": "897", + "id": "898", "name": "Game Phase Service applyStartingDayBearTamerRoleOutcomes should add bear tamer player growled attribute when his left neighbor is a werewolf.", "location": { "start": { @@ -133883,7 +133941,7 @@ } }, { - "id": "898", + "id": "899", "name": "Game Phase Service applyStartingDayBearTamerRoleOutcomes should add bear tamer player growled attribute when his right neighbor is a werewolf.", "location": { "start": { @@ -133893,7 +133951,7 @@ } }, { - "id": "899", + "id": "900", "name": "Game Phase Service applyStartingDayPlayerRoleOutcomesToPlayers should call applyStartingDayBearTamerRoleOutcomes method when one player in the game is bear tamer, alive and powerful.", "location": { "start": { @@ -133903,7 +133961,7 @@ } }, { - "id": "900", + "id": "901", "name": "Game Phase Service applyStartingDayPlayerRoleOutcomesToPlayers should not call applyStartingDayBearTamerRoleOutcomes method when there is no bear tamer.", "location": { "start": { @@ -133913,7 +133971,7 @@ } }, { - "id": "901", + "id": "902", "name": "Game Phase Service applyStartingDayPlayerRoleOutcomesToPlayers should not call applyStartingDayBearTamerRoleOutcomes method when the bear tamer is dead.", "location": { "start": { @@ -133923,7 +133981,7 @@ } }, { - "id": "902", + "id": "903", "name": "Game Phase Service applyStartingDayPlayerRoleOutcomesToPlayers should not call applyStartingDayBearTamerRoleOutcomes method when the bear tamer is powerless.", "location": { "start": { @@ -133938,7 +133996,7 @@ "tests/unit/specs/modules/game/providers/services/game-random-composition.service.spec.ts": { "tests": [ { - "id": "903", + "id": "904", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called with 4 players.", "location": { "start": { @@ -133948,7 +134006,7 @@ } }, { - "id": "904", + "id": "905", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called with 40 players.", "location": { "start": { @@ -133958,7 +134016,7 @@ } }, { - "id": "905", + "id": "906", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called with 75 players.", "location": { "start": { @@ -133968,7 +134026,7 @@ } }, { - "id": "906", + "id": "907", "name": "Game Random Composition Service getGameRandomComposition should return random composition when called with 100 players.", "location": { "start": { @@ -133978,7 +134036,7 @@ } }, { - "id": "907", + "id": "908", "name": "Game Random Composition Service getRandomRolesForSide should get only werewolves when side is werewolves and no roles are available.", "location": { "start": { @@ -133988,7 +134046,7 @@ } }, { - "id": "908", + "id": "909", "name": "Game Random Composition Service getRandomRolesForSide should get only villagers when side is villagers and no roles are available.", "location": { "start": { @@ -133998,7 +134056,7 @@ } }, { - "id": "909", + "id": "910", "name": "Game Random Composition Service getRandomRolesForSide should get seer, witch, pied piper, and all others are villagers when side is villagers and only seer and witch are available.", "location": { "start": { @@ -134008,7 +134066,7 @@ } }, { - "id": "910", + "id": "911", "name": "Game Random Composition Service getRandomRolesForSide should not get fox when minInGame is too high for left to pick.", "location": { "start": { @@ -134018,7 +134076,7 @@ } }, { - "id": "911", + "id": "912", "name": "Game Random Composition Service getRandomRolesForSide should get three brothers when minInGame is exactly left to pick count.", "location": { "start": { @@ -134028,7 +134086,7 @@ } }, { - "id": "912", + "id": "913", "name": "Game Random Composition Service getRandomRolesForSide should get two sisters when minInGame is lower than left to pick count.", "location": { "start": { @@ -134038,7 +134096,7 @@ } }, { - "id": "913", + "id": "914", "name": "Game Random Composition Service getRandomRolesForSide should get full witches when maxInGame is equal to left to pick count.", "location": { "start": { @@ -134048,7 +134106,7 @@ } }, { - "id": "914", + "id": "915", "name": "Game Random Composition Service getWerewolfCountForComposition should return 1 when called with 4 players.", "location": { "start": { @@ -134058,7 +134116,7 @@ } }, { - "id": "915", + "id": "916", "name": "Game Random Composition Service getWerewolfCountForComposition should return 2 when called with 6 players.", "location": { "start": { @@ -134068,7 +134126,7 @@ } }, { - "id": "916", + "id": "917", "name": "Game Random Composition Service getWerewolfCountForComposition should return 2 when called with 7 players.", "location": { "start": { @@ -134078,7 +134136,7 @@ } }, { - "id": "917", + "id": "918", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 23 players.", "location": { "start": { @@ -134088,7 +134146,7 @@ } }, { - "id": "918", + "id": "919", "name": "Game Random Composition Service getWerewolfCountForComposition should return 4 when called with 24 players.", "location": { "start": { @@ -134098,7 +134156,7 @@ } }, { - "id": "919", + "id": "920", "name": "Game Random Composition Service getWerewolfCountForComposition should return 5 when called with 25 players.", "location": { "start": { @@ -134108,7 +134166,7 @@ } }, { - "id": "920", + "id": "921", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include some roles when there are excluded.", "location": { "start": { @@ -134118,7 +134176,7 @@ } }, { - "id": "921", + "id": "922", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default villager role when powerful villager roles are prioritized.", "location": { "start": { @@ -134128,7 +134186,7 @@ } }, { - "id": "922", + "id": "923", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default villager role when powerful villager roles are not prioritized.", "location": { "start": { @@ -134138,7 +134196,7 @@ } }, { - "id": "923", + "id": "924", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include default werewolf role when powerful werewolf roles are prioritized.", "location": { "start": { @@ -134148,7 +134206,7 @@ } }, { - "id": "924", + "id": "925", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include default werewolf role when powerful werewolf roles are not prioritized.", "location": { "start": { @@ -134158,7 +134216,7 @@ } }, { - "id": "925", + "id": "926", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should not include roles with recommended minimum of players when areRecommendedMinPlayersRespected is true and not enough players.", "location": { "start": { @@ -134168,7 +134226,7 @@ } }, { - "id": "926", + "id": "927", "name": "Game Random Composition Service getAvailableRolesForGameRandomComposition should include roles with recommended minimum of players when areRecommendedMinPlayersRespected is true when enough players.", "location": { "start": { @@ -134183,7 +134241,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play.helper.spec.ts": { "tests": [ { - "id": "927", + "id": "928", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should return undefined when votes are undefined.", "location": { "start": { @@ -134193,7 +134251,7 @@ } }, { - "id": "928", + "id": "929", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown source.", "location": { "start": { @@ -134203,7 +134261,7 @@ } }, { - "id": "929", + "id": "930", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should throw error when votes contains one unknown target.", "location": { "start": { @@ -134213,7 +134271,7 @@ } }, { - "id": "930", + "id": "931", "name": "Game Play Helper getVotesWithRelationsFromMakeGamePlayDto should fill votes with game players when called.", "location": { "start": { @@ -134223,7 +134281,7 @@ } }, { - "id": "931", + "id": "932", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should return undefined when targets are undefined.", "location": { "start": { @@ -134233,7 +134291,7 @@ } }, { - "id": "932", + "id": "933", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should throw error when targets contains one unknown player.", "location": { "start": { @@ -134243,7 +134301,7 @@ } }, { - "id": "933", + "id": "934", "name": "Game Play Helper getTargetsWithRelationsFromMakeGamePlayDto should fill targets with game players when called.", "location": { "start": { @@ -134253,7 +134311,7 @@ } }, { - "id": "934", + "id": "935", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return undefined when chosenCardId is undefined.", "location": { "start": { @@ -134263,7 +134321,7 @@ } }, { - "id": "935", + "id": "936", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should throw error when chosen card is unknown from game cards.", "location": { "start": { @@ -134273,7 +134331,7 @@ } }, { - "id": "936", + "id": "937", "name": "Game Play Helper getChosenCardFromMakeGamePlayDto should return chosen card when called.", "location": { "start": { @@ -134283,7 +134341,7 @@ } }, { - "id": "937", + "id": "938", "name": "Game Play Helper createMakeGamePlayDtoWithRelations should return same dto with relations when called.", "location": { "start": { @@ -134293,7 +134351,7 @@ } }, { - "id": "938", + "id": "939", "name": "Game Play Helper findPlayPriorityIndex should return -1 when play is not found in priority list.", "location": { "start": { @@ -134303,7 +134361,7 @@ } }, { - "id": "939", + "id": "940", "name": "Game Play Helper findPlayPriorityIndex should return index when play is found in priority list.", "location": { "start": { @@ -134313,7 +134371,7 @@ } }, { - "id": "940", + "id": "941", "name": "Game Play Helper areGamePlaysEqual should return true when both plays are equal.", "location": { "start": { @@ -134323,7 +134381,7 @@ } }, { - "id": "941", + "id": "942", "name": "Game Play Helper areGamePlaysEqual should return false when both sources are not equal.", "location": { "start": { @@ -134333,7 +134391,7 @@ } }, { - "id": "942", + "id": "943", "name": "Game Play Helper areGamePlaysEqual should return false when both actions are not equal.", "location": { "start": { @@ -134343,7 +134401,7 @@ } }, { - "id": "943", + "id": "944", "name": "Game Play Helper areGamePlaysEqual should return false when both causes are not equal.", "location": { "start": { @@ -134353,7 +134411,7 @@ } }, { - "id": "944", + "id": "945", "name": "Game Play Helper canSurvivorsVote should return false when all players are dead.", "location": { "start": { @@ -134363,7 +134421,7 @@ } }, { - "id": "945", + "id": "946", "name": "Game Play Helper canSurvivorsVote should return false when all survivors has the cant-vote attribute.", "location": { "start": { @@ -134373,7 +134431,7 @@ } }, { - "id": "946", + "id": "947", "name": "Game Play Helper canSurvivorsVote should return true when at least one survivor doesn't have the cant-vote attribute.", "location": { "start": { @@ -134383,7 +134441,7 @@ } }, { - "id": "947", + "id": "948", "name": "Game Play Helper isPlayerInteractableWithInteractionType should return false when player is not found.", "location": { "start": { @@ -134393,7 +134451,7 @@ } }, { - "id": "948", + "id": "949", "name": "Game Play Helper isPlayerInteractableWithInteractionType should return false when interaction for player is not found.", "location": { "start": { @@ -134403,7 +134461,7 @@ } }, { - "id": "949", + "id": "950", "name": "Game Play Helper isPlayerInteractableWithInteractionType should return false when interaction for player is found.", "location": { "start": { @@ -134418,7 +134476,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play.factory.spec.ts": { "tests": [ { - "id": "950", + "id": "951", "name": "Game Play Factory createGamePlaySurvivorsBuryDeadBodies should create game play survivors bury dead bodies when called.", "location": { "start": { @@ -134428,7 +134486,7 @@ } }, { - "id": "951", + "id": "952", "name": "Game Play Factory createGamePlaySheriffSettlesVotes should create game play sheriff settles votes when called.", "location": { "start": { @@ -134438,7 +134496,7 @@ } }, { - "id": "952", + "id": "953", "name": "Game Play Factory createGamePlaySheriffDelegates should create game play sheriff delegates when called.", "location": { "start": { @@ -134448,7 +134506,7 @@ } }, { - "id": "953", + "id": "954", "name": "Game Play Factory createGamePlaySurvivorsVote should create game play survivors vote when called with cause of angel presence.", "location": { "start": { @@ -134458,7 +134516,7 @@ } }, { - "id": "954", + "id": "955", "name": "Game Play Factory createGamePlaySurvivorsVote should create game play survivors vote when called with cause of previous votes were in ties.", "location": { "start": { @@ -134468,7 +134526,7 @@ } }, { - "id": "955", + "id": "956", "name": "Game Play Factory createGamePlaySurvivorsVote should create game play survivors vote when called with cause of stuttering judge request.", "location": { "start": { @@ -134478,7 +134536,7 @@ } }, { - "id": "956", + "id": "957", "name": "Game Play Factory createGamePlaySurvivorsVote should create game play survivors vote when called with undefined cause.", "location": { "start": { @@ -134488,7 +134546,7 @@ } }, { - "id": "957", + "id": "958", "name": "Game Play Factory createGamePlaySurvivorsElectSheriff should create game play all elect sheriff when called.", "location": { "start": { @@ -134498,7 +134556,7 @@ } }, { - "id": "958", + "id": "959", "name": "Game Play Factory createGamePlayThiefChoosesCard should create game play thief chooses card when called.", "location": { "start": { @@ -134508,7 +134566,7 @@ } }, { - "id": "959", + "id": "960", "name": "Game Play Factory createGamePlayStutteringJudgeChoosesSign should create game play stuttering judge chooses sign when called.", "location": { "start": { @@ -134518,7 +134576,7 @@ } }, { - "id": "960", + "id": "961", "name": "Game Play Factory createGamePlayScapegoatBansVoting should create game play scapegoat bans voting when called.", "location": { "start": { @@ -134528,7 +134586,7 @@ } }, { - "id": "961", + "id": "962", "name": "Game Play Factory createGamePlayWolfHoundChoosesSide should create game play wolf-hound chooses side when called.", "location": { "start": { @@ -134538,7 +134596,7 @@ } }, { - "id": "962", + "id": "963", "name": "Game Play Factory createGamePlayWildChildChoosesModel should create game play wild child chooses model when called.", "location": { "start": { @@ -134548,7 +134606,7 @@ } }, { - "id": "963", + "id": "964", "name": "Game Play Factory createGamePlayFoxSniffs should create game play fox sniffs when called.", "location": { "start": { @@ -134558,7 +134616,7 @@ } }, { - "id": "964", + "id": "965", "name": "Game Play Factory createGamePlayCharmedMeetEachOther should create game play charmed players meet each other when called.", "location": { "start": { @@ -134568,7 +134626,7 @@ } }, { - "id": "965", + "id": "966", "name": "Game Play Factory createGamePlayLoversMeetEachOther should create game play lovers meet each other when called.", "location": { "start": { @@ -134578,7 +134636,7 @@ } }, { - "id": "966", + "id": "967", "name": "Game Play Factory createGamePlayThreeBrothersMeetEachOther should create game play three brothers meet each other when called.", "location": { "start": { @@ -134588,7 +134646,7 @@ } }, { - "id": "967", + "id": "968", "name": "Game Play Factory createGamePlayTwoSistersMeetEachOther should create game play two sisters meet each other when called.", "location": { "start": { @@ -134598,7 +134656,7 @@ } }, { - "id": "968", + "id": "969", "name": "Game Play Factory createGamePlayScandalmongerMarks should create game play scandalmonger marks when called.", "location": { "start": { @@ -134608,7 +134666,7 @@ } }, { - "id": "969", + "id": "970", "name": "Game Play Factory createGamePlayDefenderProtects should create game play defender protects when called.", "location": { "start": { @@ -134618,7 +134676,7 @@ } }, { - "id": "970", + "id": "971", "name": "Game Play Factory createGamePlayHunterShoots should create game play hunter shoots when called.", "location": { "start": { @@ -134628,7 +134686,7 @@ } }, { - "id": "971", + "id": "972", "name": "Game Play Factory createGamePlayWitchUsesPotions should create game play witch uses potions when called.", "location": { "start": { @@ -134638,7 +134696,7 @@ } }, { - "id": "972", + "id": "973", "name": "Game Play Factory createGamePlayPiedPiperCharms should create game play pied piper charms when called.", "location": { "start": { @@ -134648,7 +134706,7 @@ } }, { - "id": "973", + "id": "974", "name": "Game Play Factory createGamePlayCupidCharms should create game play cupid charms when called.", "location": { "start": { @@ -134658,7 +134716,7 @@ } }, { - "id": "974", + "id": "975", "name": "Game Play Factory createGamePlaySeerLooks should create game play seer looks when called.", "location": { "start": { @@ -134668,7 +134726,7 @@ } }, { - "id": "975", + "id": "976", "name": "Game Play Factory createGamePlayWhiteWerewolfEats should create game play white werewolf eats when called.", "location": { "start": { @@ -134678,7 +134736,7 @@ } }, { - "id": "976", + "id": "977", "name": "Game Play Factory createGamePlayBigBadWolfEats should create game play big bad wolf eats when called.", "location": { "start": { @@ -134688,7 +134746,7 @@ } }, { - "id": "977", + "id": "978", "name": "Game Play Factory createGamePlayWerewolvesEat should create game play werewolves eat when called.", "location": { "start": { @@ -134698,7 +134756,7 @@ } }, { - "id": "978", + "id": "979", "name": "Game Play Factory createGamePlaySource should create game play source when called.", "location": { "start": { @@ -134708,7 +134766,7 @@ } }, { - "id": "979", + "id": "980", "name": "Game Play Factory createGamePlay should create game play when called.", "location": { "start": { @@ -134723,7 +134781,7 @@ "tests/unit/specs/modules/game/providers/services/game-play/game-play-vote/game-play-vote.service.spec.ts": { "tests": [ { - "id": "980", + "id": "981", "name": "Game Play Vote Service getNominatedPlayers should get nominated players when called.", "location": { "start": { @@ -134733,7 +134791,7 @@ } }, { - "id": "981", + "id": "982", "name": "Game Play Vote Service getPlayerVoteCounts should return empty array when votes are undefined.", "location": { "start": { @@ -134743,7 +134801,7 @@ } }, { - "id": "982", + "id": "983", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with only simple votes when there is no sheriff.", "location": { "start": { @@ -134753,7 +134811,7 @@ } }, { - "id": "983", + "id": "984", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with only simple votes when sheriff doesn't have double vote.", "location": { "start": { @@ -134763,7 +134821,7 @@ } }, { - "id": "984", + "id": "985", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with simple only votes when game play is not vote.", "location": { "start": { @@ -134773,7 +134831,7 @@ } }, { - "id": "985", + "id": "986", "name": "Game Play Vote Service getPlayerVoteCounts should get player vote counts with simple votes and one doubled vote when sheriff has double vote.", "location": { "start": { @@ -134783,7 +134841,7 @@ } }, { - "id": "986", + "id": "987", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when action is not vote.", "location": { "start": { @@ -134793,7 +134851,7 @@ } }, { - "id": "987", + "id": "988", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when there is no scandalmonger player in the game.", "location": { "start": { @@ -134803,7 +134861,7 @@ } }, { - "id": "988", + "id": "989", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when scandalmonger player is not alive.", "location": { "start": { @@ -134813,7 +134871,7 @@ } }, { - "id": "989", + "id": "990", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when scandalmonger player is powerless.", "location": { "start": { @@ -134823,7 +134881,7 @@ } }, { - "id": "990", + "id": "991", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when there are no scandalmonger mark.", "location": { "start": { @@ -134833,7 +134891,7 @@ } }, { - "id": "991", + "id": "992", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts as is when the scandalmonger target is dead.", "location": { "start": { @@ -134843,7 +134901,7 @@ } }, { - "id": "992", + "id": "993", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts with new player vote entry when scandalmonger target doesn't have vote.", "location": { "start": { @@ -134853,7 +134911,7 @@ } }, { - "id": "993", + "id": "994", "name": "Game Play Vote Service addScandalmongerMarkVoteToPlayerVoteCounts should return player vote counts with updated player vote entry when scandalmonger target already has votes.", "location": { "start": { @@ -134868,7 +134926,7 @@ "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.helper.spec.ts": { "tests": [ { - "id": "994", + "id": "995", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation is undefined.", "location": { "start": { @@ -134878,7 +134936,7 @@ } }, { - "id": "995", + "id": "996", "name": "Player Attribute Helper isPlayerAttributeActive should return false when activation turn is not reached yet.", "location": { "start": { @@ -134888,7 +134946,7 @@ } }, { - "id": "996", + "id": "997", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is reached (+1).", "location": { "start": { @@ -134898,7 +134956,7 @@ } }, { - "id": "997", + "id": "998", "name": "Player Attribute Helper isPlayerAttributeActive should return false when activation turn is same as game's turn but game's phase is NIGHT and activation phase is DAY.", "location": { "start": { @@ -134908,7 +134966,7 @@ } }, { - "id": "998", + "id": "999", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is same as game's turn and phase too.", "location": { "start": { @@ -134918,7 +134976,7 @@ } }, { - "id": "999", + "id": "1000", "name": "Player Attribute Helper isPlayerAttributeActive should return true when activation turn is same as game's turn, phase are different but game's phase is DAY anyway.", "location": { "start": { @@ -134928,7 +134986,7 @@ } }, { - "id": "1000", + "id": "1001", "name": "Player Attribute Helper getPlayerAttributeWithName should get attribute when player has this attribute.", "location": { "start": { @@ -134938,7 +134996,7 @@ } }, { - "id": "1001", + "id": "1002", "name": "Player Attribute Helper getPlayerAttributeWithName should return undefined when player doesn't have the attribute.", "location": { "start": { @@ -134948,7 +135006,7 @@ } }, { - "id": "1002", + "id": "1003", "name": "Player Attribute Helper doesPlayerHaveAttributeWithName should return false when player doesn't have any attributes.", "location": { "start": { @@ -134958,7 +135016,7 @@ } }, { - "id": "1003", + "id": "1004", "name": "Player Attribute Helper doesPlayerHaveAttributeWithName should return false when player doesn't have the attribute.", "location": { "start": { @@ -134968,7 +135026,7 @@ } }, { - "id": "1004", + "id": "1005", "name": "Player Attribute Helper doesPlayerHaveAttributeWithName should return true when player has the attribute.", "location": { "start": { @@ -134978,7 +135036,7 @@ } }, { - "id": "1005", + "id": "1006", "name": "Player Attribute Helper getActivePlayerAttributeWithName should return undefined when player doesn't have the attribute.", "location": { "start": { @@ -134988,7 +135046,7 @@ } }, { - "id": "1006", + "id": "1007", "name": "Player Attribute Helper getActivePlayerAttributeWithName should return undefined when player has the attribute but not active yet.", "location": { "start": { @@ -134998,7 +135056,7 @@ } }, { - "id": "1007", + "id": "1008", "name": "Player Attribute Helper getActivePlayerAttributeWithName should return the attribute when player has the attribute and is active yet.", "location": { "start": { @@ -135008,7 +135066,7 @@ } }, { - "id": "1008", + "id": "1009", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithName should return false when player doesn't have any attributes.", "location": { "start": { @@ -135018,7 +135076,7 @@ } }, { - "id": "1009", + "id": "1010", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithName should return false when player doesn't have the attribute.", "location": { "start": { @@ -135028,7 +135086,7 @@ } }, { - "id": "1010", + "id": "1011", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithName should return false when player has the attribute but not active yet.", "location": { "start": { @@ -135038,7 +135096,7 @@ } }, { - "id": "1011", + "id": "1012", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithName should return true when player has the attribute and is active yet.", "location": { "start": { @@ -135048,7 +135106,7 @@ } }, { - "id": "1012", + "id": "1013", "name": "Player Attribute Helper getPlayerAttributeWithNameAndSource should get attribute when player has this attribute.", "location": { "start": { @@ -135058,7 +135116,7 @@ } }, { - "id": "1013", + "id": "1014", "name": "Player Attribute Helper getPlayerAttributeWithNameAndSource should return undefined when player doesn't have the attribute with correct name.", "location": { "start": { @@ -135068,7 +135126,7 @@ } }, { - "id": "1014", + "id": "1015", "name": "Player Attribute Helper getPlayerAttributeWithNameAndSource should return undefined when player doesn't have the attribute with correct source.", "location": { "start": { @@ -135078,7 +135136,7 @@ } }, { - "id": "1015", + "id": "1016", "name": "Player Attribute Helper doesPlayerHaveAttributeWithNameAndSource should return false when player doesn't have any attributes.", "location": { "start": { @@ -135088,7 +135146,7 @@ } }, { - "id": "1016", + "id": "1017", "name": "Player Attribute Helper doesPlayerHaveAttributeWithNameAndSource should return false when player doesn't have the attribute with correct name.", "location": { "start": { @@ -135098,7 +135156,7 @@ } }, { - "id": "1017", + "id": "1018", "name": "Player Attribute Helper doesPlayerHaveAttributeWithNameAndSource should return false when player doesn't have the attribute with correct source.", "location": { "start": { @@ -135108,7 +135166,7 @@ } }, { - "id": "1018", + "id": "1019", "name": "Player Attribute Helper doesPlayerHaveAttributeWithNameAndSource should return true when player has the attribute.", "location": { "start": { @@ -135118,7 +135176,7 @@ } }, { - "id": "1019", + "id": "1020", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithNameAndSource should return false when player doesn't have any attributes.", "location": { "start": { @@ -135128,7 +135186,7 @@ } }, { - "id": "1020", + "id": "1021", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithNameAndSource should return false when player doesn't have the attribute with correct name.", "location": { "start": { @@ -135138,7 +135196,7 @@ } }, { - "id": "1021", + "id": "1022", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithNameAndSource should return false when player doesn't have the attribute with correct source.", "location": { "start": { @@ -135148,7 +135206,7 @@ } }, { - "id": "1022", + "id": "1023", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithNameAndSource should return false when player has the attribute but not active yet.", "location": { "start": { @@ -135158,7 +135216,7 @@ } }, { - "id": "1023", + "id": "1024", "name": "Player Attribute Helper doesPlayerHaveActiveAttributeWithNameAndSource should return true when player has the attribute and is active yet.", "location": { "start": { @@ -135173,7 +135231,7 @@ "tests/unit/specs/modules/game/helpers/player/player-attribute/player-attribute.factory.spec.ts": { "tests": [ { - "id": "1024", + "id": "1025", "name": "Player Attribute Factory createContaminatedByRustySwordKnightPlayerAttribute should create contaminated attribute by rusty sword knight when called.", "location": { "start": { @@ -135183,7 +135241,7 @@ } }, { - "id": "1025", + "id": "1026", "name": "Player Attribute Factory createGrowledByBearTamerPlayerAttribute should create growled attribute by bear tamer when called.", "location": { "start": { @@ -135193,7 +135251,7 @@ } }, { - "id": "1026", + "id": "1027", "name": "Player Attribute Factory createCharmedByPiedPiperPlayerAttribute should create charmed attribute by pied piper when called.", "location": { "start": { @@ -135203,7 +135261,7 @@ } }, { - "id": "1027", + "id": "1028", "name": "Player Attribute Factory createCantVoteBySurvivorsPlayerAttribute should create can't vote attribute by survivors when called.", "location": { "start": { @@ -135213,7 +135271,7 @@ } }, { - "id": "1028", + "id": "1029", "name": "Player Attribute Factory createCantVoteByScapegoatPlayerAttribute should create can't vote attribute by scapegoat active in next turn when game phase is day.", "location": { "start": { @@ -135223,7 +135281,7 @@ } }, { - "id": "1029", + "id": "1030", "name": "Player Attribute Factory createCantVoteByScapegoatPlayerAttribute should create can't vote attribute by scapegoat active in current turn when game phase is night.", "location": { "start": { @@ -135233,7 +135291,7 @@ } }, { - "id": "1030", + "id": "1031", "name": "Player Attribute Factory createPowerlessByWerewolvesPlayerAttribute should create powerless attribute by werewolves when called.", "location": { "start": { @@ -135243,7 +135301,7 @@ } }, { - "id": "1031", + "id": "1032", "name": "Player Attribute Factory createPowerlessByAccursedWolfFatherPlayerAttribute should create powerless attribute by accursed wolf father when called.", "location": { "start": { @@ -135253,7 +135311,7 @@ } }, { - "id": "1032", + "id": "1033", "name": "Player Attribute Factory createPowerlessByFoxPlayerAttribute should create powerless attribute by fox when called.", "location": { "start": { @@ -135263,7 +135321,7 @@ } }, { - "id": "1033", + "id": "1034", "name": "Player Attribute Factory createPowerlessByElderPlayerAttribute should create powerless attribute by elder when called.", "location": { "start": { @@ -135273,7 +135331,7 @@ } }, { - "id": "1034", + "id": "1035", "name": "Player Attribute Factory createWorshipedByWildChildPlayerAttribute should create worshiped attribute by wild child when called.", "location": { "start": { @@ -135283,7 +135341,7 @@ } }, { - "id": "1035", + "id": "1036", "name": "Player Attribute Factory createInLoveByCupidPlayerAttribute should create in love attribute by cupid when called.", "location": { "start": { @@ -135293,7 +135351,7 @@ } }, { - "id": "1036", + "id": "1037", "name": "Player Attribute Factory createScandalmongerMarkByScandalmongerPlayerAttribute should create scandalmonger-marked attribute by scandalmonger when called.", "location": { "start": { @@ -135303,7 +135361,7 @@ } }, { - "id": "1037", + "id": "1038", "name": "Player Attribute Factory createProtectedByDefenderPlayerAttribute should create protected attribute by defender when called.", "location": { "start": { @@ -135313,7 +135371,7 @@ } }, { - "id": "1038", + "id": "1039", "name": "Player Attribute Factory createDrankDeathPotionByWitchPlayerAttribute should create drank death potion attribute by witch when called.", "location": { "start": { @@ -135323,7 +135381,7 @@ } }, { - "id": "1039", + "id": "1040", "name": "Player Attribute Factory createDrankLifePotionByWitchPlayerAttribute should create drank life potion attribute by witch when called.", "location": { "start": { @@ -135333,7 +135391,7 @@ } }, { - "id": "1040", + "id": "1041", "name": "Player Attribute Factory createEatenByBigBadWolfPlayerAttribute should create eaten attribute by big bad wolf when called.", "location": { "start": { @@ -135343,7 +135401,7 @@ } }, { - "id": "1041", + "id": "1042", "name": "Player Attribute Factory createEatenByWhiteWerewolfPlayerAttribute should create eaten attribute by white werewolves when called.", "location": { "start": { @@ -135353,7 +135411,7 @@ } }, { - "id": "1042", + "id": "1043", "name": "Player Attribute Factory createEatenByWerewolvesPlayerAttribute should create eaten attribute by werewolves when called.", "location": { "start": { @@ -135363,7 +135421,7 @@ } }, { - "id": "1043", + "id": "1044", "name": "Player Attribute Factory createSeenBySeerPlayerAttribute should create seen attribute by seer when called.", "location": { "start": { @@ -135373,7 +135431,7 @@ } }, { - "id": "1044", + "id": "1045", "name": "Player Attribute Factory createSheriffBySheriffPlayerAttribute should create sheriff attribute by sheriff when called.", "location": { "start": { @@ -135383,7 +135441,7 @@ } }, { - "id": "1045", + "id": "1046", "name": "Player Attribute Factory createSheriffBySurvivorsPlayerAttribute should create sheriff attribute by survivors when called.", "location": { "start": { @@ -135393,7 +135451,7 @@ } }, { - "id": "1046", + "id": "1047", "name": "Player Attribute Factory createPlayerAttribute should create player attribute when called.", "location": { "start": { @@ -135408,7 +135466,7 @@ "tests/unit/specs/modules/game/helpers/game.mutator.spec.ts": { "tests": [ { - "id": "1047", + "id": "1048", "name": "Game Mutator updatePlayerInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -135418,7 +135476,7 @@ } }, { - "id": "1048", + "id": "1049", "name": "Game Mutator updatePlayerInGame should return game with updated player when player id found.", "location": { "start": { @@ -135428,7 +135486,7 @@ } }, { - "id": "1049", + "id": "1050", "name": "Game Mutator updatePlayerInGame should not mutate original game when called.", "location": { "start": { @@ -135438,7 +135496,7 @@ } }, { - "id": "1050", + "id": "1051", "name": "Game Mutator addPlayerAttributeInGame should return game as is when player id is not found among players.", "location": { "start": { @@ -135448,7 +135506,7 @@ } }, { - "id": "1051", + "id": "1052", "name": "Game Mutator addPlayerAttributeInGame should return game with player with new attribute when player is found.", "location": { "start": { @@ -135458,7 +135516,7 @@ } }, { - "id": "1052", + "id": "1053", "name": "Game Mutator addPlayerAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -135468,7 +135526,7 @@ } }, { - "id": "1053", + "id": "1054", "name": "Game Mutator addPlayersAttributeInGame should return game as is when player ids are not in the game.", "location": { "start": { @@ -135478,7 +135536,7 @@ } }, { - "id": "1054", + "id": "1055", "name": "Game Mutator addPlayersAttributeInGame should return game with players with new attribute when players are found.", "location": { "start": { @@ -135488,7 +135546,7 @@ } }, { - "id": "1055", + "id": "1056", "name": "Game Mutator addPlayersAttributeInGame should not mutate the original game when called.", "location": { "start": { @@ -135498,7 +135556,7 @@ } }, { - "id": "1056", + "id": "1057", "name": "Game Mutator removePlayerAttributeByNameInGame should return game as is when player is not found in game.", "location": { "start": { @@ -135508,7 +135566,7 @@ } }, { - "id": "1057", + "id": "1058", "name": "Game Mutator removePlayerAttributeByNameInGame should return game with player without his sheriff attribute when called.", "location": { "start": { @@ -135518,7 +135576,7 @@ } }, { - "id": "1058", + "id": "1059", "name": "Game Mutator removePlayerAttributeByNameInGame should not mutate the original game when called.", "location": { "start": { @@ -135528,7 +135586,7 @@ } }, { - "id": "1059", + "id": "1060", "name": "Game Mutator prependUpcomingPlayInGame should prepend play in upcoming plays when called.", "location": { "start": { @@ -135538,7 +135596,7 @@ } }, { - "id": "1060", + "id": "1061", "name": "Game Mutator prependUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -135548,7 +135606,7 @@ } }, { - "id": "1061", + "id": "1062", "name": "Game Mutator appendUpcomingPlayInGame should append play in upcoming plays when called.", "location": { "start": { @@ -135558,7 +135616,7 @@ } }, { - "id": "1062", + "id": "1063", "name": "Game Mutator appendUpcomingPlayInGame should not mutate the original game when called.", "location": { "start": { @@ -135573,7 +135631,7 @@ "tests/unit/specs/modules/game/helpers/game-victory/game-victory.factory.spec.ts": { "tests": [ { - "id": "1063", + "id": "1064", "name": "Game Victory Factory createNoneGameVictory should create a none game victory when called.", "location": { "start": { @@ -135583,7 +135641,7 @@ } }, { - "id": "1064", + "id": "1065", "name": "Game Victory Factory createAngelGameVictory should create angel game victory with winners when called with angel in game.", "location": { "start": { @@ -135593,7 +135651,7 @@ } }, { - "id": "1065", + "id": "1066", "name": "Game Victory Factory createAngelGameVictory should create angel game victory without winners when called without angel in game.", "location": { "start": { @@ -135603,7 +135661,7 @@ } }, { - "id": "1066", + "id": "1067", "name": "Game Victory Factory createLoversGameVictory should create lovers game victory when called.", "location": { "start": { @@ -135613,7 +135671,7 @@ } }, { - "id": "1067", + "id": "1068", "name": "Game Victory Factory createPiedPiperGameVictory should create pied piper game victory with winner when called with pied piper in game.", "location": { "start": { @@ -135623,7 +135681,7 @@ } }, { - "id": "1068", + "id": "1069", "name": "Game Victory Factory createPiedPiperGameVictory should create pied piper game victory without winner when called without pied piper in game.", "location": { "start": { @@ -135633,7 +135691,7 @@ } }, { - "id": "1069", + "id": "1070", "name": "Game Victory Factory createPrejudicedManipulatorGameVictory should create prejudiced manipulator game victory with winner when called with prejudiced manipulator in game.", "location": { "start": { @@ -135643,7 +135701,7 @@ } }, { - "id": "1070", + "id": "1071", "name": "Game Victory Factory createPrejudicedManipulatorGameVictory should create prejudiced manipulator game victory without winner when called without prejudiced manipulator in game.", "location": { "start": { @@ -135653,7 +135711,7 @@ } }, { - "id": "1071", + "id": "1072", "name": "Game Victory Factory createWhiteWerewolfGameVictory should create white werewolf game victory with winner when called with white werewolf in game.", "location": { "start": { @@ -135663,7 +135721,7 @@ } }, { - "id": "1072", + "id": "1073", "name": "Game Victory Factory createWhiteWerewolfGameVictory should create white werewolf game victory without winner when called without white werewolf in game.", "location": { "start": { @@ -135673,7 +135731,7 @@ } }, { - "id": "1073", + "id": "1074", "name": "Game Victory Factory createWerewolvesGameVictory should create werewolves game victory when called.", "location": { "start": { @@ -135683,7 +135741,7 @@ } }, { - "id": "1074", + "id": "1075", "name": "Game Victory Factory createVillagersGameVictory should create villagers game victory when called.", "location": { "start": { @@ -135693,7 +135751,7 @@ } }, { - "id": "1075", + "id": "1076", "name": "Game Victory Factory createGameVictory should create game victory when called.", "location": { "start": { @@ -135708,7 +135766,7 @@ "tests/unit/specs/modules/game/providers/services/player/player-attribute.service.spec.ts": { "tests": [ { - "id": "1076", + "id": "1077", "name": "Player Attribute Service applyEatenAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -135718,7 +135776,7 @@ } }, { - "id": "1077", + "id": "1078", "name": "Player Attribute Service applyDrankDeathPotionAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -135728,7 +135786,7 @@ } }, { - "id": "1078", + "id": "1079", "name": "Player Attribute Service applyContaminatedAttributeOutcomes should call killOrRevealPlayer when called.", "location": { "start": { @@ -135738,7 +135796,7 @@ } }, { - "id": "1079", + "id": "1080", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when there is no remaining phases.", "location": { "start": { @@ -135748,7 +135806,7 @@ } }, { - "id": "1080", + "id": "1081", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return attribute as is when attribute is not active yet.", "location": { "start": { @@ -135758,7 +135816,7 @@ } }, { - "id": "1081", + "id": "1082", "name": "Player Attribute Service decreaseAttributeRemainingPhase should return decreased attribute when called.", "location": { "start": { @@ -135768,7 +135826,7 @@ } }, { - "id": "1082", + "id": "1083", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player as is when he is dead.", "location": { "start": { @@ -135778,7 +135836,7 @@ } }, { - "id": "1083", + "id": "1084", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoleteAttributes should return player with one decreased attribute and other one removed when called.", "location": { "start": { @@ -135788,7 +135846,7 @@ } }, { - "id": "1084", + "id": "1085", "name": "Player Attribute Service decreaseRemainingPhasesAndRemoveObsoletePlayerAttributes should decrease and remove attributes among players when called.", "location": { "start": { @@ -135803,7 +135861,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-presence.decorator.spec.ts": { "tests": [ { - "id": "1085", + "id": "1086", "name": "Additional Cards Presence Decorator isAdditionalCardsPresenceRespected should return false when additional cards are set but there is no thief in game.", "location": { "start": { @@ -135813,7 +135871,7 @@ } }, { - "id": "1086", + "id": "1087", "name": "Additional Cards Presence Decorator isAdditionalCardsPresenceRespected should return false when additional cards are not set but there is thief in game.", "location": { "start": { @@ -135823,7 +135881,7 @@ } }, { - "id": "1087", + "id": "1088", "name": "Additional Cards Presence Decorator isAdditionalCardsPresenceRespected should return false when additional cards are not an array.", "location": { "start": { @@ -135833,7 +135891,7 @@ } }, { - "id": "1088", + "id": "1089", "name": "Additional Cards Presence Decorator isAdditionalCardsPresenceRespected should return true when additional cards are set and a thief is in the game.", "location": { "start": { @@ -135843,7 +135901,7 @@ } }, { - "id": "1089", + "id": "1090", "name": "Additional Cards Presence Decorator isAdditionalCardsPresenceRespected should return true when additional cards are not set and there is no thief is in the game.", "location": { "start": { @@ -135853,7 +135911,7 @@ } }, { - "id": "1090", + "id": "1091", "name": "Additional Cards Presence Decorator getAdditionalCardsPresenceDefaultMessage should return additional cards required presence message when they are not set.", "location": { "start": { @@ -135863,7 +135921,7 @@ } }, { - "id": "1091", + "id": "1092", "name": "Additional Cards Presence Decorator getAdditionalCardsPresenceDefaultMessage should return additional cards forbidden presence message when they are set.", "location": { "start": { @@ -135878,7 +135936,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-roles-max-in-game.decorator.spec.ts": { "tests": [ { - "id": "1092", + "id": "1093", "name": "Additional Cards Roles Max in Game Decorator areAdditionalCardsRolesMaxInGameRespected should return true when additional cards are not defined.", "location": { "start": { @@ -135888,7 +135946,7 @@ } }, { - "id": "1093", + "id": "1094", "name": "Additional Cards Roles Max in Game Decorator areAdditionalCardsRolesMaxInGameRespected should return false when game player cards are not defined.", "location": { "start": { @@ -135898,7 +135956,7 @@ } }, { - "id": "1094", + "id": "1095", "name": "Additional Cards Roles Max in Game Decorator areAdditionalCardsRolesMaxInGameRespected should return false when at least one role max in game is not respected due to additional cards only.", "location": { "start": { @@ -135908,7 +135966,7 @@ } }, { - "id": "1095", + "id": "1096", "name": "Additional Cards Roles Max in Game Decorator areAdditionalCardsRolesMaxInGameRespected should return false when at least one role max in game is not respected due to additional cards and player roles together.", "location": { "start": { @@ -135918,7 +135976,7 @@ } }, { - "id": "1096", + "id": "1097", "name": "Additional Cards Roles Max in Game Decorator areAdditionalCardsRolesMaxInGameRespected should return true when at every role max in game are respected among additional cards and player roles together.", "location": { "start": { @@ -135928,7 +135986,7 @@ } }, { - "id": "1097", + "id": "1098", "name": "Additional Cards Roles Max in Game Decorator getAdditionalCardsRolesMaxInGameDefaultMessage should return additional cards roles max in game default message when called.", "location": { "start": { @@ -135943,7 +136001,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-groups-presence.decorator.spec.ts": { "tests": [ { - "id": "1098", + "id": "1099", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when players are undefined.", "location": { "start": { @@ -135953,7 +136011,7 @@ } }, { - "id": "1099", + "id": "1100", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when players are not an array.", "location": { "start": { @@ -135963,7 +136021,7 @@ } }, { - "id": "1100", + "id": "1101", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when one of the players is not an object.", "location": { "start": { @@ -135973,7 +136031,7 @@ } }, { - "id": "1101", + "id": "1102", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when one of the players has no role.", "location": { "start": { @@ -135983,7 +136041,7 @@ } }, { - "id": "1102", + "id": "1103", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when one of the players is prejudiced manipulator but one doesn't have a group.", "location": { "start": { @@ -135993,7 +136051,7 @@ } }, { - "id": "1103", + "id": "1104", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return true when one of the players is prejudiced manipulator and all have a group.", "location": { "start": { @@ -136003,7 +136061,7 @@ } }, { - "id": "1104", + "id": "1105", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return false when there is no player with role prejudiced manipulator and one has a group.", "location": { "start": { @@ -136013,7 +136071,7 @@ } }, { - "id": "1105", + "id": "1106", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected should return true when there is no player with role prejudiced manipulator and no one has a group.", "location": { "start": { @@ -136023,7 +136081,7 @@ } }, { - "id": "1106", + "id": "1107", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected getCompositionGroupsPresenceDefaultMessage should return required players group when there is a player with role prejudiced manipulator.", "location": { "start": { @@ -136033,7 +136091,7 @@ } }, { - "id": "1107", + "id": "1108", "name": "Composition Groups Presence Decorator isCompositionGroupsExistenceRespected getCompositionGroupsPresenceDefaultMessage should return not expected players group when there is no player with role prejudiced manipulator.", "location": { "start": { @@ -136048,7 +136106,7 @@ "tests/unit/specs/modules/config/env/helpers/env.helper.spec.ts": { "tests": [ { - "id": "1108", + "id": "1109", "name": "Config Env Helper validate should return the validated config when there is no error in env variables.", "location": { "start": { @@ -136058,7 +136116,7 @@ } }, { - "id": "1109", + "id": "1110", "name": "Config Env Helper validate should return the validated config with default values when there is no error in env variables.", "location": { "start": { @@ -136068,7 +136126,7 @@ } }, { - "id": "1110", + "id": "1111", "name": "Config Env Helper validate should throw validate error when ENVIRONMENT is not defined.", "location": { "start": { @@ -136078,7 +136136,7 @@ } }, { - "id": "1111", + "id": "1112", "name": "Config Env Helper validate should throw validate error when ENVIRONMENT is not a valid enum value.", "location": { "start": { @@ -136088,7 +136146,7 @@ } }, { - "id": "1112", + "id": "1113", "name": "Config Env Helper validate should throw validate error when HOST is empty.", "location": { "start": { @@ -136098,7 +136156,7 @@ } }, { - "id": "1113", + "id": "1114", "name": "Config Env Helper validate should throw validate error when PORT is not a number.", "location": { "start": { @@ -136108,7 +136166,7 @@ } }, { - "id": "1114", + "id": "1115", "name": "Config Env Helper validate should throw validate error when PORT is less than min value.", "location": { "start": { @@ -136118,7 +136176,7 @@ } }, { - "id": "1115", + "id": "1116", "name": "Config Env Helper validate should throw validate error when PORT is greater than max value.", "location": { "start": { @@ -136128,7 +136186,7 @@ } }, { - "id": "1116", + "id": "1117", "name": "Config Env Helper validate should throw validate error when DATABASE_HOST is not defined.", "location": { "start": { @@ -136138,7 +136196,7 @@ } }, { - "id": "1117", + "id": "1118", "name": "Config Env Helper validate should throw validate error when DATABASE_HOST is empty.", "location": { "start": { @@ -136148,7 +136206,7 @@ } }, { - "id": "1118", + "id": "1119", "name": "Config Env Helper validate should throw validate error when DATABASE_PORT is not a number.", "location": { "start": { @@ -136158,7 +136216,7 @@ } }, { - "id": "1119", + "id": "1120", "name": "Config Env Helper validate should throw validate error when DATABASE_PORT is less than min value.", "location": { "start": { @@ -136168,7 +136226,7 @@ } }, { - "id": "1120", + "id": "1121", "name": "Config Env Helper validate should throw validate error when DATABASE_PORT is greater than max value.", "location": { "start": { @@ -136178,7 +136236,7 @@ } }, { - "id": "1121", + "id": "1122", "name": "Config Env Helper validate should throw validate error when DATABASE_NAME is not defined.", "location": { "start": { @@ -136188,7 +136246,7 @@ } }, { - "id": "1122", + "id": "1123", "name": "Config Env Helper validate should throw validate error when DATABASE_NAME is empty.", "location": { "start": { @@ -136198,7 +136256,7 @@ } }, { - "id": "1123", + "id": "1124", "name": "Config Env Helper validate should throw validate error when DATABASE_USERNAME is not defined.", "location": { "start": { @@ -136208,7 +136266,7 @@ } }, { - "id": "1124", + "id": "1125", "name": "Config Env Helper validate should throw validate error when DATABASE_USERNAME is empty.", "location": { "start": { @@ -136218,7 +136276,7 @@ } }, { - "id": "1125", + "id": "1126", "name": "Config Env Helper validate should throw validate error when DATABASE_PASSWORD is not defined.", "location": { "start": { @@ -136228,7 +136286,7 @@ } }, { - "id": "1126", + "id": "1127", "name": "Config Env Helper validate should throw validate error when DATABASE_PASSWORD is empty.", "location": { "start": { @@ -136238,7 +136296,7 @@ } }, { - "id": "1127", + "id": "1128", "name": "Config Env Helper getEnvPath should return default development env path when NODE_ENV is undefined.", "location": { "start": { @@ -136248,7 +136306,7 @@ } }, { - "id": "1128", + "id": "1129", "name": "Config Env Helper getEnvPath should return test env path when NODE_ENV is test.", "location": { "start": { @@ -136258,7 +136316,7 @@ } }, { - "id": "1129", + "id": "1130", "name": "Config Env Helper getEnvPaths should return default and local test env paths when function is called.", "location": { "start": { @@ -136273,7 +136331,7 @@ "tests/unit/specs/modules/game/helpers/player/player-death/player-death.factory.spec.ts": { "tests": [ { - "id": "1130", + "id": "1131", "name": "Player Death Factory createPlayerDiseaseByRustySwordKnightDeath should create player contaminated by rusty sword knight when called.", "location": { "start": { @@ -136283,7 +136341,7 @@ } }, { - "id": "1131", + "id": "1132", "name": "Player Death Factory createPlayerBrokenHeartByCupidDeath should create player broken heart by cupid when called.", "location": { "start": { @@ -136293,7 +136351,7 @@ } }, { - "id": "1132", + "id": "1133", "name": "Player Death Factory createPlayerReconsiderPardonBySurvivorsDeath should create player reconsider pardon by survivors death when called.", "location": { "start": { @@ -136303,7 +136361,7 @@ } }, { - "id": "1133", + "id": "1134", "name": "Player Death Factory createPlayerVoteScapegoatedBySurvivorsDeath should create player vote scapegoated by survivors death when called.", "location": { "start": { @@ -136313,7 +136371,7 @@ } }, { - "id": "1134", + "id": "1135", "name": "Player Death Factory createPlayerVoteBySheriffDeath should create player vote by sheriff death when called.", "location": { "start": { @@ -136323,7 +136381,7 @@ } }, { - "id": "1135", + "id": "1136", "name": "Player Death Factory createPlayerVoteBySurvivorsDeath should create player vote by survivors death when called.", "location": { "start": { @@ -136333,7 +136391,7 @@ } }, { - "id": "1136", + "id": "1137", "name": "Player Death Factory createPlayerShotByHunterDeath should create player shot by hunter death when called.", "location": { "start": { @@ -136343,7 +136401,7 @@ } }, { - "id": "1137", + "id": "1138", "name": "Player Death Factory createPlayerEatenByWhiteWerewolfDeath should create player eaten by white werewolf death when called.", "location": { "start": { @@ -136353,7 +136411,7 @@ } }, { - "id": "1138", + "id": "1139", "name": "Player Death Factory createPlayerEatenByBigBadWolfDeath should create player eaten by big bad wolf death when called.", "location": { "start": { @@ -136363,7 +136421,7 @@ } }, { - "id": "1139", + "id": "1140", "name": "Player Death Factory createPlayerEatenByWerewolvesDeath should create player eaten by werewolves death when called.", "location": { "start": { @@ -136373,7 +136431,7 @@ } }, { - "id": "1140", + "id": "1141", "name": "Player Death Factory createPlayerDeathPotionByWitchDeath should create player death potion by witch death when called.", "location": { "start": { @@ -136383,7 +136441,7 @@ } }, { - "id": "1141", + "id": "1142", "name": "Player Death Factory createPlayerDeath should create player death when called.", "location": { "start": { @@ -136398,7 +136456,7 @@ "tests/unit/specs/shared/exception/helpers/unexpected-exception.factory.spec.ts": { "tests": [ { - "id": "1142", + "id": "1143", "name": "Unexpected Exception Factory createCantFindPlayerUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -136408,7 +136466,7 @@ } }, { - "id": "1143", + "id": "1144", "name": "Unexpected Exception Factory createPlayerIsDeadUnexpectedException should create player is dead unexpected exception when called.", "location": { "start": { @@ -136418,7 +136476,7 @@ } }, { - "id": "1144", + "id": "1145", "name": "Unexpected Exception Factory createCantGenerateGamePlaysUnexpectedException should create can't generate game plays unexpected exception when called.", "location": { "start": { @@ -136428,7 +136486,7 @@ } }, { - "id": "1145", + "id": "1146", "name": "Unexpected Exception Factory createNoCurrentGamePlayUnexpectedException should create no current game play unexpected exception when called.", "location": { "start": { @@ -136438,7 +136496,7 @@ } }, { - "id": "1146", + "id": "1147", "name": "Unexpected Exception Factory createNoGamePlayPriorityUnexpectedException should create no game play priority unexpected exception when called.", "location": { "start": { @@ -136448,7 +136506,7 @@ } }, { - "id": "1147", + "id": "1148", "name": "Unexpected Exception Factory createMalformedCurrentGamePlayUnexpectedException should create malformed current game play unexpected exception when called.", "location": { "start": { @@ -136458,7 +136516,7 @@ } }, { - "id": "1148", + "id": "1149", "name": "Unexpected Exception Factory createCantFindLastNominatedPlayersUnexpectedException should create can't find last nominated players unexpected exception when called.", "location": { "start": { @@ -136473,7 +136531,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-positions-consistency.decorator.spec.ts": { "tests": [ { - "id": "1149", + "id": "1150", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are undefined.", "location": { "start": { @@ -136483,7 +136541,7 @@ } }, { - "id": "1150", + "id": "1151", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when players are not an array.", "location": { "start": { @@ -136493,7 +136551,7 @@ } }, { - "id": "1151", + "id": "1152", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when one of the players is not an object.", "location": { "start": { @@ -136503,7 +136561,7 @@ } }, { - "id": "1152", + "id": "1153", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when there is no position set in composition.", "location": { "start": { @@ -136513,7 +136571,7 @@ } }, { - "id": "1153", + "id": "1154", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one position set in composition but not the others.", "location": { "start": { @@ -136523,7 +136581,7 @@ } }, { - "id": "1154", + "id": "1155", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is twice the same position in composition.", "location": { "start": { @@ -136533,7 +136591,7 @@ } }, { - "id": "1155", + "id": "1156", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when positions sequence starts at 1.", "location": { "start": { @@ -136543,7 +136601,7 @@ } }, { - "id": "1156", + "id": "1157", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return false when there is one too high position in composition.", "location": { "start": { @@ -136553,7 +136611,7 @@ } }, { - "id": "1157", + "id": "1158", "name": "Composition Positions Consistency Decorator doesCompositionHaveConsistentPositions should return true when all positions are sequence in composition.", "location": { "start": { @@ -136563,7 +136621,7 @@ } }, { - "id": "1158", + "id": "1159", "name": "Composition Positions Consistency Decorator getCompositionPositionsConsistencyDefaultMessage should return default message when called.", "location": { "start": { @@ -136578,7 +136636,7 @@ "tests/unit/specs/modules/config/database/helpers/database.helper.spec.ts": { "tests": [ { - "id": "1159", + "id": "1160", "name": "Database Helper getDatabasePort should return undefined when port in env is undefined.", "location": { "start": { @@ -136588,7 +136646,7 @@ } }, { - "id": "1160", + "id": "1161", "name": "Database Helper getDatabasePort should return port without modifying it when port in env is defined and JEST_WORKER_ID and CUCUMBER_WORKER_ID are undefined.", "location": { "start": { @@ -136598,7 +136656,7 @@ } }, { - "id": "1161", + "id": "1162", "name": "Database Helper getDatabasePort should return port with worker id multiplier when port in env is defined and JEST_WORKER_ID is defined.", "location": { "start": { @@ -136608,7 +136666,7 @@ } }, { - "id": "1162", + "id": "1163", "name": "Database Helper getDatabasePort should return port with worker id multiplier when port in env is defined and CUCUMBER_WORKER_ID is defined.", "location": { "start": { @@ -136618,7 +136676,7 @@ } }, { - "id": "1163", + "id": "1164", "name": "Database Helper mongooseModuleFactory should return connection string for local address when called with port.", "location": { "start": { @@ -136628,7 +136686,7 @@ } }, { - "id": "1164", + "id": "1165", "name": "Database Helper mongooseModuleFactory should return connection string for remote address when called without port.", "location": { "start": { @@ -136643,7 +136701,7 @@ "tests/unit/specs/server/server.spec.ts": { "tests": [ { - "id": "1165", + "id": "1166", "name": "Server bootstrap should create FastifyAdapter with default fastify server options when called.", "location": { "start": { @@ -136653,7 +136711,7 @@ } }, { - "id": "1166", + "id": "1167", "name": "Server bootstrap should call listen with specific port when port is in process.env.PORT.", "location": { "start": { @@ -136663,7 +136721,7 @@ } }, { - "id": "1167", + "id": "1168", "name": "Server bootstrap should call listen with the default port when no port is provided.", "location": { "start": { @@ -136673,7 +136731,7 @@ } }, { - "id": "1168", + "id": "1169", "name": "Server bootstrap should call listen with specific host when host is in process.env.HOST.", "location": { "start": { @@ -136683,7 +136741,7 @@ } }, { - "id": "1169", + "id": "1170", "name": "Server bootstrap should call listen with the default host when no host is provided.", "location": { "start": { @@ -136693,7 +136751,7 @@ } }, { - "id": "1170", + "id": "1171", "name": "Server bootstrap should add validation pipe with transform when Validation Pipe constructor is called.", "location": { "start": { @@ -136703,7 +136761,7 @@ } }, { - "id": "1171", + "id": "1172", "name": "Server bootstrap should serve public directory when called.", "location": { "start": { @@ -136713,7 +136771,7 @@ } }, { - "id": "1172", + "id": "1173", "name": "Server bootstrap should print server and docs address with specific port when port is provided.", "location": { "start": { @@ -136728,7 +136786,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-has-two-groups-with-prejudiced-manipulator.decorator.spec.ts": { "tests": [ { - "id": "1173", + "id": "1174", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when players are undefined.", "location": { "start": { @@ -136738,7 +136796,7 @@ } }, { - "id": "1174", + "id": "1175", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when players are not an array.", "location": { "start": { @@ -136748,7 +136806,7 @@ } }, { - "id": "1175", + "id": "1176", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when one of the players is not an object.", "location": { "start": { @@ -136758,7 +136816,7 @@ } }, { - "id": "1176", + "id": "1177", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when one of the players has no role.", "location": { "start": { @@ -136768,7 +136826,7 @@ } }, { - "id": "1177", + "id": "1178", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return true when nobody is the prejudiced manipulator.", "location": { "start": { @@ -136778,7 +136836,7 @@ } }, { - "id": "1178", + "id": "1179", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when one player is the prejudiced manipulator and there is only one group.", "location": { "start": { @@ -136788,7 +136846,7 @@ } }, { - "id": "1179", + "id": "1180", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return false when one player is the prejudiced manipulator and there is more than two groups.", "location": { "start": { @@ -136798,7 +136856,7 @@ } }, { - "id": "1180", + "id": "1181", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator doesCompositionHasTwoGroupsWithPrejudicedManipulator should return true when one player is the prejudiced manipulator and there are two groups.", "location": { "start": { @@ -136808,7 +136866,7 @@ } }, { - "id": "1181", + "id": "1182", "name": "Composition Has Two Groups With Prejudiced Manipulator Decorator getCompositionHasTwoGroupsWithPrejudicedManipulatorDefaultMessage should return the default message when called.", "location": { "start": { @@ -136823,7 +136881,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-roles-min-in-game.decorator.spec.ts": { "tests": [ { - "id": "1182", + "id": "1183", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are undefined.", "location": { "start": { @@ -136833,7 +136891,7 @@ } }, { - "id": "1183", + "id": "1184", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when players are not an array.", "location": { "start": { @@ -136843,7 +136901,7 @@ } }, { - "id": "1184", + "id": "1185", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -136853,7 +136911,7 @@ } }, { - "id": "1185", + "id": "1186", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -136863,7 +136921,7 @@ } }, { - "id": "1186", + "id": "1187", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return false when there is only 1 player with a role which min in game is 2.", "location": { "start": { @@ -136873,7 +136931,7 @@ } }, { - "id": "1187", + "id": "1188", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when players are empty.", "location": { "start": { @@ -136883,7 +136941,7 @@ } }, { - "id": "1188", + "id": "1189", "name": "Composition Roles Min In Game Decorator areCompositionRolesMinInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -136893,7 +136951,7 @@ } }, { - "id": "1189", + "id": "1190", "name": "Composition Roles Min In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -136908,7 +136966,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.spec.ts": { "tests": [ { - "id": "1190", + "id": "1191", "name": "Additional Cards For Thief Size Decorator isAdditionalCardsForThiefSizeRespected should return true when cards are not defined.", "location": { "start": { @@ -136918,7 +136976,7 @@ } }, { - "id": "1191", + "id": "1192", "name": "Additional Cards For Thief Size Decorator isAdditionalCardsForThiefSizeRespected should return false when cards are not an array.", "location": { "start": { @@ -136928,7 +136986,7 @@ } }, { - "id": "1192", + "id": "1193", "name": "Additional Cards For Thief Size Decorator isAdditionalCardsForThiefSizeRespected should return false when cards size doesn't respect the options.", "location": { "start": { @@ -136938,7 +136996,7 @@ } }, { - "id": "1193", + "id": "1194", "name": "Additional Cards For Thief Size Decorator isAdditionalCardsForThiefSizeRespected should return true when cards size doesn't respect the options.", "location": { "start": { @@ -136948,7 +137006,7 @@ } }, { - "id": "1194", + "id": "1195", "name": "Additional Cards For Thief Size Decorator getAdditionalCardsForThiefSizeDefaultMessage should default decorator message when called.", "location": { "start": { @@ -136963,7 +137021,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-roles-max-in-game.decorator.spec.ts": { "tests": [ { - "id": "1195", + "id": "1196", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are undefined.", "location": { "start": { @@ -136973,7 +137031,7 @@ } }, { - "id": "1196", + "id": "1197", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when players are not an array.", "location": { "start": { @@ -136983,7 +137041,7 @@ } }, { - "id": "1197", + "id": "1198", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players is not an object.", "location": { "start": { @@ -136993,7 +137051,7 @@ } }, { - "id": "1198", + "id": "1199", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -137003,7 +137061,7 @@ } }, { - "id": "1199", + "id": "1200", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return false when there is 2 players with the same role but max in game is 1.", "location": { "start": { @@ -137013,7 +137071,7 @@ } }, { - "id": "1200", + "id": "1201", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when players are empty.", "location": { "start": { @@ -137023,7 +137081,7 @@ } }, { - "id": "1201", + "id": "1202", "name": "Composition Roles Max In Game Decorator areCompositionRolesMaxInGameRespected should return true when the limit for each role is respected.", "location": { "start": { @@ -137033,7 +137091,7 @@ } }, { - "id": "1202", + "id": "1203", "name": "Composition Roles Max In Game Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -137048,7 +137106,7 @@ "tests/unit/specs/server/swagger/swagger.spec.ts": { "tests": [ { - "id": "1203", + "id": "1204", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with known version.", "location": { "start": { @@ -137058,7 +137116,7 @@ } }, { - "id": "1204", + "id": "1205", "name": "Server Swagger createSwaggerDocument should call document builder methods when function is called with unknown version.", "location": { "start": { @@ -137068,7 +137126,7 @@ } }, { - "id": "1205", + "id": "1206", "name": "Server Swagger createSwaggerDocument should call createDocument and setup functions when function is called.", "location": { "start": { @@ -137083,7 +137141,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-has-villager.decorator.spec.ts": { "tests": [ { - "id": "1206", + "id": "1207", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are undefined.", "location": { "start": { @@ -137093,7 +137151,7 @@ } }, { - "id": "1207", + "id": "1208", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are not an array.", "location": { "start": { @@ -137103,7 +137161,7 @@ } }, { - "id": "1208", + "id": "1209", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players is not an object.", "location": { "start": { @@ -137113,7 +137171,7 @@ } }, { - "id": "1209", + "id": "1210", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -137123,7 +137181,7 @@ } }, { - "id": "1210", + "id": "1211", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when composition is full of werewolves.", "location": { "start": { @@ -137133,7 +137191,7 @@ } }, { - "id": "1211", + "id": "1212", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return false when players are empty.", "location": { "start": { @@ -137143,7 +137201,7 @@ } }, { - "id": "1212", + "id": "1213", "name": "Composition Has Villager Decorator doesCompositionHaveAtLeastOneVillager should return true when there is at least one villager in composition.", "location": { "start": { @@ -137153,7 +137211,7 @@ } }, { - "id": "1213", + "id": "1214", "name": "Composition Has Villager Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -137168,7 +137226,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-has-werewolf.decorator.spec.ts": { "tests": [ { - "id": "1214", + "id": "1215", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are undefined.", "location": { "start": { @@ -137178,7 +137236,7 @@ } }, { - "id": "1215", + "id": "1216", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are not an array.", "location": { "start": { @@ -137188,7 +137246,7 @@ } }, { - "id": "1216", + "id": "1217", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players is not an object.", "location": { "start": { @@ -137198,7 +137256,7 @@ } }, { - "id": "1217", + "id": "1218", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when one of the players doesn't have the good structure.", "location": { "start": { @@ -137208,7 +137266,7 @@ } }, { - "id": "1218", + "id": "1219", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when composition is full of villagers.", "location": { "start": { @@ -137218,7 +137276,7 @@ } }, { - "id": "1219", + "id": "1220", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return false when players are empty.", "location": { "start": { @@ -137228,7 +137286,7 @@ } }, { - "id": "1220", + "id": "1221", "name": "Composition Has Werewolf Decorator doesCompositionHaveAtLeastOneWerewolf should return true when there is at least one werewolf in composition.", "location": { "start": { @@ -137238,7 +137296,7 @@ } }, { - "id": "1221", + "id": "1222", "name": "Composition Has Werewolf Decorator playersRoleLimitDefaultMessage should return default message when called.", "location": { "start": { @@ -137253,7 +137311,7 @@ "tests/unit/specs/modules/game/helpers/player/player.helper.spec.ts": { "tests": [ { - "id": "1222", + "id": "1223", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is dead.", "location": { "start": { @@ -137263,7 +137321,7 @@ } }, { - "id": "1223", + "id": "1224", "name": "Player Helper isPlayerAliveAndPowerful should return false when player is powerless.", "location": { "start": { @@ -137273,7 +137331,7 @@ } }, { - "id": "1224", + "id": "1225", "name": "Player Helper isPlayerAliveAndPowerful should return true when player is alive and powerful.", "location": { "start": { @@ -137283,7 +137341,7 @@ } }, { - "id": "1225", + "id": "1226", "name": "Player Helper isPlayerOnWerewolvesSide should return false when player is on villagers side.", "location": { "start": { @@ -137293,7 +137351,7 @@ } }, { - "id": "1226", + "id": "1227", "name": "Player Helper isPlayerOnWerewolvesSide should return true when player is on werewolves side.", "location": { "start": { @@ -137303,7 +137361,7 @@ } }, { - "id": "1227", + "id": "1228", "name": "Player Helper isPlayerOnVillagersSide should return true when player is on villagers side.", "location": { "start": { @@ -137313,7 +137371,7 @@ } }, { - "id": "1228", + "id": "1229", "name": "Player Helper isPlayerOnVillagersSide should return false when player is on werewolves side.", "location": { "start": { @@ -137328,7 +137386,7 @@ "tests/unit/specs/modules/role/helpers/role.helper.spec.ts": { "tests": [ { - "id": "1229", + "id": "1230", "name": "Role Helper getRolesWithSide should get all werewolf roles when werewolf side is provided.", "location": { "start": { @@ -137338,7 +137396,7 @@ } }, { - "id": "1230", + "id": "1231", "name": "Role Helper getRolesWithSide should get all villagers roles when villager side is provided.", "location": { "start": { @@ -137353,7 +137411,7 @@ "tests/unit/specs/modules/game/controllers/pipes/get-game-by-id.pipe.spec.ts": { "tests": [ { - "id": "1231", + "id": "1232", "name": "Get Game By Id Pipe transform should throw error when value is not a valid object id.", "location": { "start": { @@ -137363,7 +137421,7 @@ } }, { - "id": "1232", + "id": "1233", "name": "Get Game By Id Pipe transform should throw error when game is not found.", "location": { "start": { @@ -137373,7 +137431,7 @@ } }, { - "id": "1233", + "id": "1234", "name": "Get Game By Id Pipe transform should return existing game when game is found.", "location": { "start": { @@ -137388,7 +137446,7 @@ "tests/unit/specs/shared/validation/transformers/validation.transformer.spec.ts": { "tests": [ { - "id": "1234", + "id": "1235", "name": "Validation Transformer toBoolean should return true when input is true as string.", "location": { "start": { @@ -137398,7 +137456,7 @@ } }, { - "id": "1235", + "id": "1236", "name": "Validation Transformer toBoolean should return false when input is false as string.", "location": { "start": { @@ -137408,7 +137466,7 @@ } }, { - "id": "1236", + "id": "1237", "name": "Validation Transformer toBoolean should return false2 when input is true as false2.", "location": { "start": { @@ -137418,7 +137476,7 @@ } }, { - "id": "1237", + "id": "1238", "name": "Validation Transformer toBoolean should return true when input is true.", "location": { "start": { @@ -137428,7 +137486,7 @@ } }, { - "id": "1238", + "id": "1239", "name": "Validation Transformer toBoolean should return false when input is false.", "location": { "start": { @@ -137438,7 +137496,7 @@ } }, { - "id": "1239", + "id": "1240", "name": "Validation Transformer toBoolean should return 0 when input is 0.", "location": { "start": { @@ -137448,7 +137506,7 @@ } }, { - "id": "1240", + "id": "1241", "name": "Validation Transformer toBoolean should return 1 when input is 1.", "location": { "start": { @@ -137458,7 +137516,7 @@ } }, { - "id": "1241", + "id": "1242", "name": "Validation Transformer toObjectId should return undefined when input is null.", "location": { "start": { @@ -137468,7 +137526,7 @@ } }, { - "id": "1242", + "id": "1243", "name": "Validation Transformer toObjectId should return undefined when input is malformed.", "location": { "start": { @@ -137478,7 +137536,7 @@ } }, { - "id": "1243", + "id": "1244", "name": "Validation Transformer toObjectId should return null when input id is null.", "location": { "start": { @@ -137488,7 +137546,7 @@ } }, { - "id": "1244", + "id": "1245", "name": "Validation Transformer toObjectId should return objectId when input id is valid objectId.", "location": { "start": { @@ -137503,7 +137561,7 @@ "tests/unit/specs/modules/game/dto/base/transformers/game-players-position.transformer.spec.ts": { "tests": [ { - "id": "1245", + "id": "1246", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when value is not an array.", "location": { "start": { @@ -137513,7 +137571,7 @@ } }, { - "id": "1246", + "id": "1247", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return same value when one value of the array is not object.", "location": { "start": { @@ -137523,7 +137581,7 @@ } }, { - "id": "1247", + "id": "1248", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when every position is set.", "location": { "start": { @@ -137533,7 +137591,7 @@ } }, { - "id": "1248", + "id": "1249", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players as is when at least one position is not set.", "location": { "start": { @@ -137543,7 +137601,7 @@ } }, { - "id": "1249", + "id": "1250", "name": "Game Players Position Transformer gamePlayersPositionTransformer should return players with sequential position when no positions are set.", "location": { "start": { @@ -137558,7 +137616,7 @@ "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-side.transformer.spec.ts": { "tests": [ { - "id": "1250", + "id": "1251", "name": "Player Side Transformer playerSideTransformer should return null when value is null.", "location": { "start": { @@ -137568,7 +137626,7 @@ } }, { - "id": "1251", + "id": "1252", "name": "Player Side Transformer playerSideTransformer should return same value when value is not an object.", "location": { "start": { @@ -137578,7 +137636,7 @@ } }, { - "id": "1252", + "id": "1253", "name": "Player Side Transformer playerSideTransformer should return same value when obj is not an object.", "location": { "start": { @@ -137588,7 +137646,7 @@ } }, { - "id": "1253", + "id": "1254", "name": "Player Side Transformer playerSideTransformer should return same value when obj doesn't have the role.name field.", "location": { "start": { @@ -137598,7 +137656,7 @@ } }, { - "id": "1254", + "id": "1255", "name": "Player Side Transformer playerSideTransformer should return same value when role is unknown.", "location": { "start": { @@ -137608,7 +137666,7 @@ } }, { - "id": "1255", + "id": "1256", "name": "Player Side Transformer playerSideTransformer should fill player side with werewolf data when role is white werewolf.", "location": { "start": { @@ -137618,7 +137676,7 @@ } }, { - "id": "1256", + "id": "1257", "name": "Player Side Transformer playerSideTransformer should fill player side with villager data when role is witch.", "location": { "start": { @@ -137633,7 +137691,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/additional-cards/additional-cards-for-thief-roles.decorator.spec.ts": { "tests": [ { - "id": "1257", + "id": "1258", "name": "Additional Cards For Thief Roles Decorator areAdditionalCardsForThiefRolesRespected should return true when additional cards are not defined.", "location": { "start": { @@ -137643,7 +137701,7 @@ } }, { - "id": "1258", + "id": "1259", "name": "Additional Cards For Thief Roles Decorator areAdditionalCardsForThiefRolesRespected should return false when at least one additional card role is not for thief.", "location": { "start": { @@ -137653,7 +137711,7 @@ } }, { - "id": "1259", + "id": "1260", "name": "Additional Cards For Thief Roles Decorator areAdditionalCardsForThiefRolesRespected should return true when all additional cards roles are for thief.", "location": { "start": { @@ -137663,7 +137721,7 @@ } }, { - "id": "1260", + "id": "1261", "name": "Additional Cards For Thief Roles Decorator getAdditionalCardsForThiefRolesDefaultMessage should return additional cards for thief roles default message when called.", "location": { "start": { @@ -137678,7 +137736,7 @@ "tests/unit/specs/shared/api/helpers/api.helper.spec.ts": { "tests": [ { - "id": "1261", + "id": "1262", "name": "API Helper getResourceSingularForm should return game when called with games", "location": { "start": { @@ -137688,7 +137746,7 @@ } }, { - "id": "1262", + "id": "1263", "name": "API Helper getResourceSingularForm should return player when called with players", "location": { "start": { @@ -137698,7 +137756,7 @@ } }, { - "id": "1263", + "id": "1264", "name": "API Helper getResourceSingularForm should return additional card when called with game-additional-cards", "location": { "start": { @@ -137708,7 +137766,7 @@ } }, { - "id": "1264", + "id": "1265", "name": "API Helper getResourceSingularForm should return role when called with roles", "location": { "start": { @@ -137718,7 +137776,7 @@ } }, { - "id": "1265", + "id": "1266", "name": "API Helper getResourceSingularForm should return health when called with health", "location": { "start": { @@ -137728,7 +137786,7 @@ } }, { - "id": "1266", + "id": "1267", "name": "API Helper convertMongoosePropOptionsToApiPropertyOptions should convert mongoose prop options to api property options when called.", "location": { "start": { @@ -137743,7 +137801,7 @@ "tests/unit/specs/modules/game/dto/base/game-player/transformers/player-role.transformer.spec.ts": { "tests": [ { - "id": "1267", + "id": "1268", "name": "Player Role Transformer playerRoleTransformer should return null when value is null.", "location": { "start": { @@ -137753,7 +137811,7 @@ } }, { - "id": "1268", + "id": "1269", "name": "Player Role Transformer playerRoleTransformer should return same value when value is not an object.", "location": { "start": { @@ -137763,7 +137821,7 @@ } }, { - "id": "1269", + "id": "1270", "name": "Player Role Transformer playerRoleTransformer should return same value when value doesn't have the name field.", "location": { "start": { @@ -137773,7 +137831,7 @@ } }, { - "id": "1270", + "id": "1271", "name": "Player Role Transformer playerRoleTransformer should return same value when role is unknown.", "location": { "start": { @@ -137783,7 +137841,7 @@ } }, { - "id": "1271", + "id": "1272", "name": "Player Role Transformer playerRoleTransformer should fill player role (seer) fields when called.", "location": { "start": { @@ -137793,7 +137851,7 @@ } }, { - "id": "1272", + "id": "1273", "name": "Player Role Transformer playerRoleTransformer should fill player role (white-werewolf) fields when called.", "location": { "start": { @@ -137803,7 +137861,7 @@ } }, { - "id": "1273", + "id": "1274", "name": "Player Role Transformer playerRoleTransformer should fill player role fields with isRevealed true when role is villager villager.", "location": { "start": { @@ -137818,7 +137876,7 @@ "tests/unit/specs/shared/api/pipes/validate-mongo-id.pipe.spec.ts": { "tests": [ { - "id": "1274", + "id": "1275", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (string).", "location": { "start": { @@ -137828,7 +137886,7 @@ } }, { - "id": "1275", + "id": "1276", "name": "Validate MongoId Pipe transform should return the value as ObjectId when value is a correct MongoId (objectId).", "location": { "start": { @@ -137838,7 +137896,7 @@ } }, { - "id": "1276", + "id": "1277", "name": "Validate MongoId Pipe transform should throw an error when value is a incorrect string MongoId.", "location": { "start": { @@ -137848,7 +137906,7 @@ } }, { - "id": "1277", + "id": "1278", "name": "Validate MongoId Pipe transform should throw an error when value is null.", "location": { "start": { @@ -137863,7 +137921,7 @@ "tests/unit/specs/modules/game/helpers/player/player.factory.spec.ts": { "tests": [ { - "id": "1278", + "id": "1279", "name": "Player Factory createPlayer should create a player when called.", "location": { "start": { @@ -137873,7 +137931,7 @@ } }, { - "id": "1279", + "id": "1280", "name": "Player Factory createPlayer should create a player without extraneous properties when called.", "location": { "start": { @@ -137888,7 +137946,7 @@ "tests/unit/specs/modules/game/helpers/game.factory.spec.ts": { "tests": [ { - "id": "1280", + "id": "1281", "name": "Game Factory createGame should create a game when called.", "location": { "start": { @@ -137903,7 +137961,7 @@ "tests/unit/specs/shared/exception/types/unexpected-exception.type.spec.ts": { "tests": [ { - "id": "1281", + "id": "1282", "name": "Unexpected exception type getResponse should get response with description without interpolations when interpolations are not necessary.", "location": { "start": { @@ -137913,7 +137971,7 @@ } }, { - "id": "1282", + "id": "1283", "name": "Unexpected exception type getResponse should get response with description with interpolations when interpolations necessary.", "location": { "start": { @@ -137928,7 +137986,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets.factory.spec.ts": { "tests": [ { - "id": "1283", + "id": "1284", "name": "Game Play Eligible Targets Factory createGamePlayEligibleTargets should create game play eligible targets when called.", "location": { "start": { @@ -137943,7 +138001,7 @@ "tests/unit/specs/shared/exception/types/resource-not-found-exception.type.spec.ts": { "tests": [ { - "id": "1284", + "id": "1285", "name": "Resource not found exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -137953,7 +138011,7 @@ } }, { - "id": "1285", + "id": "1286", "name": "Resource not found exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -137968,7 +138026,7 @@ "tests/unit/specs/shared/exception/types/bad-resource-mutation-exception.type.spec.ts": { "tests": [ { - "id": "1286", + "id": "1287", "name": "Resource not found mutation exception type getResponse should get response without description when called without reason.", "location": { "start": { @@ -137978,7 +138036,7 @@ } }, { - "id": "1287", + "id": "1288", "name": "Resource not found mutation exception type getResponse should get response with description when called with reason.", "location": { "start": { @@ -137993,7 +138051,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play-eligible-targets/interactable-player/interactable-player.factory.spec.ts": { "tests": [ { - "id": "1288", + "id": "1289", "name": "Interactable Player Factory createInteractablePlayer should create interactable player when called.", "location": { "start": { @@ -138008,7 +138066,7 @@ "tests/unit/specs/modules/game/helpers/game-play/game-play-eligible-targets/game-play-eligible-targets-boundaries/game-play-eligible-targets-boundaries.factory.spec.ts": { "tests": [ { - "id": "1289", + "id": "1290", "name": "Game Play Eligible Targets Boundaries Factory createGamePlayEligibleTargetsBoundaries should create game play eligible targets boundaries when called.", "location": { "start": { @@ -138023,7 +138081,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-not-found-response.decorator.spec.ts": { "tests": [ { - "id": "1290", + "id": "1291", "name": "Api Game Not Found Response Decorator ApiGameNotFoundResponse should call api not found response function with default values when called without specific options.", "location": { "start": { @@ -138033,7 +138091,7 @@ } }, { - "id": "1291", + "id": "1292", "name": "Api Game Not Found Response Decorator ApiGameNotFoundResponse should call api not found response function with other values when called with specific options.", "location": { "start": { @@ -138048,7 +138106,7 @@ "tests/unit/specs/modules/game/controllers/decorators/api-game-id-param.decorator.spec.ts": { "tests": [ { - "id": "1292", + "id": "1293", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with default values when called without specific options.", "location": { "start": { @@ -138058,7 +138116,7 @@ } }, { - "id": "1293", + "id": "1294", "name": "Api Game Id Param Decorator ApiGameIdParam should call api param function with other values when called with specific options.", "location": { "start": { @@ -138073,7 +138131,7 @@ "tests/unit/specs/shared/validation/helpers/validation.helper.spec.ts": { "tests": [ { - "id": "1294", + "id": "1295", "name": "Validation Helper doesArrayRespectBounds should return true when no bounds are provided.", "location": { "start": { @@ -138083,7 +138141,7 @@ } }, { - "id": "1295", + "id": "1296", "name": "Validation Helper doesArrayRespectBounds should return false when min bound is not respected.", "location": { "start": { @@ -138093,7 +138151,7 @@ } }, { - "id": "1296", + "id": "1297", "name": "Validation Helper doesArrayRespectBounds should return false when max bound is not respected.", "location": { "start": { @@ -138103,7 +138161,7 @@ } }, { - "id": "1297", + "id": "1298", "name": "Validation Helper doesArrayRespectBounds should return false when min and max bounds are respected.", "location": { "start": { @@ -138118,7 +138176,7 @@ "tests/unit/specs/modules/role/constants/role.constant.spec.ts": { "tests": [ { - "id": "1298", + "id": "1299", "name": "Role Constant werewolvesRoles should contain only roles with side 'werewolves' when called.", "location": { "start": { @@ -138128,7 +138186,7 @@ } }, { - "id": "1299", + "id": "1300", "name": "Role Constant villagerRoles should contain only roles with side 'villagers' when called.", "location": { "start": { @@ -138138,7 +138196,7 @@ } }, { - "id": "1300", + "id": "1301", "name": "Role Constant roles should contain all roles when called.", "location": { "start": { @@ -138153,7 +138211,7 @@ "tests/e2e/specs/modules/health/controllers/health.controller.e2e-spec.ts": { "tests": [ { - "id": "1301", + "id": "1302", "name": "Health Controller GET /health should return app health when route is called.", "location": { "start": { @@ -138168,7 +138226,7 @@ "tests/unit/specs/modules/game/dto/base/decorators/composition/composition-unique-names.decorator.spec.ts": { "tests": [ { - "id": "1302", + "id": "1303", "name": "Composition Unique Names Decorator getPlayerName should return null when value is null.", "location": { "start": { @@ -138178,7 +138236,7 @@ } }, { - "id": "1303", + "id": "1304", "name": "Composition Unique Names Decorator getPlayerName should return same value when value is not an object.", "location": { "start": { @@ -138188,7 +138246,7 @@ } }, { - "id": "1304", + "id": "1305", "name": "Composition Unique Names Decorator getPlayerName should return same value when value doesn't have name field.", "location": { "start": { @@ -138198,7 +138256,7 @@ } }, { - "id": "1305", + "id": "1306", "name": "Composition Unique Names Decorator getPlayerName should return name when called.", "location": { "start": { @@ -138213,7 +138271,7 @@ "tests/e2e/specs/modules/role/controllers/role.controller.e2e-spec.ts": { "tests": [ { - "id": "1306", + "id": "1307", "name": "Role Controller GET /roles should return roles when route is called.", "location": { "start": { @@ -138228,7 +138286,7 @@ "tests/unit/specs/modules/game/helpers/game-history/game-history-record.mapper.spec.ts": { "tests": [ { - "id": "1307", + "id": "1308", "name": "Game History Record Mapper convertGetGameHistoryDtoToMongooseQueryOptions should convert GetGameHistoryDto to MongooseQueryOptions when called.", "location": { "start": { @@ -138243,7 +138301,7 @@ "tests/unit/specs/shared/exception/types/bad-game-play-payload-exception.type.spec.ts": { "tests": [ { - "id": "1308", + "id": "1309", "name": "Bad game play payload exception type getResponse should get response when called.", "location": { "start": { @@ -138258,7 +138316,7 @@ "tests/unit/specs/shared/mongoose/mongoose.helper.spec.ts": { "tests": [ { - "id": "1309", + "id": "1310", "name": "Mongoose Helper getMongooseSortValueFromApiSortOrder should return 1 when order is ASC.", "location": { "start": { @@ -138268,7 +138326,7 @@ } }, { - "id": "1310", + "id": "1311", "name": "Mongoose Helper getMongooseSortValueFromApiSortOrder should return -1 when order is DESC.", "location": { "start": { @@ -138283,7 +138341,7 @@ "tests/unit/specs/modules/role/helpers/role.factory.spec.ts": { "tests": [ { - "id": "1311", + "id": "1312", "name": "Role Factory createRole should create a role when called.", "location": { "start": { @@ -138298,7 +138356,7 @@ "tests/unit/specs/shared/misc/helpers/object.helper.spec.ts": { "tests": [ { - "id": "1312", + "id": "1313", "name": "Object Helper toJSON should convert to plain object when called with object.", "location": { "start": { @@ -138308,7 +138366,7 @@ } }, { - "id": "1313", + "id": "1314", "name": "Object Helper toJSON should convert to plain object when called with array of objects.", "location": { "start": { @@ -138323,7 +138381,7 @@ "tests/unit/specs/modules/game/helpers/game-phase/game-phase.helper.spec.ts": { "tests": [ { - "id": "1314", + "id": "1315", "name": "Game Phase Helper isGamePhaseOver should return false when the phase is not over.", "location": { "start": { @@ -138333,7 +138391,7 @@ } }, { - "id": "1315", + "id": "1316", "name": "Game Phase Helper isGamePhaseOver should return true when the phase is over.", "location": { "start": { @@ -138348,7 +138406,7 @@ "tests/e2e/specs/app.controller.e2e-spec.ts": { "tests": [ { - "id": "1316", + "id": "1317", "name": "App Controller GET / should return status code 204 when route is called.", "location": { "start": { @@ -138363,7 +138421,7 @@ "tests/unit/specs/server/helpers/server.helper.spec.ts": { "tests": [ { - "id": "1317", + "id": "1318", "name": "Server Helper queryStringParser should call qs parse method with specific options when called.", "location": { "start": { @@ -138378,7 +138436,7 @@ "tests/unit/specs/server/constants/server.constant.spec.ts": { "tests": [ { - "id": "1318", + "id": "1319", "name": "Server Constant fastifyServerDefaultOptions should get fastify server default options when called.", "location": { "start": { diff --git a/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts b/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts index 7f11f9f41..9d1f4f111 100644 --- a/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts +++ b/tests/unit/specs/modules/game/providers/services/game-play/game-play-maker.service.spec.ts @@ -20,7 +20,7 @@ import { createFakeMakeGamePlayVoteWithRelationsDto } from "@tests/factories/gam import { createFakeMakeGamePlayWithRelationsDto } from "@tests/factories/game/dto/make-game-play/make-game-play-with-relations/make-game-play-with-relations.dto.factory"; import { createFakeGameAdditionalCard } from "@tests/factories/game/schemas/game-additional-card/game-additional-card.schema.factory"; import { createFakeGameOptions } from "@tests/factories/game/schemas/game-options/game-options.schema.factory"; -import { createFakeFoxGameOptions, createFakePiedPiperGameOptions, createFakePrejudicedManipulatorGameOptions, createFakeRolesGameOptions } from "@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory"; +import { createFakeFoxGameOptions, createFakePiedPiperGameOptions, createFakePrejudicedManipulatorGameOptions, createFakeRolesGameOptions, createFakeSheriffGameOptions } from "@tests/factories/game/schemas/game-options/game-roles-options/game-roles-options.schema.factory"; import { createFakeGamePlayBigBadWolfEats, createFakeGamePlayCharmedMeetEachOther, createFakeGamePlayCupidCharms, createFakeGamePlayWolfHoundChoosesSide, createFakeGamePlayFoxSniffs, createFakeGamePlayDefenderProtects, createFakeGamePlayHunterShoots, createFakeGamePlayLoversMeetEachOther, createFakeGamePlayPiedPiperCharms, createFakeGamePlayScandalmongerMarks, createFakeGamePlayScapegoatBansVoting, createFakeGamePlaySeerLooks, createFakeGamePlaySheriffDelegates, createFakeGamePlaySheriffSettlesVotes, createFakeGamePlayStutteringJudgeChoosesSign, createFakeGamePlaySurvivorsElectSheriff, createFakeGamePlaySurvivorsVote, createFakeGamePlayThiefChoosesCard, createFakeGamePlayThreeBrothersMeetEachOther, createFakeGamePlayTwoSistersMeetEachOther, createFakeGamePlayWerewolvesEat, createFakeGamePlayWhiteWerewolfEats, createFakeGamePlayWildChildChoosesModel, createFakeGamePlayWitchUsesPotions } from "@tests/factories/game/schemas/game-play/game-play.schema.factory"; import { createFakeGame, createFakeGameWithCurrentPlay } from "@tests/factories/game/schemas/game.schema.factory"; import { createFakeCantVoteByScapegoatPlayerAttribute, createFakeCharmedByPiedPiperPlayerAttribute, createFakeDrankDeathPotionByWitchPlayerAttribute, createFakeDrankLifePotionByWitchPlayerAttribute, createFakeEatenByBigBadWolfPlayerAttribute, createFakeEatenByWerewolvesPlayerAttribute, createFakeEatenByWhiteWerewolfPlayerAttribute, createFakeInLoveByCupidPlayerAttribute, createFakePowerlessByAccursedWolfFatherPlayerAttribute, createFakePowerlessByElderPlayerAttribute, createFakePowerlessByFoxPlayerAttribute, createFakeProtectedByDefenderPlayerAttribute, createFakeScandalmongerMarkedByScandalmongerPlayerAttribute, createFakeSeenBySeerPlayerAttribute, createFakeSheriffBySheriffPlayerAttribute, createFakeSheriffBySurvivorsPlayerAttribute, createFakeWorshipedByWildChildPlayerAttribute } from "@tests/factories/game/schemas/player/player-attribute/player-attribute.schema.factory"; @@ -488,14 +488,15 @@ describe("Game Play Maker Service", () => { expect(mocks.playerKillerService.killOrRevealPlayer).toHaveBeenCalledExactlyOnceWith(players[0]._id, game, playerDeath); }); - it("should not prepend sheriff delegation game play when sheriff is not in the game.", async() => { + it("should not prepend sheriff settling tie in votes game play when sheriff is not in the game.", async() => { const players = [ createFakeSeerAlivePlayer(), createFakeScandalmongerAlivePlayer(), createFakeWerewolfAlivePlayer(), createFakeWerewolfAlivePlayer(), ]; - const game = createFakeGameWithCurrentPlay({ players }); + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes(); mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); await services.gamePlayMaker["handleTieInVotes"](game); @@ -503,14 +504,31 @@ describe("Game Play Maker Service", () => { expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game); }); - it("should not prepend sheriff delegation game play when sheriff is dead.", async() => { + it("should not prepend sheriff settling tie in votes game play when sheriff is dead.", async() => { const players = [ createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }), createFakeScandalmongerAlivePlayer(), createFakeWerewolfAlivePlayer(), createFakeWerewolfAlivePlayer(), ]; - const game = createFakeGameWithCurrentPlay({ players }); + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); + const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes(); + mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); + await services.gamePlayMaker["handleTieInVotes"](game); + + expect(mocks.gameMutator.prependUpcomingPlayInGame).not.toHaveBeenCalledExactlyOnceWith(gamePlaySheriffSettlesVotes, game); + }); + + it("should not prepend sheriff settling tie in votes game play when game options don't allow it.", async() => { + const players = [ + createFakeSeerAlivePlayer({ isAlive: false, attributes: [createFakeSheriffBySurvivorsPlayerAttribute()] }), + createFakeScandalmongerAlivePlayer(), + createFakeWerewolfAlivePlayer(), + createFakeWerewolfAlivePlayer(), + ]; + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: false }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes(); mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); await services.gamePlayMaker["handleTieInVotes"](game); @@ -525,7 +543,8 @@ describe("Game Play Maker Service", () => { createFakeWerewolfAlivePlayer(), createFakeWerewolfAlivePlayer(), ]; - const game = createFakeGameWithCurrentPlay({ players }); + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); const gamePlaySheriffSettlesVotes = createFakeGamePlaySheriffSettlesVotes(); mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); await services.gamePlayMaker["handleTieInVotes"](game); @@ -540,7 +559,8 @@ describe("Game Play Maker Service", () => { createFakeWerewolfAlivePlayer(), createFakeWerewolfAlivePlayer(), ]; - const game = createFakeGameWithCurrentPlay({ players }); + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES }); mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); await services.gamePlayMaker["handleTieInVotes"](game); @@ -555,7 +575,8 @@ describe("Game Play Maker Service", () => { createFakeWerewolfAlivePlayer(), createFakeWerewolfAlivePlayer(), ]; - const game = createFakeGameWithCurrentPlay({ players }); + const options = createFakeGameOptions({ roles: createFakeRolesGameOptions({ sheriff: createFakeSheriffGameOptions({ mustSettleTieInVotes: true }) }) }); + const game = createFakeGameWithCurrentPlay({ players, options }); mocks.gameMutator.prependUpcomingPlayInGame.mockReturnValue(game); const gamePlaySurvivorsVote = createFakeGamePlaySurvivorsVote({ cause: GamePlayCauses.PREVIOUS_VOTES_WERE_IN_TIES, occurrence: GamePlayOccurrences.CONSEQUENTIAL }); await services.gamePlayMaker["handleTieInVotes"](game);